Re: [Pharo-project] About float: new chapter looking for reader and contributors

2011-04-21 Thread Stéphane Ducasse
ok I will fix it :) On Apr 22, 2011, at 1:03 AM, Nicolas Cellier wrote: > 2011/4/19 Stéphane Ducasse : >> sadly >> >> after 10 min I could not find how to integrate your work. I hate this cool >> UI that are just plain confusing and totally inadapted. >> I have no idea how to do it. I will try

Re: [Pharo-project] Why errors are not logged in the Transcript?

2011-04-21 Thread csrabak
I disagree strongly. . . The transcript should maintain its purpose that is to show information 'intentionally' written to by the programmer. If we feel the debugger info should be saved in some other place we should consider an alternate way of saving it, including, perhaps a log file and a {r

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Andres Valloud
Yeah, not all operating systems and application environments are the same. What happens when you let a 512mb image loose in an environment where you have 10 images running on a 4gb machine? Ouch. What happens when you let a 2gb image loose in a 1gb machine and you get an infinite recursion b

Re: [Pharo-project] About float: new chapter looking for reader and contributors

2011-04-21 Thread Nicolas Cellier
2011/4/19 Stéphane Ducasse : > sadly > > after 10 min I could not find how to integrate your work. I hate this cool UI > that are just plain confusing and totally inadapted. > I have no idea how to do it. I will try to find but I hate hate this $#%^&*() > system. > > Stef > > BTW, I shamelessly

Re: [Pharo-project] Access to issue tracker?

2011-04-21 Thread Mariano Martinez Peck
done On Thu, Apr 21, 2011 at 11:57 PM, Bernardo Ezequiel Contreras < vonbecm...@gmail.com> wrote: > Hi, > > i cannot change the status of bug > 3088to fixed > could someone give me permissions or access to the issue tracker? > > thank you.

[Pharo-project] Access to issue tracker?

2011-04-21 Thread Bernardo Ezequiel Contreras
Hi, i cannot change the status of bug 3088to fixed could someone give me permissions or access to the issue tracker? thank you.

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Alain_Rastoul
(And of course Tudor, I forgot to mention it but I can send you this vm if you need) "Alain_Rastoul" a écrit dans le message de news: ioq86o$69j$1...@dough.gmane.org... I thought he was able to start it on a Mac that's why I suggested to this on a Mac and see if memory consumption was reduce

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Alain_Rastoul
I thought he was able to start it on a Mac that's why I suggested to this on a Mac and see if memory consumption was reduced. BTW I have rebuild a cog vm with 2Gb ram for MAX_MEMORY and it runs ok on my 1Gb netbook "Mariano Martinez Peck" a écrit dans le message de news: BANLkTikuk1jRV34=u2

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Marcus Denker
On Apr 21, 2011, at 10:22 PM, Tudor Girba wrote: > Hi, > > Should I to understand that the only way to enable more memory is to > recompile the VM? Does that mean that there is no way to pass this > information as a parameter like we can on Mac? > > The problem is that I cannot recompile the

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Mariano Martinez Peck
On Thu, Apr 21, 2011 at 10:44 PM, Alain_Rastoul wrote: > Apparently, the vm allocates MAX_VIRTUAL_MEMORY and reduces by steps of > 128M until it > succeeds. > so I suppose it could be possible to allocate 2Gb and see how it runs on a > 1Gb system and if this is not too much stress for > the syst

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Alain_Rastoul
Apparently, the vm allocates MAX_VIRTUAL_MEMORY and reduces by steps of 128M until it succeeds. so I suppose it could be possible to allocate 2Gb and see how it runs on a 1Gb system and if this is not too much stress for the system (thinking of the pagefile) ? Tudor is your vm a cog or non cog v

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Mariano Martinez Peck
Alain: as far as I understood, he cannot even start the image...so he won't be able to open a workspace and evaluate something. Doru, if you can evaluate something in a workspace, you may also try SpaceTally new printSpaceAnalysis and then check the STspace.text that is next to the image. That wa

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Alain_Rastoul
Mmm, you are right, in old squeak versions, there was a parameter -memory: xx (xx inMB) but I don't know if it is still in use. BTW there must be some hanging references in memory and perhaps youd should do some PointerFinder on it. A very handy script I found (on Ramon Leon's blog or elsewhere I

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Mariano Martinez Peck
On Thu, Apr 21, 2011 at 10:21 PM, Tudor Girba wrote: > Hi, > > Should I to understand that the only way to enable more memory is to > recompile the VM? Does that mean that there is no way to pass this > information as a parameter like we can on Mac? > > As far as I know you can pass a parameter,

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Tudor Girba
Hi, Should I to understand that the only way to enable more memory is to recompile the VM? Does that mean that there is no way to pass this information as a parameter like we can on Mac? The problem is that I cannot recompile the VM because I have no access to a Windows machine. Is there one a

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Alain_Rastoul
Hi Tudor, There is a constant in sqWin32Alloc.h (platforms\win32\vm) : #define MAX_VIRTUAL_MEMORY 512*1024*1024 you can change it to whatever you want and rebuild the vm, for exzmple give all the available memory less 256 M . HTH Regards Alain "Tudor Girba" a écrit dans le message de news: 03

Re: [Pharo-project] "Is a typo fix in a comment worth $1?"

2011-04-21 Thread Stéphane Ducasse
This is really fun because some people just think the contrary and I think that this is important that even small and dead easy things are cleaned and that code gets lean. Because it hurts to see bad/no comments... This is the idea expressed in the first pragmatic programmer book too. Stef On

Re: [Pharo-project] "Is a typo fix in a comment worth $1?"

2011-04-21 Thread Sven Van Caekenberghe
On 21 Apr 2011, at 19:02, Marcus Denker wrote: > > http://www.daemonology.net/blog/2011-04-21-tarsnap-bug-bounties.html > > Is a typo fix in a comment worth $1? Personally I think it is: My > experience as FreeBSD Security Officer has taught > me that code readability matter

[Pharo-project] [COTDC] 53 - AnimatedGIFReadWriter

2011-04-21 Thread laurent laffont
Today: AnimatedGIFReadWriter 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 it, deprecate it. Results: http://code.google.com/p/pharo/wiki/C

Re: [Pharo-project] [Pharo-users] [COTDC] 52 - PCXReadWriter

2011-04-21 Thread laurent laffont
http://code.google.com/p/pharo/issues/detail?id=4072 Thanks Guillermo. Laurent. On Thu, Apr 21, 2011 at 10:40 AM, Stéphane Ducasse < stephane.duca...@inria.fr> wrote: > open a bug entry and put your fix :) > > Stef > > On Apr 21, 2011, at 1:05 AM, Guillermo Polito wrote: > > > I am an Image Rea

[Pharo-project] Why errors are not logged in the Transcript?

2011-04-21 Thread Guillermo Polito
It should be fine to have stack traces into the Transcript as a default behavior in addition to the debugger. Guille :)

