Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Schwab,Wilhelm K
In honor of Stef, let's make this *really* simple. The pieces for what I want to do MUST exist; I just don't see how to make it happen. So let's say I have GiveThisToStef.mcz on my drive, and I have checked, and rechecked that it is clean and releasable. Can I use an FTP client or some

Re: [Pharo-project] pharo vision

2012-02-06 Thread Schwab,Wilhelm K
This is sounding pretty good. When can we have it? :) One thing: re-using existing libraries and tools is generally a good thing (GSL PLplot, gnuplot, etc. are powerful), but *sometimes* one is better off rewriting to gain flexibility or some other freedom. Maybe it is mostly a Windows

Re: [Pharo-project] Creating a file with FS

2012-02-06 Thread Camillo Bruni
On 2012-02-05, at 16:16, stephane ducasse wrote: Hi FS users I'm puzzled by FS api. I want to create a file in a directory so I did | wk | wk := FSFilesystem disk workingDirectory. (wk / 'CSS2') ensureDirectory worked Now I looked at ensureFile and I do not understand the code

Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Ben Coman
Schwab,Wilhelm K wrote: In honor of Stef, let's make this *really* simple. The pieces for what I want to do MUST exist; I just don't see how to make it happen. So let's say I have GiveThisToStef.mcz on my drive, and I have checked, and rechecked that it is clean and releasable. Can I use

Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Nick Ager
http://lmgtfy.com/?q=webdav+command-line http://stackoverflow.com/questions/1205101/command-line-utility-for-webdav-upload On 6 February 2012 07:59, Schwab,Wilhelm K bsch...@anest.ufl.edu wrote: In honor of Stef, let's make this *really* simple. The pieces for what I want to do MUST exist;

Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Nick Ager
curl -T GiveThisToStef.mcz http://www.squeaksource.com/PharoInbox On 6 February 2012 08:35, Nick Ager nick.a...@gmail.com wrote: http://lmgtfy.com/?q=webdav+command-line http://stackoverflow.com/questions/1205101/command-line-utility-for-webdav-upload On 6 February 2012 07:59,

Re: [Pharo-project] pharo vision

2012-02-06 Thread Ben Coman
Obligatory You mis-understand the purpose of Microsoft's libraries, which is to suck up several years of potentially competing developer resources before Microsoft change the game by throwing everything away so you are playing catch up again. -ben Schwab,Wilhelm K wrote: This is

Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Schwab,Wilhelm K
Ok, this copy button thing is a new idea. Will investigate... I'm also going to look at MC code for the part that does the actual save. There must be a way to script that to do exactly what I want - no worries and code where it should be. Bill From:

Re: [Pharo-project] [update 1.4] #14314

2012-02-06 Thread Camillo Bruni
On 2012-02-05, at 12:49, Sven Van Caekenberghe wrote: On 05 Feb 2012, at 11:27, Stéphane Ducasse wrote: 14314 - - Issue 5233:Support Semantic Source Links. Thanks Camillo Bruni. http://code.google.com/p/pharo/issues/detail?id=5233 Now when you press command

Re: [Pharo-project] Alternative to MC for upload?

2012-02-06 Thread Schwab,Wilhelm K
That looks like a winner. I'll try a test when I'm really awake. Sorry to be dense, but I'm trying to help w/o doing anything awful in the process. Thanks! Bill From: pharo-project-boun...@lists.gforge.inria.fr

Re: [Pharo-project] [update 1.4] #14314

2012-02-06 Thread Mariano Martinez Peck
On Mon, Feb 6, 2012 at 9:49 AM, Camillo Bruni camillo.br...@inria.frwrote: On 2012-02-05, at 12:49, Sven Van Caekenberghe wrote: On 05 Feb 2012, at 11:27, Stéphane Ducasse wrote: 14314 - - Issue 5233:Support Semantic Source Links. Thanks Camillo Bruni.

[Pharo-project] Report from FOSDEM please! :)

2012-02-06 Thread Göran Krampe
...I want to hear how darn cool it was and how droves of new Smalltalkers got reborn :) regards, Göran

Re: [Pharo-project] [update 1.4] #14314

