Re: [Pharo-project] how to get a string read stream from filesystem

2012-03-27 Thread Philippe Marschall
On 11/19/2011 03:11 PM, Tudor Girba wrote: Hi, Thanks. I know that the ByteArray is the data structure, but I would like to get a stream that decodes the information and lets me traverse characters, rather than bytes. What information? Which encoding? Cheers Philippe

Re: [Pharo-project] Morpheas , bringing Morphic to Opengl (3d GUIs)

2012-03-27 Thread chadwick
oh god sorry for that call stack ^ ! I just noticed I'm getting this error too: ioLoadModule(/usr/lib/nvidia-current-updates/libGL.so): /usr/lib/nvidia-current-updates/libGL.so: wrong ELF class: ELFCLASS64 in the console, so it's a 32/64 bit thing. I'm on 64bit ubuntu, and I have ia32-libs

[Pharo-project] interpreter cannot read image file

2012-03-27 Thread Pavel Krivanek
Hi, I'm trying to open an old production image based on Squeak 3.9.1 file with CogVM and I get: This interpreter (vers. 6505) cannot read image file (vers. 6502) I've always seen only the inverse report. Any idea how to convert the image? Cheers, -- Pavel

Re: [Pharo-project] ProtoObject initialize

2012-03-27 Thread Mariano Martinez Peck
On Fri, Mar 23, 2012 at 11:03 AM, Noury Bouraqadi bouraq...@gmail.comwrote: Hi Guillermo, The expression ProtoObject initialize does actually work. ProtoObject metaclass inherits the initialize method from Behavior. But, running it resets the ProtoObject critical IVs (superclass, methodDict

Re: [Pharo-project] how to get a string read stream from filesystem

2012-03-27 Thread Stéphane Ducasse
On Mar 27, 2012, at 3:33 AM, Sean P. DeNigris wrote: Lukas Renggli wrote As I just wrote a few days ago, you must use... #fileStreamDo: ...to get the traditional system stream I just ran into this. To start, how about a comment in #readStream and friends pointing this out? please

Re: [Pharo-project] [Vm-dev] Re: Bug in WAMemoryItemsizeOfObject

2012-03-27 Thread Mariano Martinez Peck
And there is also #sizeInMemory sizeInMemory Answer the number of bytes consumed by this instance including object header. | contentBytes | contentBytes := Smalltalk wordSize. base header contentBytes := contentBytes + (self class instSize * Smalltalk wordSize). instance vars

Re: [Pharo-project] CodeLoaderstartUp: installing World?

2012-03-27 Thread Mariano Martinez Peck
On Wed, Mar 14, 2012 at 3:08 PM, Guillermo Polito guillermopol...@gmail.com wrote: CodeLoader classstartUp: resuming resuming ifTrue: [ World ifNotNil: [World install. ActiveHand position: 100@100]. self processUpdates. ]. Is this method ok in this class? I'd

Re: [Pharo-project] more Nautilus feed back

2012-03-27 Thread Mariano Martinez Peck
wow, how much new feedback :) it looks like Nautilus is getting better. On Fri, Mar 9, 2012 at 10:17 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: On Mar 9, 2012, at 8:22 PM, Igor Stasenko wrote: On 9 March 2012 13:27, Helene Bilbo thereluctantprogram...@fastmail.fm wrote:

Re: [Pharo-project] interpreter cannot read image file

2012-03-27 Thread Henrik Sperre Johansen
On 27.03.2012 08:36, Pavel Krivanek wrote: Hi, I'm trying to open an old production image based on Squeak 3.9.1 file with CogVM and I get: This interpreter (vers. 6505) cannot read image file (vers. 6502) I've always seen only the inverse report. Any idea how to convert the image? Cheers, --

Re: [Pharo-project] Morpheas , bringing Morphic to Opengl (3d GUIs)

2012-03-27 Thread Igor Stasenko
On 27 March 2012 09:16, chadwick mathn...@gmail.com wrote: oh god sorry for that call stack ^ ! I just noticed I'm getting this error too: ioLoadModule(/usr/lib/nvidia-current-updates/libGL.so):   /usr/lib/nvidia-current-updates/libGL.so: wrong ELF class: ELFCLASS64 in the console, so it's

