Re: [Pharo-project] host menu sends deprecated author method

2009-08-14 Thread Adrian Lienhard
I fixed this in #10414 but forgot to mention. As a side note, when making a method obsolete, it would be good to check the senders in the image and fix them at the same time... There are also obsolete sends in cleanUpForRelease that are not fixed yet. Cheers, Adrian On Aug 14, 2009, at

Re: [Pharo-project] question on browser buttons

2009-08-14 Thread Adrian Lienhard
+1 (They are like this in the latest Pharo image (not Pharo-core)). Adrian On Aug 14, 2009, at 01:29 , csra...@bol.com.br wrote: I don't see these... which image version and which System Browser are you using? Em 13/08/2009 20:19, Michael Roberts m...@mjr104.co.uk escreveu: folks,

Re: [Pharo-project] Smalltalk Complex

2009-08-14 Thread Igor Stasenko
2009/8/14 Ken.Dickey ken.dic...@whidbey.com: Coming from Scheme and Lisp, where (sqrt -4) is expected to work, I was surprised to find it broken in Squeak when I first tried it out.  [Some years ago now]. It works in Squeak. And result of -4 sqrt is signaling an FloatingPointException with

Re: [Pharo-project] OBDependencyWalker for Pharo

2009-08-14 Thread Stéphane Ducasse
apparently there was a change in OB and it would be good to understand because we have some open issues that are related to that. Stef Oh, that page was obsolete sorry about that, working with PHP pages is so... fuckin horrible! However that's not the issue here. I need to do a little

Re: [Pharo-project] Help on Polymorph [was How to build a GUI]

2009-08-14 Thread Stéphane Ducasse
On Aug 14, 2009, at 7:00 AM, Brian Brown wrote: On Aug 13, 2009, at 2:49 PM, Stéphane Ducasse wrote: But you know you can also propose a solution with code. :) Take DrDoc and improve it. I agree more than 200% with you but my day job in not improving pharo or squeak. Pharo is a nice

Re: [Pharo-project] question on browser buttons

2009-08-14 Thread Stéphane Ducasse
+1 On Aug 14, 2009, at 8:23 AM, Adrian Lienhard wrote: +1 (They are like this in the latest Pharo image (not Pharo-core)). Adrian On Aug 14, 2009, at 01:29 , csra...@bol.com.br wrote: I don't see these... which image version and which System Browser are you using? Em 13/08/2009

Re: [Pharo-project] Question about MD5

2009-08-14 Thread Henrik Johansen
I added a version to the issue which is almost 2x faster (for large ByteArrays at least). I'm not sure if the needs of DBX are such that the performance increase can justify the added uglyness (using to:do: instead of do: ), but it'd be nice if you would have a look. Cheers, Henry On Aug

Re: [Pharo-project] OBDependencyWalker for Pharo

2009-08-14 Thread Hernán Morales Durand
Ok, I found this could be related with an OB installation using this script: http://code.google.com/p/pharo/wiki/ImageBuildScripts I've loaded AST, Refactoring, OmniBrowser and Tools. Then loaded the DependencyBrowser, selected a package and gotcha, the #theClass MNU was raised. However I wasn't

Re: [Pharo-project] question on browser buttons

2009-08-14 Thread Mariano Martinez Peck
+1 On Fri, Aug 14, 2009 at 7:22 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: +1 On Aug 14, 2009, at 8:23 AM, Adrian Lienhard wrote: +1 (They are like this in the latest Pharo image (not Pharo-core)). Adrian On Aug 14, 2009, at 01:29 , csra...@bol.com.br wrote: I

Re: [Pharo-project] Smalltalk Complex

2009-08-14 Thread Schwab,Wilhelm K
Very well said. -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Igor Stasenko Sent: Friday, August 14, 2009 1:28 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Smalltalk

Re: [Pharo-project] Question about MD5

2009-08-14 Thread Mariano Martinez Peck
2009/8/14 Henrik Johansen henrik.s.johan...@veloxit.no I added a version to the issue which is almost 2x faster (for large ByteArrays at least). I'm not sure if the needs of DBX are such that the performance increase can justify the added uglyness (using to:do: instead of do: ), but it'd be