2012-02-06 Thread Lukas Renggli
- there should be :D (I imagine it exactly like in eclipse, cmd-key pressed = underline all links and display a hand cursor onOver) - telling morphic to do highlighting is a different story |-( - right now you only get onDrag events in – although named onMove – I guess I will have to hack a

[Pharo-project] ConfigurationOfSIXX status?

2012-02-06 Thread Schwab,Wilhelm K
Does anyone know the status of the SIXX configuration. I can't get it to load. In general, what does it mean when Gofer doesn't? I hate to repeat myself, but silent failures are one of the worst things a computer can do, and I'm getting them (often). Bill

Re: [Pharo-project] About linkedlist

2012-02-06 Thread Frank Shearar
On 5 February 2012 10:30, Stéphane Ducasse stephane.duca...@inria.fr wrote: Thanks for the explanation frank btw (did you dd it in the class comment because it would be gorgeous). I learned something today so I'm happy. Now what is the typical use case for such persistent structure? Indeed I

Re: [Pharo-project] About linkedlist

2012-02-06 Thread Nick Ager
Hi Stef, Thanks for the explanation frank btw (did you dd it in the class comment because it would be gorgeous). I learned something today so I'm happy. Now what is the typical use case for such persistent structure? Stef Immutable data structures are used extensively in functional

Re: [Pharo-project] pharo vision

2012-02-06 Thread Nick Ager
Hi Stef, Similarly to Philippe my feedback is based on a Seaside/web centric view of how I use Pharo. I'd echo Philippe's concern about looking carefully at how much effort is required to rework Morphic vs using an existing UI library or WebView. From a web centric view I'd emphasis building a

[Pharo-project] FOSDEM devroom

2012-02-06 Thread Stephan Eggermont
Yesterday we had a nice day filled with great presentations. Getting to Brussels the day before proved to be a challenge, as the Dutch railways showed to have lots of trouble with 3 cm of snow and a cold night. Andy showed us a good place to eat and talk near the Central Station. In the end

Re: [Pharo-project] Creating a file with FS

2012-02-06 Thread Stéphane Ducasse
- it still returns the FSReference... what you want is the following I guess: (wk / 'foo') writeStreamDo: [ :s| s 'bar' ]. since that will - create also create a new file. - ensure closing the stream Yes I did the same. FSReferencewriteStreamDo: doBlock ifPresent:

Re: [Pharo-project] pharo vision

2012-02-06 Thread Stéphane Ducasse
On Feb 6, 2012, at 12:56 PM, Nick Ager wrote: Hi Stef, Similarly to Philippe my feedback is based on a Seaside/web centric view of how I use Pharo. I'd echo Philippe's concern about looking carefully at how much effort is required to rework Morphic vs using an existing UI library or

Re: [Pharo-project] Creating a file with FS

2012-02-06 Thread Sven Van Caekenberghe
On 06 Feb 2012, at 09:25, Camillo Bruni wrote: (wk / 'foo') writeStreamDo: [ :s | s 'bar' ]. Yes, this is nice code!

[Pharo-project] Debugger filtering

2012-02-06 Thread Camillo Bruni
In the latest Pharo Release we pushed a new Setting for the Debugger: see Settings / Debugging / Filter out common message sends, when enabled the Debugger behaves a bit nicer in most cases by filtering some non-interesting contexts: - self halt will now open the Debugger in the sender

Re: [Pharo-project] [update 1.4] #14314

2012-02-06 Thread Camillo Bruni
On 2012-02-06, at 10:43, Lukas Renggli wrote: - there should be :D (I imagine it exactly like in eclipse, cmd-key pressed = underline all links and display a hand cursor onOver) - telling morphic to do highlighting is a different story |-( - right now you only get onDrag events in –

[Pharo-project] [update 1.4] #14316

2012-02-06 Thread Marcus Denker
14316 - Issue 5251: Remove MCWorkingCopy from startup list http://code.google.com/p/pharo/issues/detail?id=5251 Issue 5167: Fix weak finalization thrashing - improve interrupt behavior http://code.google.com/p/pharo/issues/detail?id=5167 Issue 5224: move

Re: [Pharo-project] Debugger filtering

2012-02-06 Thread Igor Stasenko
On 6 February 2012 14:48, Camillo Bruni camillo.br...@inria.fr wrote: In the latest Pharo Release we pushed a new Setting for the Debugger: see Settings / Debugging / Filter out common message sends, when enabled the Debugger behaves a bit nicer in most cases by filtering some

Re: [Pharo-project] Debugger filtering

2012-02-06 Thread Ben Coman
Camillo Bruni wrote: In the latest Pharo Release we pushed a new Setting for the Debugger: see Settings / Debugging / Filter out common message sends, when enabled the Debugger behaves a bit nicer in most cases by filtering some non-interesting contexts: - self halt will now open the

Re: [Pharo-project] Debugger filtering

2012-02-06 Thread Stéphane Ducasse
yes I know what proper implementation of it should be: contextsToShow := stack reject: [:context | context method pragmas anySatisfy: [:pragma | pragma keyword == #skipWhileDebugging ] ] like that, you can tag the methods by yourself, instead of making Debugger too clever to

Re: [Pharo-project] Basics...Pluggable..Morphs on change

2012-02-06 Thread Benjamin
It has been done like that because sometimes ( and in fact quite often for complex UIs ), the model want to perform some actions before the UI is updated. But I am agree that for some instructions, like selection changes, it could (should ?) be send directly by the morph. Ben On Feb 6, 2012,

Re: [Pharo-project] Basics...Pluggable..Morphs on change

2012-02-06 Thread Krishsmalltalk
I must say it was an off color moment to state it this way. Rather I should say, morphs must be intelligent to update: themselves, but models can choose to have the #changed: call when they get to have a need to connect more than one view. So i should rewrite the examples as

[Pharo-project] [update 1.4] #14317

2012-02-06 Thread Marcus Denker
14317 - Issue 5248: Undeclared refs in 14315 http://code.google.com/p/pharo/issues/detail?id=5248 Issue 5167: Fix weak finalization thrashing - another fix http://code.google.com/p/pharo/issues/detail?id=5167 -- Marcus Denker -- http://marcusdenker.de

[Pharo-project] NBOpenGL error every third execution of example

2012-02-06 Thread Lawson English
When I do the following with the latest version of NBOpenGL, I get an error: FrameBuffer status: unk error on the third (4th?) evaluation of GLTTRenderingDemo new openInWorld. This happens whether or not another OpenGL example is open. The pattern repeats: 2-3 evaluations work and then the

[Pharo-project] better BehaviormethodDict

2012-02-06 Thread Stéphane Ducasse
Hi mariano I have the impression that methodDict should be redefined as you propose it because else it does not work well with the cannotInterpret hook. I suggest to redefine methodDict as follow. notice the cool comment!!! If this is ok - open a bug entry. Behavior methodDict The

[Pharo-project] UDP Listener example?

2012-02-06 Thread Eagle Offshore
I'm trying to build a display for some instruments that multicast readings using UDP. I started out using CocoaAsyncSocket on Mac (https://github.com/robbiehanson/CocoaAsyncSocket) and I have to say it has a really wonderful api - would be worth cloning it. However, want to do the same thing

Re: [Pharo-project] better BehaviormethodDict

2012-02-06 Thread Mariano Martinez Peck
On Mon, Feb 6, 2012 at 10:17 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi mariano I have the impression that methodDict should be redefined as you propose it because else it does not work well with the cannotInterpret hook. I suggest to redefine methodDict as follow. notice the

Re: [Pharo-project] Snapshot question

2012-02-06 Thread Mariano Martinez Peck
On Sun, Feb 5, 2012 at 6:49 PM, Schwab,Wilhelm K bsch...@anest.ufl.eduwrote: I am getting some stalled installations, and hope to be able to snapshot my building image after each successful step (not going so well). With the 1.3 one-click, I can't break (control or alt . ???) something

Re: [Pharo-project] UDP Listener example?

2012-02-06 Thread jannik.laval
Hi Todd, The socket chapter in writing progress could help you: https://gforge.inria.fr/scm/viewvc.php/*checkout*/PharoByExampleTwo-Eng/Sockets/Sockets.pdf?root=pharobooks I do not remember if the receiveData method is blocking. If not, you should wait til data arrives. Cheers, Jannik On Feb

Re: [Pharo-project] UDP Listener example?

2012-02-06 Thread Sven Van Caekenberghe
Todd, On 06 Feb 2012, at 22:22, Eagle Offshore wrote: [| socket | socket := Socket newUDP. 10 timesRepeat: [| s | s := String new. socket receiveDataInto: s fromHost: (NetNameResolver addressFromString:'255.255.255.255' ) port: 4848. Transcript show: s.]] fork and

Re: [Pharo-project] UDP Listener example?

2012-02-06 Thread Eagle Offshore
Thanks, I found this but it pretty well ignores UDP other than mentioning it exists. On Feb 6, 2012, at 1:38 PM, jannik.laval wrote: Hi Todd, The socket chapter in writing progress could help you:

Re: [Pharo-project] UDP Listener example?

2012-02-06 Thread Norbert Hartl
Am 06.02.2012 um 23:13 schrieb Eagle Offshore: Thanks, I found this but it pretty well ignores UDP other than mentioning it exists. I think you might confuse the host and port portions of it. If you use socket receiveDataInto:fromHost:port: then the host and the port are the ones of the

Re: [Pharo-project] better BehaviormethodDict

2012-02-06 Thread Nicolas Cellier
How many senders of #methodDict would miss-behave? No risk to throw away a freshly basicAddedSelector:withMethod: ? Or should the IDE be aware of the cannotInterpret: experiments ? Maybe the comment should be (seriously): When methodDict instance variable of a class is nil, the VM will redirect

Re: [Pharo-project] NBOpenGL error every third execution of example

2012-02-06 Thread Igor Stasenko
could be related to freeing resources/switching to right context. try doing Smalltalk garbageCollect 2 times, after closing the window, before opening it again. On 6 February 2012 22:50, Lawson English lengli...@cox.net wrote: When I do the following with the latest version of NBOpenGL, I get

Re: [Pharo-project] NBOpenGL error every third execution of example

2012-02-06 Thread Lawson English
That takes care of it, even for the case when several windows are open at once: GLTTRenderingDemo new openInWorld. Smalltalk garbageCollect. Smalltalk garbageCollect. GLTTRenderingDemo new openInWorld. Smalltalk garbageCollect. Smalltalk garbageCollect. GLTTRenderingDemo new openInWorld.

Re: [Pharo-project] NBOpenGL error every third execution of example

2012-02-06 Thread Igor Stasenko
Actually, being able to create and control multiple GL windows was unexpected side effect of my design. My primary goal was to make it work for at least one context. For making things work with multiple contexts, more work to be done by adding things/checks like glMakeCurrent() all over the