Re: [Pharo-project] Bug in DateAndTime?

2012-03-27 Thread David T. Lewis
On Mon, Mar 26, 2012 at 08:17:17PM -0700, Sean P. DeNigris wrote: Max Leske wrote DateAndTime fromUnixTime: seconds DateAndTimefromUnixTime: anInteger ^ self fromSeconds: anInteger + 2177452800 unix epoch constant This seems like a bug to me. Wikipedia

Re: [Pharo-project] VM on iOS: still no luck, even with 4.2 and Cmake 2.8.3

2012-03-27 Thread Esteban Lorenzano
Hi, with 4.2 you should have a target list, and iStackVM as one of them. Sorry, I can't take it now, I don't know how Guille does it (he is doing pharo stuff while preparing his travel), but I just don't have the time :( next week I will be able to work with you to obtain a working build

[Pharo-project] Pharo on iOS w/ faster graphics

2012-03-27 Thread J.F. Rick
Hi everyone, I've been lurking a little while here and thought I would jump in to see if Pharo would be appropriate for what I want to do. First, here's a little background about myself. I'm an academic researcher in human-computer interaction and educational technology. I've been programming in

Re: [Pharo-project] Bug in DateAndTime?

2012-03-27 Thread Sean P. DeNigris
David T. Lewis wrote you may consider the limited implementation to be either a bug or a feature depending on your use case ;) Ha ha, maybe that could be said of any code ;-) But, in this case, when one has a Unix time, that already means something in the outside world. We're reusing the

Re: [Pharo-project] VM on iOS: still no luck, even with 4.2 and Cmake 2.8.3

2012-03-27 Thread p...@highoctane.be
Fine for me. In the meantime I ll create the project by hand based on what Cmake does and is configured with. Phil Le 27 mars 2012 14:06, Esteban Lorenzano esteba...@gmail.com a écrit : Hi, with 4.2 you should have a target list, and iStackVM as one of them. Sorry, I can't take it now, I

Re: [Pharo-project] Pharo on iOS w/ faster graphics

2012-03-27 Thread p...@highoctane.be
Hey cool! Morphic could eat less by just reducing the frame rate and also use simple forms and pens to draw things. Also we have opengl under and could do a lot of interesting optimizations through plugins. I am onboard to work with you on that. Once the VM is built properly that is. I am

[Pharo-project] Pharo Core 1.3 - Build # 25 - Unstable!

2012-03-27 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%20Core%201.3/25/Project:Pharo Core 1.3Date of build:Tue, 27 Mar 2012 16:43:14 +0200Build duration:3 min 50 secCHANGESNo ChangesBUILD ARTIFACTSPharoCore-1.3.changesPharoCore-1.3.imagePharoCore-1.3.zipJUnit TestsName:

[Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread philippe.b...@highoctane.be
Just a question: while looking at the comments for classes in the browser, there are often missing entries, even for pretty classic classes. How comes? I find myself with a Squeak image running in parallel just to look up some content. So, content that makes sense is available but didn't got

[Pharo-project] Pharo 1.4 Tests-Unix - Build # 312 - Unstable!

2012-03-27 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.4%20Tests-Unix/312/Project:Pharo 1.4 Tests-UnixDate of build:Tue, 27 Mar 2012 16:54:14 +0200Build duration:7 min 18 secCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29 test(s), Skipped: 0

Re: [Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread Marcus Denker
On Mar 27, 2012, at 4:59 PM, philippe.b...@highoctane.be wrote: Just a question: while looking at the comments for classes in the browser, there are often missing entries, even for pretty classic classes. How comes? I find myself with a Squeak image running in parallel just to look up

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Marcus Denker
On Mar 27, 2012, at 4:05 PM, Igor Stasenko wrote: Try: (FileDirectory default / 'foo') asUrl retrieveContents Yes, we need to really do a pass over the Url... there is Url (from old Squeak). The there is URI, a package from Impara that we wanted to replace Url in Squeak 3.9 but

Re: [Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread Max Leske
Have you looked at the methods with a fresh image? I've run into the situation a few times that only decompiled code is shown and a fresh image has always worked. Max On 27.03.2012, at 17:11, Marcus Denker wrote: On Mar 27, 2012, at 4:59 PM, philippe.b...@highoctane.be wrote: Just a

[Pharo-project] Pharo 1.3 - Build # 26 - Still Unstable!

2012-03-27 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.3/26/Project:Pharo 1.3Date of build:Tue, 27 Mar 2012 17:05:56 +0200Build duration:19 minCHANGESNo ChangesBUILD ARTIFACTSPharo-1.3/Pharo-1.3.stPharo-1.3.changesPharo-1.3.imagePharo-1.3.zipJUnit TestsName: AST.Tests.Core Failed: 0

[Pharo-project] Pharo Kernel Reload Tests-Unix - Build # 46 - Unstable!

2012-03-27 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%20Kernel%20Reload%20Tests-Unix/46/Project:Pharo Kernel Reload Tests-UnixDate of build:Tue, 27 Mar 2012 17:39:56 +0200Build duration:3 min 36 secCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29

Re: [Pharo-project] Bug in DateAndTime?

2012-03-27 Thread Norbert Hartl
Sean, I discovered that 2 month ago and did not make a submission. I fixed it by not relying on julianDay when using epoch. It is DateAndTime classepoch Answer a DateAndTime representing the Squeak epoch: 1 January 1901 in UTC timezone ^ self basicNew ticks:

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Gary Chambers
+1 for that. Though I try to use URLs (URIs) have to draw a line and hit FS directly at a certain point... Regards, Gary - Original Message - From: Marcus Denker marcus.den...@inria.fr To: Pharo-project@lists.gforge.inria.fr Sent: Tuesday, March 27, 2012 4:17 PM Subject: Re:

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread p...@highoctane.be
I would vote for Zn to deal with it all... No so simple I know but... Le 27 mars 2012 17:18, Marcus Denker marcus.den...@inria.fr a écrit : On Mar 27, 2012, at 4:05 PM, Igor Stasenko wrote: Try: (FileDirectory default / 'foo') asUrl retrieveContents Yes, we need to really do a pass

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Igor Stasenko
this part is closely related to command-line arguments handling.. on windows things, which expected to work, like: vm image.image pathToScript.st fails to find the script, because it messing up with back/forward slashes in path and at the end it transforms an input into escaped slashes, which

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Igor Stasenko
On 27 March 2012 17:59, p...@highoctane.be p...@highoctane.be wrote: I would vote for Zn to deal with it all... The problem is in FileUrl, which is related to different path encoding scheme on windows (use drive letter(s), and back slashes instead of normal ones).. i'm not sure if Zinc can help

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread p...@highoctane.be
True. The situation isn't any better in Java or PHP BTW. Tcl does a bit of effort to get there tough. / for everything and it gets translated right. Tcl and Smalltalk: lovely homoiconic languages of art someone can master. Le 27 mars 2012 18:08, Igor Stasenko siguc...@gmail.com a écrit : On

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Marcus Denker
On Mar 27, 2012, at 6:06 PM, Igor Stasenko wrote: this part is closely related to command-line arguments handling.. on windows things, which expected to work, like: vm image.image pathToScript.st fails to find the script, because it messing up with back/forward slashes in path and at

Re: [Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread Stéphane Ducasse
On Mar 27, 2012, at 4:58 PM, philippe.b...@highoctane.be wrote: Just a question: while looking at the comments for classes in the browser, there are often missing entries, even for pretty classic classes. How comes? Because the classes were not commented. I find myself with a Squeak

Re: [Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread p...@highoctane.be
Quite a few in morphic for example aren't commented anymore. Phil Le 27 mars 2012 18:28, Stéphane Ducasse stephane.duca...@inria.fr a écrit : On Mar 27, 2012, at 4:58 PM, philippe.b...@highoctane.be wrote: Just a question: while looking at the comments for classes in the browser, there

Re: [Pharo-project] Pharo on iOS w/ faster graphics

2012-03-27 Thread Stéphane Ducasse
Hi jeff welcome :) First, here's a little background about myself. I'm an academic researcher in human-computer interaction and educational technology. I've been programming in Smalltalk since the early days of Squeak. For those who remember, I wrote Swiki. I do :) I'm now doing work

Re: [Pharo-project] Source code comments in Pharo: lots of missing things

2012-03-27 Thread Marcus Denker
On Mar 27, 2012, at 6:32 PM, p...@highoctane.be wrote: Quite a few in morphic for example aren't commented anymore. Which ones? It's you need to be specific else we will not be able to do any action. Marcus -- Marcus Denker -- http://marcusdenker.de

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Igor Stasenko
On 27 March 2012 18:18, Marcus Denker marcus.den...@inria.fr wrote: On Mar 27, 2012, at 6:06 PM, Igor Stasenko wrote: this part is closely related to command-line arguments handling.. on windows things, which expected to work, like: vm image.image pathToScript.st fails to find the

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Gary Chambers
Give filesystem disparities I'd personally be happy with file://Pharo/xyz.abc resolving to C:\Pharo\xyz.abc on Windows... Regards, Gary - Original Message - From: Igor Stasenko siguc...@gmail.com To: Pharo-project@lists.gforge.inria.fr Sent: Tuesday, March 27, 2012 6:41 PM

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Gary Chambers
Maybe an extra / there... else relative etc. Regards, Gary - Original Message - From: Igor Stasenko siguc...@gmail.com To: Pharo-project@lists.gforge.inria.fr Sent: Tuesday, March 27, 2012 6:41 PM Subject: Re: [Pharo-project] FileURL don't works properly on windows On 27 March 2012

Re: [Pharo-project] vm crash - code snippet provided

2012-03-27 Thread Igor Stasenko
On 26 March 2012 01:54, Francisco Garau francisco.ga...@gmail.com wrote: It's used to animate the morphs, apparently. The crash happens quite easily by dragging a big window out of the screen (to the left). You either get a debugger or the vm crashes. I just want to point out that before the

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Igor Stasenko
On 27 March 2012 19:50, Gary Chambers gazzagu...@btinternet.com wrote: Give filesystem disparities I'd personally be happy with file://Pharo/xyz.abc resolving to C:\Pharo\xyz.abc on Windows... unless you meant D:\Pharo\xyz.abc :) No. I don't like such implicit cleverness. Things should

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Sven Van Caekenberghe
On 27 Mar 2012, at 18:07, Igor Stasenko wrote: The problem is in FileUrl, which is related to different path encoding scheme on windows (use drive letter(s), and back slashes instead of normal ones).. i'm not sure if Zinc can help there, because its urls mostly for http.. if i'm not

Re: [Pharo-project] Announcement vs SystemChangeNotifier

2012-03-27 Thread Igor Stasenko
On 26 March 2012 12:45, Henrik Sperre Johansen henrik.s.johan...@veloxit.no wrote: On 26.03.2012 00:08, Igor Stasenko wrote: On 25 March 2012 21:49, Stéphane Ducassestephane.duca...@inria.fr  wrote: Hi guys I'm starting to look at how we can remove SystemChangeNotifier to only use

Re: [Pharo-project] FileURL don't works properly on windows

2012-03-27 Thread Gary Chambers
Then again... if you want cleverness you do a link on archaic filesystems that can't do a proper root... Personally I'd like a URI/URL to work crossly on multiple platforms in a reasonable manner. Otherwise it is a pain to work with Linux/Windows transparently. Regards, Gary - Original

Re: [Pharo-project] interpreter cannot read image file

2012-03-27 Thread Eliot Miranda
On Tue, Mar 27, 2012 at 12:36 AM, Pavel Krivanek pavel.kriva...@gmail.comwrote: Hi, I'm trying to open an old production image based on Squeak 3.9.1 file with CogVM and I get: This interpreter (vers. 6505) cannot read image file (vers. 6502) I've always seen only the inverse report. Any

Re: [Pharo-project] ProtoObject initialize

2012-03-27 Thread Guillermo Polito
Now, re-initializing classes is kind of weird :P. I should only initialize classes with it's own #initialize and their subclasses -only if they have class instance methods :/. ufa On Tue, Mar 27, 2012 at 5:29 AM, Mariano Martinez Peck marianop...@gmail.com wrote: On Fri, Mar 23, 2012 at

[Pharo-project] [update 1.4] #14415

2012-03-27 Thread Marcus Denker
14415 - Issue 5552: Transcript show is not working http://code.google.com/p/pharo/issues/detail?id=5552 -- Marcus Denker -- http://marcusdenker.de

Re: [Pharo-project] no Complex class in Pharo?

2012-03-27 Thread Nicolas Cellier
Le 25 mars 2012 12:17, Nicolas Cellier nicolas.cellier.aka.n...@gmail.coma écrit : http://www.squeaksource.com/Math-Complex Oops, it was http://www.squeaksource.com/Complex Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfComplex'; load.

[Pharo-project] Problem with loading Nautilus after Seaside

2012-03-27 Thread Martin Sandiford
Not sure where to report this, so here goes... As of just recently, I can't load Nautilus after loading Seaside due to a name clash on Bindings. It's a global in DynamicBindings-lr.13 (Seaside) and a class variable in Spec-Core-BenjaminVanRyseghem.9 (Nautilus). Ideally I think DynamicBindings

Re: [Pharo-project] GSoC proposal: Naked Objects using Magritte

2012-03-27 Thread Stephan Eggermont
Stephan, I can help as second Mentor if you still need one. ...Stan I haven't been able to reach Esteban yet. He is supposed to be moving this week. Thanks for the offer. Stephan

[Pharo-project] Hello newcomers :)

2012-03-27 Thread Stéphane Ducasse
The pharo mailing-list is regularly attracting some newcomers and I would like to welcome them :) So welcome. We really want to improve the system so your contribution are welcomed. Now the first contribution you can do is to sign the license

Re: [Pharo-project] Announcement vs SystemChangeNotifier

2012-03-27 Thread Stéphane Ducasse
Ok I will digest that :) Thanks for the food for thoughts. yes.. now since i remember our discussion about it.. yes.. i am still against it. because it just violating the principle of least authority: - any guy who thinks he is a position to suspend announcements can do it, but since he

Re: [Pharo-project] Problem with loading Nautilus after Seaside

2012-03-27 Thread Stéphane Ducasse
thanks for the report. To me it looks like we changed some on classVar lookup and it is not modular anymore… Stef On Mar 27, 2012, at 11:16 PM, Martin Sandiford wrote: Not sure where to report this, so here goes... As of just recently, I can't load Nautilus after loading Seaside due to a

[Pharo-project] Close encounters of the weird kind

2012-03-27 Thread Schwab,Wilhelm K
Eliot, all, My GSL code, with callbacks is confusing me. First, I call gsl_multifit_fdfsolver_set(). This seems to work, hitting various callbacks (apparently successfully), but then gives an error with #'bad number of arguments'. I have looked, and don't see an invalid number of arguments

[Pharo-project] SciSmalltalk

2012-03-27 Thread Serge Stinckwich
Dear all, we already discuss about that in the moose and pharo mailing-list. Maybe this is too late, but please find a small proposal for gsoc 2012 below. Name: SciSmalltalk Level: Intermediate Possible mentor: Serge Stinckwich

Re: [Pharo-project] Problem with loading Nautilus after Seaside

2012-03-27 Thread Martin Sandiford
On Wed, Mar 28, 2012 at 8:12 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: thanks for the report. To me it looks like we changed some on classVar lookup and it is not modular anymore… I don't really know enough about the system to judge whether the compiler is being over-conservative

Re: [Pharo-project] SciSmalltalk

2012-03-27 Thread Stéphane Ducasse
excellent initiative. Stef On Mar 28, 2012, at 3:38 AM, Serge Stinckwich wrote: Dear all, we already discuss about that in the moose and pharo mailing-list. Maybe this is too late, but please find a small proposal for gsoc 2012 below.

Re: [Pharo-project] Problem with loading Nautilus after Seaside

2012-03-27 Thread Stéphane Ducasse
Yes this is a bug probably due to the looked up of variable (bindingOf:) We should fix it for 1.4 Thanks. Stef On Mar 28, 2012, at 4:27 AM, Martin Sandiford wrote: On Wed, Mar 28, 2012 at 8:12 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: thanks for the report. To me it looks like

Re: [Pharo-project] SciSmalltalk

2012-03-27 Thread Serge Stinckwich
BTW, i'm looking for some Smalltalk code implementing Runge-Kutta methods for solving a set of ordinary differential equations (ODEs). Regards, On Wed, Mar 28, 2012 at 8:38 AM, Serge Stinckwich serge.stinckw...@gmail.com wrote: Dear all, we already discuss about that in the moose and pharo