[Pharo-project] [update 1.2] #12350

2011-04-21 Thread Marcus Denker
12350 - Issue 4071: Failign Tests: GoferApiTest.testRepositoryErrors -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Tudor Girba
Hi, We have no specific startUp: methods in Moose. In any case, the issue with opening the image does not seem to be related to startUp:. Is it really true that the Cog VM is limited to 512MB of memory? Cheers, Doru On 21 Apr 2011, at 14:27, Luc Fabresse wrote: > Hi Doru, > > 2011/4/21 Tudo

Re: [Pharo-project] About (nil@nil)

2011-04-21 Thread Igor Stasenko
On 21 April 2011 18:42, Stéphane Ducasse wrote: > of course it is there > >        newArray at: 34 put: Point new. > > now could not we have a well initialized point? > What is the purpose of this one? > probably there was a primitives which doing fast Point allocaiton, and for this it takes an e

[Pharo-project] [update 1.3] #13170

2011-04-21 Thread Marcus Denker
13170 - Issue 4071: Failign Tests: GoferApiTest.testRepositoryErrors Issue 4070: Cleaned UIFinder model and package structure Issue 4064: TextEditor little refactor over Keystroke handling -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

[Pharo-project] "Is a typo fix in a comment worth $1?"

2011-04-21 Thread Marcus Denker
http://www.daemonology.net/blog/2011-04-21-tarsnap-bug-bounties.html Is a typo fix in a comment worth $1? Personally I think it is: My experience as FreeBSD Security Officer has taught me that code readability matters a lot, and simple things like typographical errors i

Re: [Pharo-project] About (nil@nil)

2011-04-21 Thread Mariano Martinez Peck
>From can I can see with me newbie search in the VM, it is not used. splObj: 33 ObjectMemory class >> initializeSpecialObjectIndices TheInterruptSemaphore := 30. SelectorCannotInterpret := 34. it jumps from 30 to 34. I search places doing "splObj: 33" but I didn't find anything. Maybe th

Re: [Pharo-project] About (nil@nil)

