Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Frank Shearar
On 15 January 2012 04:22, Gerry Weaver ger...@compvia.com wrote: 2. I don't think the image concept works in the current world. I realize there are many folks who would argue this to death, but the fact is that it hinders adoption. I believe it would be better to focus on a robust full

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Stefan Marr
Hi: On 15 Jan 2012, at 09:53, Frank Shearar wrote: On 15 January 2012 04:22, Gerry Weaver ger...@compvia.com wrote: * a TCP-based interface in the Smalltalk image Okay.. I've dug my foxhole and I'm in it with my helmet on. Fire away! I hope you guys are aware of Spoon:

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Lawson English
Ironically, almost every newbie smalltalk programmer I know LIKES the IDE and thinks it is better than anything out there. BTW, if you want to see how smalltalk can be used as an embedded language, like at f-script... whose IDE, which everyone who uses it, loves, is very much a standard

Re: [Pharo-project] Preparing 1.4 beta

2012-01-15 Thread Stéphane Ducasse
On Jan 13, 2012, at 11:14 PM, Henrik Johansen wrote: On Jan 13, 2012, at 9:44 30PM, Stéphane Ducasse wrote: (but have a backwards-compatible external package) I think that it will be difficult enough to swap the two events notification systems and that we will not make a backward

Re: [Pharo-project] [Pharo-users] OCompletion configuration for 1.4

2012-01-15 Thread Stéphane Ducasse
Thanks thanks thanks and … thanks Stef On Jan 13, 2012, at 10:53 PM, Mariano Martinez Peck wrote: Thanks Guille. It works perfect. I have just commited a small fix in Ocompletion-MarianoMartinezPeck.114 ;) cheers On Fri, Jan 13, 2012 at 10:34 PM, Igor Stasenko siguc...@gmail.com wrote:

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Frank Shearar
On 15 January 2012 09:08, Stefan Marr smallt...@stefan-marr.de wrote: Hi: On 15 Jan 2012, at 09:53, Frank Shearar wrote: On 15 January 2012 04:22, Gerry Weaver ger...@compvia.com wrote: * a TCP-based interface in the Smalltalk image Okay.. I've dug my foxhole and I'm in it with my helmet

Re: [Pharo-project] What is the difference between ActionSequence and WeakActionSequence

2012-01-15 Thread Stéphane Ducasse
Ah yeas now I remember this is event raising when:to:do:… Yet another thing unused but not totally and probably a bit shaky. Some points for the future: - I do not understand why this is not packaged with EventManager - We want to remove DependentFields from Object like in CUIS

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Frank, I have a minor nit here: it's not an image that's the problem, it's living in the image.  Yes. This is pretty much what I was thinking about. Thanks for the clarification. Lisps are image-based systems, but one tends to construct one's working image from a base image + extras.

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Frank Shearar
On 15 January 2012 09:40, Gerry Weaver ger...@compvia.com wrote: Hi Frank, I have a minor nit here: it's not an image that's the problem, it's living in the image. Yes. This is pretty much what I was thinking about. Thanks for the clarification. Lisps are image-based systems, but one

Re: [Pharo-project] SmallLint

2012-01-15 Thread Lukas Renggli
One could also think on how to efficiently visualize the results of smallLint ... See for example the SmallLint results of Seaside 3.0 run by Jenkins: http://jenkins.lukas-renggli.ch/job/Seaside%203.0/791/checkstyleResult/. How simon can help concretely? Make it possible so that code

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Lawson, Ironically, almost every newbie smalltalk programmer I know LIKES the IDE and thinks it is better than anything out there.  I think this would largely depend on your background and experience. There is a whole class of developers that refuse to use anything, but vi and emacs. Once

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Andreas Wacknitz
Am 15.01.2012 um 05:22 schrieb Gerry Weaver: Hello All, First, let me apologize for starting the Delphi thing. I only mentioned it as an example IDE layout. I was not trying to say that the internal workings of it were good, bad, or indifferent. I have spent some time playing around

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Andreas Wacknitz
Am 15.01.2012 um 11:16 schrieb Gerry Weaver: Hi Lawson, Ironically, almost every newbie smalltalk programmer I know LIKES the IDE and thinks it is better than anything out there. I think this would largely depend on your background and experience. There is a whole class of developers

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Andreas, Proposals like yours aren't new. In fact there are also complementary proposals like give up that strange syntax and introduce curly braces Combined that will lead to either C# or Java.  I am not advocating any changes to the language. From your ideas I only like the

[Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Max Leske
Hey guys I'm having a problem with Socket / SocketStream. When I know that the next packet of data from the server is going to be 10'000 bytes I want to ask the socket for exactly 10'000 bytes of data (I don't care how long it takes). However, the comments in the Socket class suggest that the

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Andreas, you are always writing Smalltalk IDE. Which Smalltalk variants do you know? Squeak and Pharo are not the only ones. There are some others, some commercial and some free. If you haven't any experiences with them yet you should at least have a look at them. I have looked at Squeak,

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Max Leske
Sorry, forget what I just wrote… I found the bug in my code. Should have checked if the connection is still open :-/ Cheers, Max On 15.01.2012, at 12:09, Max Leske wrote: Hey guys I'm having a problem with Socket / SocketStream. When I know that the next packet of data from the server

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Andreas Wacknitz
Am 15.01.2012 um 12:11 schrieb Gerry Weaver: Hi Andreas, you are always writing Smalltalk IDE. Which Smalltalk variants do you know? Squeak and Pharo are not the only ones. There are some others, some commercial and some free. If you haven't any experiences with them yet you should at

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hello All, I think I have delivered the message that I intended to. Perhaps this thread has run it's course. I appreciate y'all taking the time to respond. The information you provided has been helpful. I have taken another look at the Smalltalk XY project. It pretty much does everything I

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Andreas,   I am not comfortable with the idea to write parts of an application in different languages. Typically the disadvantages overweigh the advantages to do so as you would have different languages and systems to master and update. Interoperability with other systems and languages

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Alexandre Bergel
Everything depends on what do you need Smalltalk for. Pharo fits my need perfectly. The image and having the IDE running in the same memory than the application are the most important assets for what I use Smalltalk everyday. It is like saying that a particular place X is the best place to go

[Pharo-project] Method recategorization proposal for TestCase class

2012-01-15 Thread Nicolás Paez
Hi people, I was trying to measure coverage of my code and I realized the method *TestCase classpackageNamesUnderTest* belogs to a category called **sunitgui*, *shouldn't it belong to coverage category?* I was about opening an issue for this, but I wanted to check it first because maybe there is

Re: [Pharo-project] Method recategorization proposal for TestCase class

2012-01-15 Thread Alexandre Bergel
I was trying to measure coverage of my code http://hapao.dcc.uchile.cl Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.

Re: [Pharo-project] Bug in pharo image

2012-01-15 Thread Garret Raziel
Anyone cares?

Re: [Pharo-project] Bug in pharo image

2012-01-15 Thread Alexandre Bergel
?? What is your email about? Alexandre On 15 Jan 2012, at 11:51, Garret Raziel wrote: Anyone cares? -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Andreas Wacknitz
Am 15.01.2012 um 13:55 schrieb Gerry Weaver: Hi Andreas, I am not comfortable with the idea to write parts of an application in different languages. Typically the disadvantages overweigh the advantages to do so as you would have different languages and systems to master and update.

Re: [Pharo-project] Method recategorization proposal for TestCase class

2012-01-15 Thread Lukas Renggli
#packageNamesUnderTest is only called from *sunitgui. In fact there should be no such method in TestCase class at all. In my image there is none. Lukas On 15 January 2012 15:36, Nicolás Paez nicop...@gmail.com wrote: Hi people, I was trying to measure coverage of my code and I realized the

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Frank Shearar
On 15 January 2012 12:23, Gerry Weaver ger...@compvia.com wrote: Hello All, I think I have delivered the message that I intended to. Perhaps this thread has run it's course. I appreciate y'all taking the time to respond. The information you provided has been helpful. I have taken another look

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Frank Shearar
On 15 January 2012 14:08, Alexandre Bergel alexandre.ber...@me.com wrote: Everything depends on what do you need Smalltalk for. Pharo fits my need perfectly. The image and having the IDE running in the same memory than the application are the most important assets for what I use Smalltalk

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Lukas Renggli
if the Cusp folks can have an Eclipse plugin using swank to talk to an SBCL image, I see no impediment to doing the same for Smalltalk: swank provides a common image-side adapter, and to that you can attach your Eclipse, IntelliJ, emacs... or just a plain old SSH connection. Some Smalltalk

Re: [Pharo-project] Bug in pharo image

2012-01-15 Thread Max Leske
I see the problem but I wouldn't know who's responsible. ConnectionQueuelisteLoop contains the following line: newConnection := socket waitForConnectionFor: 10 newConnection is later sent the message #isConnected. The problem is that SocketwaitForConnectionFor: answers true and not a

Re: [Pharo-project] Bug in pharo image

2012-01-15 Thread Stéphane Ducasse
Can you open a bug entry with code showing the problem? Now this is not that we do not care but we are busy taking care of family, team, business….. Stef On Jan 14, 2012, at 10:34 PM, Garret Raziel wrote: Hi, I think I found bug in pharo image. I would post it in bug tracker but I don't

[Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stefan Marr
Hi: When refactoring code, I frequently try to find all places where a class is instantiated. Is there anything in the image which would work a bit more precise than a search for the class name in the finder? Thanks Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Lukas Renggli
Depends on how you use your classes. If you have have a finite set of constructor methods you can use 'Refactor Search code...' with something like this: RBParseTreeSearcher new matches: 'PluggableButtonMorph on: `@.arg1' do: [ :node :answer | node ]; matches:

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stefan Marr
Hi Lukas: On 15 Jan 2012, at 17:46, Lukas Renggli wrote: Depends on how you use your classes. If you have have a finite set of constructor methods you can use 'Refactor Search code...' with something like this: RBParseTreeSearcher new matches: 'PluggableButtonMorph on: `@.arg1'

Re: [Pharo-project] Bug in pharo image

2012-01-15 Thread Garret Raziel
Ok, I will open the bug. I didn't mean it bad, I just only wanted to know if it isn't inappropriate to post about bug in mailinglist. Jan

[Pharo-project] Speeding up Finder string search

2012-01-15 Thread Stefan Marr
Hi: The finder is annoyingly slow when doing string searches. Compared to a 'grep' its multiple magnitudes slower, at least from my perception :( Profiling pointed my at RemoteStringstring and its use of readOnlyCopy on the SourceFiles. I put a cache of these read only files into

Re: [Pharo-project] executing a script in headless mode?

2012-01-15 Thread Camillo Bruni
Update, we fixed the issue :) http://code.google.com/p/pharo/issues/detail?id=5175 best cami On 2012-01-14, at 22:29, Bernardo Ezequiel Contreras wrote: i try it again with the last image #14283 and it doesn't work On Sat, Jan 14, 2012 at 4:12 PM, Sven Van Caekenberghe s...@beta9.be

[Pharo-project] [COTDC] 105 - ZipConstants

2012-01-15 Thread sean
104 classes done 793 classes remaining Continuing in Compression... Today: ZipConstants Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s). #2: If you cannot comment

Re: [Pharo-project] Speeding up Finder string search

2012-01-15 Thread Benjamin
Thanks for having a look at this problem. With Camillo, we though about using parallel processes but never go further than an idea :) Ben On Jan 15, 2012, at 6:11 PM, Stefan Marr wrote: Hi: The finder is annoyingly slow when doing string searches. Compared to a 'grep' its multiple

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stéphane Ducasse
But I imagine that you can find these just looking at the users of the classes. The strength of RBPaserTreeSearcher is when you want to get a specific method invocation and rewrite it. Stefan why Shift+N is not enough for you? Stef Depends on how you use your classes. If you have have a

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stefan Marr
Hi: On 15 Jan 2012, at 19:06, Stéphane Ducasse wrote: Stefan why Shift+N is not enough for you? Shift+N? I assume you refer to cmd+n on a Mac, which gives me all senders. Well, senders of #new is not exactly helpful. Best regards Stefan -- Stefan Marr Software Languages Lab Vrije

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Mariano Martinez Peck
On Sun, Jan 15, 2012 at 7:10 PM, Stefan Marr smallt...@stefan-marr.dewrote: Hi: On 15 Jan 2012, at 19:06, Stéphane Ducasse wrote: Stefan why Shift+N is not enough for you? Shift+N? I assume you refer to cmd+n on a Mac, which gives me all senders. No. cmd + shift + n gives you the list

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Lukas Renggli
I've added a refactoring scope 'Refactoring Scope Instantiations' that finds all the places where a method is sent to the selected class that eventually ends up in #basicNew or #basicNew:. If you don't use reflection this gives better and less false-positives than just the class references.

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Igor Stasenko
just keep in mind that some classes do not instantiating using #new -- Best regards, Igor Stasenko.

Re: [Pharo-project] executing a script in headless mode?

