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
+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,
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
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
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
+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
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
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
+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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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:
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
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
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
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:
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?
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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,
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
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
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
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:
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
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
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,
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
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
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]
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
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
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
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
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
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
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
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
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])
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
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.
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
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
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
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
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
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
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
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
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
+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
83 matches
Mail list logo