2011-04-21 Thread Stéphane Ducasse
of course it is there newArray at: 34 put: Point new. now could not we have a well initialized point? What is the purpose of this one? Stef On Apr 21, 2011, at 6:39 PM, Stéphane Ducasse wrote: > with manuel oriol we started to play with the idea of a randomTester in > Pharo. It poses

[Pharo-project] About (nil@nil)

2011-04-21 Thread Stéphane Ducasse
with manuel oriol we started to play with the idea of a randomTester in Pharo. It poses a lot of questions. Now doing the first experiments, I found an instance of point (nil@nil) (besides reciprocal broken on Point (0@0) and (Point allInstances select: [:each | each x isNil]) first pointersTo

[Pharo-project] [update 1.3] #13169

2011-04-21 Thread Marcus Denker
13169 - Issue 2927: formFromServerFile -> a better little helper Issue 3431: Faster traitNames Issue 4066: MNU when saving in monticello and no package is selected -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

[Pharo-project] Updated the the Cog Google code and Gitorious home pages

2011-04-21 Thread Mariano Martinez Peck
Hi guys. Cog info is a little spread in different places. I've just updated the home pages of: https://gitorious.org/cogvm http://code.google.com/p/cog/ I put all the interested links so that at least we can jump from one place to another other one. If you (Eliot?) feel more links or info should

[Pharo-project] Balloon engine and bitmap fills: any clues why it ignores an alpha channel of bitmap?

2011-04-21 Thread Igor Stasenko
I tried various paint rules 24, 34 nothing. A balloon engine seems like completely ignores an alpha channel, so i could use it for filling shapes using bitmaps as long as these bitmaps fully opaque. I thought i could use a generic way to render bitmaps, instead of using awkward warpBlt... but it

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Stéphane Ducasse
Yes I forwarded that mail to the network chapter authors. and we will really ask for feedback Stef On Apr 21, 2011, at 4:06 PM, Oscar E A Callau wrote: > Thank you very much Sven, I think this must be include in the pharo book, > because it was hard to find good examples. > > > Cheers. >

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Oscar E A Callau
Thank you very much Sven, I think this must be include in the pharo book, because it was hard to find good examples. Cheers. On Apr 21, 2011, at 08:22 , Sven Van Caekenberghe wrote: > Oscar, > > This is how I would write it, using first SocketStreams (which is better for > most users) and t

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Luc Fabresse
Hi Doru, 2011/4/21 Tudor Girba > Hi, > > > > On Apr 21, 2011, at 14:06, Mariano Martinez Peck > wrote: > > > > On Thu, Apr 21, 2011 at 1:58 PM, Tudor Girba < > tudor.gi...@gmail.com> wrote: > >> > Hi again, >> > >> > I did not say what the problem was :). The problem was that when opening >> t

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Sven Van Caekenberghe
Oscar, This is how I would write it, using first SocketStreams (which is better for most users) and then plain Sockets. This works for me on Pharo 1.2.2 and 1.3. HTH, Sven | serverSocket dataSent dataRead clientStream semaphore | semaphore := Semaphore new. serverSocke

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Tudor Girba
Hi, On Apr 21, 2011, at 14:06, Mariano Martinez Peck wrote: > > > On Thu, Apr 21, 2011 at 1:58 PM, Tudor Girba wrote: > > Hi again, > > > > I did not say what the problem was :). The problem was that when opening > > the image on Windows, he got a Space is low message and the image was not

[Pharo-project] squeaksource is down

2011-04-21 Thread Mariano Martinez Peck
thanks -- Mariano http://marianopeck.wordpress.com

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Mariano Martinez Peck
On Thu, Apr 21, 2011 at 1:58 PM, Tudor Girba wrote: > > Hi again, > > > > I did not say what the problem was :). The problem was that when opening > the image on Windows, he got a Space is low message and the image was not > usable (see attachment). That's weird. Does moose have something on th

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Oscar E A Callau
Thanks all for your comments. On Apr 21, 2011, at 07:13 , Sven Van Caekenberghe wrote: > > I think the problem might be the #listenOn: > I use #listenOn:backlogSize: > These are using different primitives. I tested with #listenOn:backlogSize: too, with the same result, error on #waitForAccept

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Tudor Girba
> Hi again, > > I did not say what the problem was :). The problem was that when opening the > image on Windows, he got a Space is low message and the image was not usable > (see attachment). On Mac it worked just fine. > > Cheers, > Doru > > <>> > > > On 21 Apr 2011, at 12:52, Tudor Girba

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Sven Van Caekenberghe
On 21 Apr 2011, at 12:42, Stephan Eggermont wrote: > That is no networking problem. That is just how a tcp server connections work. > When you connect from a client to the server, the server has to initialize a > new > socket to communicate on. Just take a look at what waitForConnectionFor does.