Re: [Pharo-project] Question about MD5

2009-08-14 Thread Henrik Johansen
Strange, retested now. With .cs from 1065 also installed I got (first result with what I posted): Time millisecondsToRun: [500 timesRepeat: [largestByteArray hex]] 23267 32033 and without it: Time millisecondsToRun: [500 timesRepeat: [largestByteArray hex]] 38877 50751 Guess I tested

Re: [Pharo-project] Help on Polymorph [was How to build a GUI]

2009-08-14 Thread Alexandre Bergel
Is DrDoc on SqueakSource? I'll take a look. Yes I would be more than happy if someone could take the lead there. I could embed images (UML diagram). It could maybe be used with Mondrian :-) Alexandre - Brian Stef So far we should invent it. And I totally agree with you. If

[Pharo-project] [Fix] Call initialsPerSe in isHarvester

2009-08-14 Thread Alexandre Bergel
Issue #1070 initialsPerSe is a deprecated method. When opening an image, a deprecated error shows up. Author uniqueInstance fullNamePerSe should be used in instead. The following .cs fixes this. On google code Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre

Re: [Pharo-project] [Fix] Call initialsPerSe in isHarvester

2009-08-14 Thread Adrian Lienhard
This is already fixed (see my mail from this morning regarding issue #1069). Cheers, Adrian On Aug 14, 2009, at 17:01 , Alexandre Bergel wrote: Issue #1070 initialsPerSe is a deprecated method. When opening an image, a deprecated error shows up. Author uniqueInstance fullNamePerSe should

Re: [Pharo-project] [Fix] Call initialsPerSe in isHarvester

2009-08-14 Thread Alexandre Bergel
Ah sorry. I checked on google code for initialsPerSe and fullNamePerSe and I could not find it. Moreover, I did an update yesterday and I still had the error. Cheers, Alexandre On 14 Aug 2009, at 11:13, Adrian Lienhard wrote: This is already fixed (see my mail from this morning regarding

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Ken.Dickey
Schwab,Wilhelm K bsch...@anest.ufl.edu A 2-10x performance hit is all the more reason why such a creation should be dormant unless specifically invoked - translation, no coercion into the controversial type.  While there are uses for systems that are smart enough to give exact answers, most

Re: [Pharo-project] # if at first you dont succeed..

2009-08-14 Thread Ken.Dickey
Schwab,Wilhelm K bsch...@anest.ufl.edu Treating reals as complex (giving them a zero imaginary part) is a bad idea.   Reasons include: (1) need float and double for FFI ?? (2) compatibility with other dialects Squeak and Pharo already have some invompatabilities (e.g. not requiring

Re: [Pharo-project] # if at first you dont succeed..

2009-08-14 Thread Schwab,Wilhelm K
Ken, You seem determined to have the behavior of Float change when the complex package is installed, and there are various objections to that from multiple people; those objections are well founded. Bill -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
Ken, All of us will welcome something that can do sophisticed mathematics, provided it does not break the base system when installed, and has no/limited runtime penalty when not needed. Bill -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr

[Pharo-project] Fonts

2009-08-14 Thread Alexandre Bergel
Dear List, In a core 10401, I copied the Font folder next to the image. When I open the font chooser, one 'Accuny' is listed. Apparently, the font folder is not scanned. Is there a way to enforce this? Few release earlier, the following expression worked as expected:

[Pharo-project] Incompatibilities was: # if at first you dont succeed..

2009-08-14 Thread Daniel P Zepeda
On Aug 14, 2009, at 10:38 AM, Ken.Dickey wrote: Squeak and Pharo already have some invompatabilities (e.g. not requiring #initialize after #new). I'm sort of a newbie, can you elaborate on not requiring #initialize after #new somewhat, or point me to where it is documented, I searched

Re: [Pharo-project] Incompatibilities was: # if at first you dont succeed..

2009-08-14 Thread Michael Roberts
A default implementation of new on the class sends initialize to the instance by default. All you need to do is implement the initialize method if you want to. Cheers mike On Friday, August 14, 2009, Daniel P Zepeda dan...@zepeda.ws wrote: On Aug 14, 2009, at 10:38 AM, Ken.Dickey wrote:

Re: [Pharo-project] Incompatibilities was: # if at first you dont succeed..

2009-08-14 Thread Schwab,Wilhelm K
A newbie - welcome! We're always happy to spread the addiction. To find out for yourself, do this: 1) open a workspace, type Object new. 2) select the new text, right click and choose debug-it 3) step into #new, and note that it take you to ^self basicNew initialize At the risk

Re: [Pharo-project] Incompatibilities was: # if at first you dont succeed..

2009-08-14 Thread Igor Stasenko
and besides, one could always redefine #new in subclasses to avoid calling #initialize 2009/8/14 Schwab,Wilhelm K bsch...@anest.ufl.edu: A newbie - welcome!  We're always happy to spread the addiction.  To find out for yourself, do this:  1) open a workspace, type Object new.  2) select the

[Pharo-project] combo box?

2009-08-14 Thread Gabriel Brunstein
anybody know how to do a combo box in pharo? any example to look? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Fonts

2009-08-14 Thread Mariano Martinez Peck
Alex: I don't know if I understand you, but FreeType has to scan for new installed or removed fonts. In the beginning this was done when the image was open. But as this takes several seconds and this were not something very common, it was removed from startup. However, as you can read here:

Re: [Pharo-project] combo box?

2009-08-14 Thread Mariano Martinez Peck
See this: UITheme exampleBasicControls. UITheme exampleColorControls. UITheme exampleDialogs. UITheme exampleGroups. UITheme exampleOtherControls. UITheme exampleWindowWithToolbars. 2009/8/14 Gabriel Brunstein gab...@gmail.com anybody know how to do a combo box in pharo? any example to look?

Re: [Pharo-project] combo box?

2009-08-14 Thread Gabriel Brunstein
cool!Gracias! (thanks!) On Fri, Aug 14, 2009 at 3:01 PM, Mariano Martinez Peck marianop...@gmail.com wrote: See this: UITheme exampleBasicControls. UITheme exampleColorControls. UITheme exampleDialogs. UITheme exampleGroups. UITheme exampleOtherControls. UITheme

Re: [Pharo-project] OBDependencyWalker for Pharo

2009-08-14 Thread csrabak
Yes I urge you to consider a Smalltalk based alternative :-D (having friends that like several alternatives I'll note mention any in particular [but see: one them run in Pharo ;-) ]) OK, I'll wait patiently as a Tibetan monk :-) Regards, Em 14/08/2009 00:41, Hernán Morales Durand

Re: [Pharo-project] OBDependencyWalker for Pharo

2009-08-14 Thread csrabak
Hernán, I also don't have the expertise to debug it, but could you get more info if you put a #theClass method in OBClassSort with a sefl halt on it? It will avoid the sending of messages upstream in the "food chain"... Em 14/08/2009 09:05, Hernán Morales Durand hernan.mora...@gmail.com

Re: [Pharo-project] # if at first you dont succeed..

2009-08-14 Thread csrabak
Ken, I think I can see your point, but I propose you a practical experiment. In your Pharo image on the Workspace do it: -1 inspect You should get a SmallInteger.  Now SmallInteger behaviour is flag as error when you attempt sqrt on it.  Complex introduction on the image should not silently change

Re: [Pharo-project] combo box?

2009-08-14 Thread csrabak
I vote this to be put as an answer to FAQ! Em 14/08/2009 15:01, Mariano Martinez Peck marianop...@gmail.com escreveu: See this:UITheme exampleBasicControls. UITheme exampleColorControls.UITheme exampleDialogs.UITheme exampleGroups.UITheme exampleOtherControls.UITheme exampleWindowWithToolbars.

[Pharo-project] Networking - how much experience/testing is happening?

2009-08-14 Thread Schwab,Wilhelm K
Hello all, Are any of you doing extensive networking with Pharo? IMHO, Seaside connections to a local copy of apache does not really count, since it won't be as likely to see dropped connections and other challenges. I ask because I have LDAPlayer talking to UF's server, and had Pharo lock up

[Pharo-project] Question about Socket

2009-08-14 Thread Mariano Martinez Peck
Hi folks: I am preparing my SqueakDBX talk for ESUG and I am doing some comparisons between a database driver with an external library trough FFI and a native driver. I know FFI locks the VM until the function it is being invoked, finishes. But I don't know what happens with Sockets. Do sockets

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread John McIntosh
Why not have sqrt throw the exception and suggest that you could load the optional complex logic if you actual are working with complex numbers On 8/14/09, Schwab,Wilhelm K bsch...@anest.ufl.edu wrote: Ken, All of us will welcome something that can do sophisticed mathematics, provided it does

Re: [Pharo-project] combo box?

2009-08-14 Thread Mariano Martinez Peck
I don't have access there but I least I put them here: http://code.google.com/p/pharo/wiki/CodeSnippets 2009/8/14 csra...@bol.com.br I vote this to be put as an answer to FAQ! Em 14/08/2009 15:01, *Mariano Martinez Peck marianop...@gmail.com *escreveu: See this: UITheme

[Pharo-project] ORM for Pharo

2009-08-14 Thread Esteban A. Maringolo
My prototype is getting less proto, and I found out it doesn't have complex relations, and the system is going to perform faster if I have tables for most of it. What are the choices I have for doing ORM in Pharo? ¿Does GLORP work? ¿Any other options? I don't have a strong preference for the

[Pharo-project] SocketAddressprintOn: - a (potentially serious) defect?

2009-08-14 Thread Schwab,Wilhelm K
SocketAddressprintOn: looks like it does some questionable things, but I am fuzzy on what exactly is happening and what should be done about it. My thought would be that the address should have name and number aspects, that resolving would do the respective lookups, and that inspecting should

Re: [Pharo-project] Question about Socket

2009-08-14 Thread Schwab,Wilhelm K
Mariano, Sockets _should not_block the the entire image, but I have just seen it happen with LDAPlayer; I am not yet sure what to make of it. That said, there should be a way to block the UI until something happens, but that should not be done from the sockets layer, as too many things

Re: [Pharo-project] ORM for Pharo -- ½ OFF

2009-08-14 Thread csrabak
Esteban, I'm comenting this on philosophical grounds. I understand the efforts to have SqueakDBX and other ORM in Pharo are motivated by Seaside and other "production" initiatives so, again, my food for thought is more an intellectual contribution which I see as useful for Pharo as project: I

[Pharo-project] Newbie new initialize [WAS: Incompatibilities was: # if at first you dont succeed..]

2009-08-14 Thread Ken.Dickey
I highly recommend _Squeak by Example_. My recollection (highly suspect) is that they refer to the base change which added #initialize. http://squeakbyexample.org/ Good on you, -KenD ___ Pharo-project mailing list

[Pharo-project] Mouse does not find matching when closing paren is immediately following single quotes

2009-08-14 Thread csrabak
Be it in the Workspace or a System Browser pane if you have: #('something'1 2 3 'nothing') "exactly this way" if you (red) click the left paren all the parenthesis contents get highlited, however, if you click the right paren, then no highlit happens.  You've to put a space between the quote, so

Re: [Pharo-project] ORM for Pharo -- ½ OFF

2009-08-14 Thread Mariano Martinez Peck
2009/8/14 csra...@bol.com.br Esteban, I'm comenting this on *philosophical* grounds. I understand the efforts to have SqueakDBX and other ORM in Pharo are motivated by Seaside and other production initiatives so, again, my food for thought is more an intellectual contribution which I see

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
John, That is not far from the eveolving conscensous opinion - I think we can indeed claim to have a collective desire to leave integers and floats as they are. One concern I have about your suggestion is what happens when the user loads the complex package? Does existing code break? It

Re: [Pharo-project] ORM for Pharo -- ½ OFF

2009-08-14 Thread csrabak
Mariano, I agree (and I myself have been on the Research side getting answers similar to those ones) in fact I'll add another item to your list: -- They have an "architectural steering committee" that dictates use of some RDBS I've seen this even requiring some ERP used different database engine

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread csrabak
Wilhelm, In adition to the consensus about Complex, I would like to add that from a Smalltalk language point of view FloatArray (and any ensuing specialized arrays, IntegerArray I can understand but can someone tell me what a heck is an KedamaFloatArray?? :-) ) are a specialization that are

Re: [Pharo-project] Create a changeset for an entire package?

2009-08-14 Thread Mariano Martinez Peck
Javier: You can use the change sorter which is in right button - tools - change sorter. There, in any of the panes you can see that there is a unnamed changeset with all of your changes. Then you can create a new changeset with right button - new changeset and put a name: change. Then you can

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
It looks like KedamaFloatArray is doing things that belong in FloatArray. A subclass would be approrpiate if the vector operations are unusual in some way; a quick glance suggests that they are pretty reasonable and unlikely to clash with other implemetations. Re any collection, any type,

Re: [Pharo-project] Create a changeset for an entire package?

2009-08-14 Thread Schwab,Wilhelm K
This sounds like something Monticello probably does. I **think** you could prepare an .mcz file and then others can place same in a repository, open that and browse the code w/o changing their image. I am striking out badly trying to find a quick place to test the idea, but perhaps an expert

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread csrabak
OK, I don't dispute the possible advantages of those specialized collections for certain problem domains (mainly due the need to FFI [a.k.a. "not reinvent the wheel]) and performance. BUT get a look on this: ia := IntegerArray new: 10.1 to: 10 do: [:i | ia at: i put: (1000 raisedTo: i)] In the

Re: [Pharo-project] Create a changeset for an entire package?

2009-08-14 Thread csrabak
Create a repo in your local disk and test your ideas as fast as they come! Em 14/08/2009 18:28, Schwab,Wilhelm K bsch...@anest.ufl.edu escreveu: This sounds like something Monticello probably does.   I **think** you could prepare an .mcz file and then others can place same in a repository,

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
Ok, but that is a somewhat extreme example. The real value of the typed array classes is to handle large arrays and often ones destined for crunching by external code. So, the numbers you describe would end up being floats, because a C based algorithm could no more write into them than

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread John M McIntosh
On 14-Aug-09, at 1:04 PM, Schwab,Wilhelm K wrote: John, That is not far from the eveolving conscensous opinion - I think we can indeed claim to have a collective desire to leave integers and floats as they are. One concern I have about your suggestion is what happens when the user

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread John M McIntosh
Kedama - A massively-parallel tile-scriptable particle system http://www.is.titech.ac.jp/~ohshima/squeak/kedama/ It's part of eToys, if ship the KedamaPlugin and KedamaPlugin2 plugins with the macintosh carbon VM *cough* if etoys is being eradicated then KedamaFloatArray should be on a list

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
That's fine, but there are times when one wants to treat float arrays are big vectors, doing scalar multiplication and vector arithmetic; the plugin looks useful for such things, but most of it should just be extra behavior in FloatArray. -Original Message- From:

Re: [Pharo-project] Create a changeset for an entire package?

2009-08-14 Thread Alexandre Bergel
Why not just to fileOut the package ? Alexandre On 14 Aug 2009, at 17:12, Mariano Martinez Peck wrote: Javier: You can use the change sorter which is in right button - tools - change sorter. There, in any of the panes you can see that there is a unnamed changeset with all of your

Re: [Pharo-project] Help on Polymorph [was How to build a GUI]

2009-08-14 Thread Stéphane Ducasse
would be nice to save a script and its png. Now can you have use relationships? Stef On Aug 14, 2009, at 4:53 PM, Alexandre Bergel wrote: Is DrDoc on SqueakSource? I'll take a look. Yes I would be more than happy if someone could take the lead there. I could embed images (UML diagram). It

Re: [Pharo-project] [Fix] Call initialsPerSe in isHarvester

2009-08-14 Thread Stéphane Ducasse
Strange are you sure that you really get the latest version ? Stef On Aug 14, 2009, at 5:25 PM, Alexandre Bergel wrote: Ah sorry. I checked on google code for initialsPerSe and fullNamePerSe and I could not find it. Moreover, I did an update yesterday and I still had the error. Cheers,

Re: [Pharo-project] # if at first you dont succeed..

2009-08-14 Thread Stéphane Ducasse
On Aug 14, 2009, at 5:38 PM, Ken.Dickey wrote: Squeak and Pharo already have some invompatabilities (e.g. not requiring #initialize after #new). I do agree that dialect compatibility is a good thing in general. no this is the same in squeak and pharo since 3.7 Stef

Re: [Pharo-project] SocketAddressprintOn: - a (potentially serious) defect?

2009-08-14 Thread Stéphane Ducasse
In general I favor subtyping versus subclassing. Now I do not know the exact advantage for address to be a subclass of bytestring. Stef On Aug 14, 2009, at 9:19 PM, Schwab,Wilhelm K wrote: SocketAddressprintOn: looks like it does some questionable things, but I am fuzzy on what exactly is

Re: [Pharo-project] SocketAddressprintOn: - a (potentially serious) defect?

2009-08-14 Thread Schwab,Wilhelm K
It was probably an expedient decision for FFT purposes. Dolphin defines a #asParameter on the corresponding class that answers the address/byte array aspect. -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr]

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread csrabak
OK. IIUC then any Number when stored in a Array of these will be copied and coerced to the specific type, is it right? Em 14/08/2009 18:54, Schwab,Wilhelm K bsch...@anest.ufl.edu escreveu: Ok, but that is a somewhat extreme example.  The real value of the typed array classes is to handle large

[Pharo-project] Completion works inside comments -- bug or feature?

2009-08-14 Thread csrabak
Is it intended that completion keeps trying to find method names when one is typing comments or strings (within "" and '' respectively)?   ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
It might generate an error vs. coerce, but the point is to compactly store an array of the indicated type. It's a lot like String vs. a collection of characters; both have their uses. From: pharo-project-boun...@lists.gforge.inria.fr

Re: [Pharo-project] Question about Socket

2009-08-14 Thread Schwab,Wilhelm K
Mariano, I might have walke into precisely the situation I was describing: maybe the IDE is blocking, not the socket. If so, I still end up wondering why cmd-. is of so little help?? Bill From: pharo-project-boun...@lists.gforge.inria.fr

Re: [Pharo-project] Completion works inside comments -- bug or feature?

2009-08-14 Thread Chris Cunningham
It is nice at times that this happens. If you have a comment in the method showing what it does (examples), the autocomplete is kind of nice while building those. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] # if at first you dont succeed..

2009-08-14 Thread kend
Schwab,Wilhelm K You seem determined to have the behavior of Float change when the complex package is installed, and there are various objections to that from multiple people; those objections are well founded. My interpretation of the responses I have received is Change breaks History, we

[Pharo-project] # if at first you dont succeed..

2009-08-14 Thread Ken.Dickey
On Aug 14, 2009, at 5:38 PM, Ken.Dickey wrote: Squeak and Pharo already have some incompatabilities (e.g. not requiring #initialize after #new). I do agree that dialect compatibility is a good thing in general. St?phane Ducasse stephane.duca...@inria.fr no this is the same in squeak and

Re: [Pharo-project] ORM for Pharo -- ½ OFF

2009-08-14 Thread Mariano Martinez Peck
2009/8/14 csra...@bol.com.br Mariano, I agree (and I myself have been on the Research side getting answers similar to those ones) in fact I'll add another item to your list: -- They have an architectural steering committee that dictates use of some RDBS I've seen this even requiring

Re: [Pharo-project] Networking - how much experience/testing ishappening?

2009-08-14 Thread Carlos Crosetti
With regards of your question about LDAP, if your expected result set is over 50 entries, add an or: block to check for result code == 4 in LDAP-Core class LDAPResult checkForExceptions (resultCode = 0 or: [resultCode = 4] or: [resultCode = 5] or: [resultCode = 6])

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Ken.Dickey
I have no power over Ken; he can build what he wants. I would like to see his energy directed toward creating something we can all use. I suggest a layered proposal on the wiki and up or down votes on what becomes part of Pharo. If the vote(s) split, we have benevolent dictators to sort it

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread John McIntosh
Yes but we usually don't do explicit casting Like 2 asFloat * 3.0 We could but where does the implicit type conversion lie? On 8/14/09, Schwab,Wilhelm K bsch...@anest.ufl.edu wrote: John, If I may be so presumptuous, the answer is to have people use #asComplex when they want complex results.

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread csrabak
That's why I suggest (once Complex be loaded) a flag something like Smalltalk complexResultsOn and its counterpart to turn off be used instead. Em 14/08/2009 20:53, John McIntosh john...@smalltalkconsulting.com escreveu: Yes but we usually don't do explicit casting Like 2 asFloat * 3.0We could

Re: [Pharo-project] Networking - how much experience/testing ishappening?

2009-08-14 Thread Schwab,Wilhelm K
Thanks for the suggestion, but it choked trying to get one entry. Just for laughs, I might try replacing the DelayWaitTimeout with a similar gizmo I made for Dolphin. It took a while, but I finally got it through SIF and into MC with all of its parts intact - I hope =:0 *If* there is

[Pharo-project] Class browser with changing title.

2009-08-14 Thread Javier Pimás
Thanks everybody for the answers of last post. Finally I used the technique Mariano recommended because it was just what I wanted. Here I'm proposing a really small change to the class browser so that whenever a class or method is selected it's title is changed accordingly. The title produced is

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Schwab,Wilhelm K
Ken, Sounds good. Again, I strongly suggest doing it in layers so that a base package can be installed without changing code that depends on current behavior. Then if you want to have another package on top of that to push the envelop, do so with our blessing. You might look at my proposal

Re: [Pharo-project] Question about Socket

2009-08-14 Thread Mariano Martinez Peck
Schwab: You were very clear and right. I also asked in squeak-dev and Andres Raab said: The socket interfaces are entirely asynchronous, i.e., there is no blocking. Sockets have semaphores associated with them that are signaled when anything interesting is happening. Check out methods like

Re: [Pharo-project] Class browser with changing title.

2009-08-14 Thread Mariano Martinez Peck
2009/8/14 Javier Pimás elpochodelage...@gmail.com Thanks everybody for the answers of last post. Finally I used the technique Mariano recommended because it was just what I wanted. I really like when I can help someone and then the thing that this folks was doing helps me :) Here I'm

[Pharo-project] [ANN] Fundamentals volume 1

2009-08-14 Thread Andres Valloud
Hello, I just published the 400 page book Fundamentals of Smalltalk Programming Technique, volume 1. To some extent it's fitting that I am publishing another book this time of the year. I started writing the Mentoring Course book (of which the Hash book was chapter 7) almost 4 years ago. The

Re: [Pharo-project] [ANN] Fundamentals volume 1

2009-08-14 Thread Henry Lenzi
On Fri, Aug 14, 2009 at 11:29 PM, Andres Valloudavall...@smalltalk.comcastbiz.net wrote: Hello, I just published the 400 page book Fundamentals of Smalltalk Programming Technique, volume 1. Great, congratulations. Is this specific to the Squeak/Pharo Smalltalk flavor? - Henry

Re: [Pharo-project] [ANN] Fundamentals volume 1

2009-08-14 Thread Andres Valloud
The content is pretty much dialect agnostic. It does reference VisualWorks every so often, but only for the sake of illustration. Henry Lenzi wrote: On Fri, Aug 14, 2009 at 11:29 PM, Andres Valloudavall...@smalltalk.comcastbiz.net wrote: Hello, I just published the 400 page book

Re: [Pharo-project] Complex number support discussion

2009-08-14 Thread Igor Stasenko
+1 no globals, please :) 2009/8/15 Schwab,Wilhelm K bsch...@anest.ufl.edu: I really do not like the flag idea, because it is global.  What if there are two phases to something, one that uses complex numbers, and one that does not?  Since the complex numbers are the far less likely be needed