2012-01-15 Thread Bernardo Ezequiel Contreras
Great!. verified in 14284 Thanks On Sun, Jan 15, 2012 at 2:29 PM, Camillo Bruni camillo.br...@inria.frwrote: Update, we fixed the issue :) http://code.google.com/p/pharo/issues/detail?id=5175 best cami On 2012-01-14, at 22:29, Bernardo Ezequiel Contreras wrote: i try it again with

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Igor Stasenko
Guys, the best thing what can be done is to sit and write down new GUI/IDE/remote tools/whatever will make your joy with smalltalk greater. Talking endlessly how better it would be if there be ... is just waste of time. my 2 cents. -- Best regards, Igor Stasenko.

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stefan Marr
On 15 Jan 2012, at 19:29, Mariano Martinez Peck wrote: No. cmd + shift + n gives you the list of references to a class. Thanks, that one is useful. Best regards Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Schwab,Wilhelm K
Max, I wouldn't forget it too soon. Streams should work as advertised or raise an error. My (compromise) proposal remains as follows: http://code.google.com/p/pharo/wiki/StreamsForRobustSoftware Bill From:

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stéphane Ducasse
I've added a refactoring scope 'Refactoring Scope Instantiations' that finds all the places where a method is sent to the selected class that eventually ends up in #basicNew or #basicNew:. If you don't use reflection this gives better and less false-positives than just the class references.

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Stéphane Ducasse
No. cmd + shift + n gives you the list of references to a class. Thanks, that one is useful. I use it al the time :) I would hate to open the finder all the time.

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Stéphane Ducasse
On Jan 15, 2012, at 8:10 PM, Schwab,Wilhelm K wrote: Max, I wouldn't forget it too soon. Streams should work as advertised or raise an error. My (compromise) proposal remains as follows: http://code.google.com/p/pharo/wiki/StreamsForRobustSoftware Yes :) I know. Bill

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Max Leske
Good to know, that you're working on it. Took me a while to figure out that #next: would not fill the entiry buffer... Unfortunately, I wasn't able to resolve my afore mentioned problem completely. To make things easier, I sent #upToEnd to my SocketStream, expecting to get all the data (and

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Sven Van Caekenberghe
On 15 Jan 2012, at 21:19, Max Leske wrote: Camillo is now looking into ithe SocketStream stuff but if any of you have a clue what could be going on, I'd appreciate your help. Have a look at Zodiac too, although it is an implementation of a secure socket stream, it also contains different

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Max Leske
Thanks Sven, I'll give it a shot. Max On 15.01.2012, at 21:26, Sven Van Caekenberghe wrote: On 15 Jan 2012, at 21:19, Max Leske wrote: Camillo is now looking into ithe SocketStream stuff but if any of you have a clue what could be going on, I'd appreciate your help. Have a look at

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Stéphane Ducasse
On Jan 15, 2012, at 9:19 PM, Max Leske wrote: Good to know, that you're working on it. Took me a while to figure out that #next: would not fill the entiry buffer… I'm not. I just know that bill tried to explain to us what was the problem :) and since the emails/sentences were too long or

Re: [Pharo-project] Finding all places where a class is instantiated?

2012-01-15 Thread Lawson English
Don't all eventually use #basicNew ? On 1/15/12 11:39 AM, Igor Stasenko wrote: just keep in mind that some classes do not instantiating using #new

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Lawson English
A remote squeak image that is used to handle OpenGL calls (or other external lib calls) and pass error codes back to the main IDE might be useful for OpenGL (or other external lib) debugging. VM support could be made so that error checking could be handled below the level of the interpreter

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread blake
On Sat, Jan 14, 2012 at 8:22 PM, Gerry Weaver ger...@compvia.com wrote: First, let me apologize for starting the Delphi thing. I only mentioned it as an example IDE layout. I was not trying to say that the internal workings of it were good, bad, or indifferent. I think there's a lot to be

[Pharo-project] [ANN] Amber Smalltalk 0.9.1 is out!

2012-01-15 Thread Nicolas Petton
About 4 moons have passed and Amber - the Smalltalk for the web - has during that time moved forward quite a lot. Since the 0.9 release back in september we have made about 250 commits and closed 52 issues of about 75 reported during these months. Now with over 43 forks on github and more than

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Jimmie Houchin
On 1/15/2012 6:55 AM, Gerry Weaver wrote: Hi Andreas, I am not comfortable with the idea to write parts of an application in different languages. Typically the disadvantages overweigh the advantages to do so as you would have different languages and systems to master and update.

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-15 Thread Schwab,Wilhelm K
I don't just write English, I also write Smalltalk :) I had put some related code on SqueakMap, but I suspect it disappeared in one of the meltdowns. It also picked up some code that I had not intended to release, which led me to be unhappy with http repositories. The code varies in quality,

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Gerry Weaver
Hi Jimmie, Good stuff!! Thanks so much for taking the time to read and reply to my post. Any and all feedback is welcome and appreciated. Thanks Again, Gerry -Original Message- From: Jimmie Houchin jlhouc...@gmail.com To: pharo-project@lists.gforge.inria.fr Date: 01/15/12

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-15 Thread Sven Van Caekenberghe
+100 On 16 Jan 2012, at 02:44, Jimmie Houchin wrote: On 1/15/2012 6:55 AM, Gerry Weaver wrote: Hi Andreas, I am not comfortable with the idea to write parts of an application in different languages. Typically the disadvantages overweigh the advantages to do so as you would have different

Re: [Pharo-project] [Iliad] [ANN] Amber Smalltalk 0.9.1 is out!

2012-01-15 Thread laurent laffont
Nice work guys ! Laurent On Mon, Jan 16, 2012 at 1:06 AM, Nicolas Petton petton.nico...@gmail.comwrote: About 4 moons have passed and Amber - the Smalltalk for the web - has during that time moved forward quite a lot. Since the 0.9 release back in september we have made about 250 commits