Re: [Pharo-project] out of memory - cog on windows

2011-04-21 Thread Mariano Martinez Peck
On Thu, Apr 21, 2011 at 12:52 PM, Tudor Girba wrote: > Hi, > > I received a question from someone running a 200MB image on Windows using > Cog 2361. > > If I open the image on Mac, it works just fine. Unfortunately, I do not > have a Windows machine around, and I cannot test but I believe it shou

[Pharo-project] out of memory - cog on windows

2011-04-21 Thread Tudor Girba
Hi, I received a question from someone running a 200MB image on Windows using Cog 2361. If I open the image on Mac, it works just fine. Unfortunately, I do not have a Windows machine around, and I cannot test but I believe it should be solvable by increasing the allocated memory. On Mac, I w

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Stephan Eggermont
That is no networking problem. That is just how a tcp server connections work. When you connect from a client to the server, the server has to initialize a new socket to communicate on. Just take a look at what waitForConnectionFor does. Stephan

Re: [Pharo-project] [aida] Code stats - Aida vs. Seaside vs. Iliad

2011-04-21 Thread Mariano Martinez Peck
Thanks Janko for such useful package. In less than 5 minutes I have stats for my project ;) On Mon, Nov 15, 2010 at 2:30 PM, Friedrich Dominicus < fr...@q-software-solutions.de> wrote: > Just a think I forgot: > There is this no if movement: > > > http://www.antiifcampaign.com/ > > I think the S

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

2011-04-21 Thread Sven Van Caekenberghe
On 21 Apr 2011, at 04:47, Steven Baker wrote: > Monticello may have a poor UI, but Git has the worst possible UI, encourages > awful practices, and just doesn't do the job well. +10 Most people find git hard to use, indeed. Monticello is not harder to use, you just have to understand what it

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Sven Van Caekenberghe
On 21 Apr 2011, at 09:26, Luc Fabresse wrote: > Yes SocketStream is useful but still, the socket base layer should be usable > without problems ... +1 Both should work, both should be understandable by mere mortals like us.

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Stéphane Ducasse
+1 I would love to know the answer. On Apr 21, 2011, at 9:26 AM, Luc Fabresse wrote: > Hi, > > Yes SocketStream is useful but still, the socket base layer should be usable > without problems ... > I do not know why #waitForAcceptFor: do not make it. > > #Luc > > > 2011/4/21 Göran Krampe

Re: [Pharo-project] [Pharo-users] [COTDC] 52 - PCXReadWriter

2011-04-21 Thread Stéphane Ducasse
open a bug entry and put your fix :) Stef On Apr 21, 2011, at 1:05 AM, Guillermo Polito wrote: > I am an Image ReadWriter supposed to be in charge of PCX file encoding and > decoding. > > Actually, as my instances does not implement understandsImageFormat, they use > the default ^false implem

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

2011-04-21 Thread Stéphane Ducasse
Just a meta question that each of us can try to answer when looking at himself in the mirror. What do we do to get a better system? If everybody would do something simple everyday we would be more than busy. So yes MC UI is funky, now who tried to develop a new widget? Don't tell me that morphic

[Pharo-project] [update 1.3] #13168

2011-04-21 Thread Marcus Denker
13168 - Issue 3996: alt+k opens a StringHolder and not a workspace Issue 1853: NetNameResolver localHostAddress returns public or private address instead of loopback address. Issue 3188: do we need SecurityManager? -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille --

[Pharo-project] [update 1.2] #12349

2011-04-21 Thread Marcus Denker
12349 - Issue 1853: NetNameResolver localHostAddress returns public or private address instead of loopback address. Issue 3996: alt+k opens a StringHolder and not a workspace Next for 1.2.2: -> fix build 1.2 -> integrate Lukas' OB -> release. -- Marcus Den

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Luc Fabresse
Hi, Yes SocketStream is useful but still, the socket base layer should be usable without problems ... I do not know why #waitForAcceptFor: do not make it. #Luc 2011/4/21 Göran Krampe > On 04/21/2011 07:17 AM, Oscar E A Callau wrote: > >> Hi again, >> >> I found a solution (but not what was

Re: [Pharo-project] Networking problems on Pharo 1.2.1

2011-04-21 Thread Göran Krampe
On 04/21/2011 07:17 AM, Oscar E A Callau wrote: Hi again, I found a solution (but not what was the problem); change the server code to the following: Just a tip: Please use SocketStream, it will help you when doing the actual sending/receiving. In almost every situation SocketStream is your