Re: [Pharo-dev] Smalltalk Internet Browser

2017-05-04 Thread Frank Shearar
On 4 May 2017 at 08:55, askoh wrote: > Thanks everyone for digging out the various possibilities. It is heartening > to know the community is healthy and engaging. > > Let me summarize the possibilities: > 1) Recompile Smalltalk VM from C to WebAssembly to run inside a browser

Re: [Pharo-dev] Type Inference tools

2017-03-15 Thread Frank Shearar
Please do also read the pharo-dev archives: type inference is something that crops up every 6 months or so. There are a whole bunch of techniques and tools lying around that people have developed. frank On 15 March 2017 at 01:35, Peter Uhnak wrote: > Moose (

Re: [Pharo-dev] Mocking network…

2016-03-02 Thread Frank Shearar
Er. How do you reliably inject arbitrary network faults in your localhost network again? frank On 2 March 2016 at 08:27, Chris Muller wrote: > A mock network will never test as thoroughly as locahost network.. > > On Wed, Mar 2, 2016 at 6:32 AM, Yuriy Tymchuk

Re: [Pharo-dev] Travis CI integration added to OSSubprocess and FFICHeaderExtractor

2016-02-03 Thread Frank Shearar
On 3 February 2016 at 10:37, Holger Freyther wrote: > >> On 29 Jan 2016, at 21:00, serge.stinckw...@gmail.com wrote: > > Dear Serge, > >> >> For building Pharo, Squeak or GemStone projects on travis there is also the >> SmalltalkCI project: >>

Re: [Pharo-dev] Does anybody know if Sport is available in Pharo?

2015-11-12 Thread Frank Shearar
On 12 November 2015 at 09:04, Christophe Demarey wrote: > > Le 10 nov. 2015 à 21:39, Sven Van Caekenberghe a écrit : > >> << Sport is a Smalltalk portability layer. Sport presents a consistent >> interface and implemented in a number of Smalltalk dialects. Smalltalk

Re: [Pharo-dev] Control Flow Graph for Smalltalk

2015-07-06 Thread Frank Shearar
Olin Shivers' k-CFA stuff also computes call flow graphs (and can infer types, and can determine when garbage can be released). A starting point might be here: http://matt.might.net/articles/implementation-of-kcfa-and-0cfa/ frank On 6 July 2015 at 14:30, Francisco Garau

Re: [Pharo-dev] Status of Pharo VM for FreeBSD

2015-03-11 Thread Frank Shearar
Just as a reminder, can I ask people to cross-post VM-related questions (like this) to vm-...@lists.squeakfoundation.org? That way the VM folk will definitely spot these kinds of queries. frank On 11 March 2015 at 08:23, Clément Bera bera.clem...@gmail.com wrote: Hello, About the FreeBSD VM,

Re: [Pharo-dev] ||

2015-02-09 Thread Frank Shearar
On 6 February 2015 at 17:38, Eliot Miranda eliot.mira...@gmail.com wrote: Hi Frank, On Fri, Feb 6, 2015 at 2:29 AM, Frank Shearar frank.shea...@gmail.com wrote: On 5 February 2015 at 21:20, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 21:28 GMT+01:00 Eliot Miranda

Re: [Pharo-dev] ||

2015-02-06 Thread Frank Shearar
On 5 February 2015 at 21:20, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 21:28 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: On Thu, Feb 5, 2015 at 11:34 AM, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 18:51 GMT+01:00 Eliot Miranda

Re: [Pharo-dev] [Pharo-users] Could we keep Pharo-dev for Pharo-dev?

2015-01-15 Thread Frank Shearar
On 15 January 2015 at 10:26, Stephan Eggermont step...@stack.nl wrote: Serge wrote: and point to Pharo StackOverflow questions/answers if necessary. That is a bad idea. Stackoverflow works pretty bad for us. Questions get closed by clueless moderators. The gaming system doesn't work for

Re: [Pharo-dev] PettitParser and Python

2015-01-13 Thread Frank Shearar
On 10 January 2015 at 18:32, Tudor Girba tu...@tudorgirba.com wrote: Hi, The challenge with Python parsing is dealing with whitespace properly. Jan Kurs was working on such a parser. I do not know how advanced it is. Jan? Maybe one can take inspiration from

Re: [Pharo-dev] Essay Topics

2015-01-09 Thread Frank Shearar
On 9 January 2015 at 13:23, horrido horrido.hobb...@gmail.com wrote: Topic #2: It is the contention of some critics, including Robert Martin https://www.youtube.com/watch?v=YX3iRjKj7C0 , that Smalltalk did not (does not?) address the needs of the enterprise. Present a counter-argument.

Re: [Pharo-dev] Julia vs Pharo

2014-11-17 Thread Frank Shearar
On 17 November 2014 16:05, Serge Stinckwich serge.stinckw...@gmail.com wrote: On Mon, Nov 17, 2014 at 5:01 PM, werner kassens wernerk...@gmail.com wrote: I never heard about this one. no wonderg, i got the name wrong, it was helvetia Ok, this is about domain-specific languages not multiple

Re: [Pharo-dev] Context variables?

2014-10-17 Thread Frank Shearar
Bear in mind that if you do any fancy stack slicing, you will get... *unexpected* behaviour from DynamicVariable. (See http://www.lshift.net/blog/2012/06/27/resumable-exceptions-can-macro-express-delimited-dynamic-variables/ and follow-on links.) frank On 15 October 2014 16:34, Camille Teruel

Re: [Pharo-dev] Parsing Pharo syntax to C/C++

2014-09-21 Thread Frank Shearar
On 20 September 2014 11:04, p...@highoctane.be p...@highoctane.be wrote: Le 20 sept. 2014 10:57, Frank Shearar frank.shea...@gmail.com a écrit : On 20 September 2014 08:45, p...@highoctane.be p...@highoctane.be wrote: A Le 20 sept. 2014 03:27, Alain Rastoul alf.mmm@gmail.com a écrit

Re: [Pharo-dev] Parsing Pharo syntax to C/C++

2014-09-20 Thread Frank Shearar
On 20 September 2014 08:45, p...@highoctane.be p...@highoctane.be wrote: A Le 20 sept. 2014 03:27, Alain Rastoul alf.mmm@gmail.com a écrit : Le 20/09/2014 02:33, p...@highoctane.be a écrit : We'll prevail! What we also need to do is to showcase the Smalltalk workflow and how nice

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Frank Shearar
On 4 August 2014 09:38, Clément Bera bera.clem...@gmail.com wrote: 2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com: Hi guys, I have a script that runs very slow and does a lot of non dependent operation of a collection. I wander if I can speed it up by making it run in

Re: [Pharo-dev] Pipe operator

2014-06-09 Thread Frank Shearar
On 8 June 2014 19:46, Camille Teruel camille.ter...@gmail.com wrote: On 8 juin 2014, at 19:20, Garth Holland steve9571...@hotmail.com wrote: The pipe operator appears in many languages (F#, Haskell, Elixir, Clojure (threading macro)). It's an elegant way of chaining method/function calls in

Re: [Pharo-dev] NaCL crypto_auth_hmacsha256

2014-06-09 Thread Frank Shearar
On 9 June 2014 11:37, François Stephany tulipe.mouta...@gmail.com wrote: Does anyone use the NaCl package to sign with HMAC SHA256 but we can't find what we need. We've naively added: apiCryptoAuthHMACSha256Output: outByteArray input: inByteArray inputLength: inByteArrayLength

Re: [Pharo-dev] Pipe operator

2014-06-08 Thread Frank Shearar
Vassili Bykov wrote about the pipe operator in Smalltalk back in 2007: http://blog.3plus4.org/2007/08/30/message-chains/ frank On 8 June 2014 18:20, Garth Holland steve9571...@hotmail.com wrote: The pipe operator appears in many languages (F#, Haskell, Elixir, Clojure (threading macro)). It's

Re: [Pharo-dev] Debugger weirdness

2014-06-03 Thread Frank Shearar
On 3 June 2014 13:46, Clément Bera bera.clem...@gmail.com wrote: 2014-06-03 14:09 GMT+02:00 Esteban Lorenzano esteba...@gmail.com: On 03 Jun 2014, at 08:52, Camille Teruel camille.ter...@gmail.com wrote: On 3 juin 2014, at 13:34, Clément Bera bera.clem...@gmail.com wrote: Hello, It

Re: [Pharo-dev] a Pharo talk from a ruby conference

2014-04-29 Thread Frank Shearar
On 29 April 2014 03:48, Sean P. DeNigris s...@clipperadams.com wrote: Esteban A. Maringolo wrote Plays well with choose your favorite text editor (Sublime, Vim, etc.) and IDEs (RubyMine, etc.), with source control systems (any file based system), with unix in general (several cli commands),

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-26 Thread Frank Shearar
Hi Stef, Thanks for the kind words! How would I go about doing that? frank On 26 March 2014 07:26, Pharo4Stef pharo4s...@free.fr wrote: Hi frank It would really great if you send an article on this to the ESUG workshop. I can help reviewing the draft if you want. Stef Yes:

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-25 Thread Frank Shearar
On 24 March 2014 23:33, p...@highoctane.be p...@highoctane.be wrote: On Tue, Mar 25, 2014 at 12:11 AM, Eliot Miranda eliot.mira...@gmail.com wrote: On Mon, Mar 24, 2014 at 4:02 PM, p...@highoctane.be p...@highoctane.be wrote: I am curious. Maybe on the first one, substitute something

Re: [Pharo-dev] Still something on squeaksource?

2014-03-12 Thread Frank Shearar
On 12 March 2014 13:34, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Because right now I’m experiencing difficulties with some projects as squeeksource returns 503. Maybe we should move everything to smalltalkhub? The box on which squeaksource.com is hosted is currently undergoing maintenance.

Re: [Pharo-dev] Issues 12717 and 12684

2014-01-30 Thread Frank Shearar
On 30 January 2014 14:21, Sean P. DeNigris s...@clipperadams.com wrote: I have nothing invested in the new name, but I think the current discussion is off-track... Henrik Sperre Johansen wrote No, its purpose is to *hold* a *value* in a single place That's the purpose of a regular

Re: [Pharo-dev] TraitComposition equality

2014-01-22 Thread Frank Shearar
It looks like you're asking if substitution (@) is commutative. In the general case it's not: T1 @ {#x - #y} @ {#y - #z} == T1 but T1 @ {#y - #z} @ {#x - #y} is not. I think Jan's suggestion of flattening the traits and then comparing them for semantic/structural equivalence is the right way

Re: [Pharo-dev] Smalltalk Impact

2014-01-17 Thread Frank Shearar
On 16 January 2014 23:16, Igor Stasenko siguc...@gmail.com wrote: On 16 January 2014 21:15, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: Le 16/01/2014 12:55, H. Hirzel a écrit : “We are not payed to work on Squeak”, that is what I got told… Probably correct at that time...

Re: [Pharo-dev] Smalltalk Impact

2014-01-17 Thread Frank Shearar
On 17 January 2014 10:49, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 11:27, Frank Shearar frank.shea...@gmail.com wrote: On 16 January 2014 23:16, Igor Stasenko siguc...@gmail.com wrote: On 16 January 2014 21:15, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: Le

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Frank Shearar
On 6 January 2014 11:11, Nicolai Hess nicolaih...@web.de wrote: 2014/1/6 Clément Bera bera.clem...@gmail.com Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte

Re: [Pharo-dev] printString and asString

2014-01-03 Thread Frank Shearar
On 3 January 2014 11:24, Otto Behrens o...@finworks.biz wrote: #printString and #printOn: protocol should be used for printing and #asString for conversion. This implies that #asString should not depend on #print protocol. Ah, I used it the other way around: printOn depends on asString. I

Re: [Pharo-dev] printString and asString

2014-01-03 Thread Frank Shearar
On 3 January 2014 11:44, Otto Behrens o...@finworks.biz wrote: 'Conversion' implies using the resulting String in some further computation. 'Printing' usually implies displaying something to the user (and nothing more), or serialising to a file/network. What kinds of computation are you

Re: [Pharo-dev] SIXX on large files

2014-01-03 Thread Frank Shearar
On 3 January 2014 20:07, Sebastian Sastre sebast...@flowingconcept.com wrote: It's probable unrelated to size as expected. For the record: I've changed the XMLParser and the new one complained about a problem on a specific line that has this content sixx.object sixx.id=1106 sixx.name=key

Re: [Pharo-dev] Please stop top posting... (was Re: Tell me about your workflow)

2013-12-17 Thread Frank Shearar
On 17 December 2013 19:56, Göran Krampe go...@krampe.se wrote: On 12/17/2013 03:30 PM, Sergi Reyner wrote: I came to the conclusion, some years ago, that I will continue to strive to quote properly, and the rest of the world is free to do whatever they want. And I am then free to just ignore

Re: [Pharo-dev] Please stop top posting... (was Re: Tell me about your workflow)

2013-12-17 Thread Frank Shearar
On 17 December 2013 16:45, Chris Muller asquea...@gmail.com wrote: Ah. I hadn't thought that many devs actually use the web UI for gmail, but perhaps they are :) But that would defeat one of the primary purpose of using web email which is access from any machine. Besides that, Gmail has

Re: [Pharo-dev] Please stop top posting... (was Re: Tell me about your workflow)

2013-12-17 Thread Frank Shearar
On 17 December 2013 16:42, Chris Muller asquea...@gmail.com wrote: If you use Gmail, doing the right thing is now _hard_. (It's a click-the-ellipsis, then a find-the-place-to-edit, then hit return to No need for the fine-motor click, just use right-arrow + Enter. How did you find that out?

Re: [Pharo-dev] [Moose-dev] #deepCollect:

2013-12-13 Thread Frank Shearar
On 13 December 2013 17:02, Chris Cunningham cunningham...@gmail.com wrote: Hi. I was reading with interest the blog post on Traversal-enabled objects ( http://www.humane-assessment.com/blog/traversal-enabled-pharo-objects ) when I noticed the method #deepCollect: referenced. Interestingly, I

Re: [Pharo-dev] Is variable shadowing a feature or a bug?

2013-12-12 Thread Frank Shearar
On 12 December 2013 14:44, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: I just discovered that in Pharo 3 you can do: [ :bool | self logCr: bool. bool := false. self logCr: bool. ] value: true Is this a bug or a feature ? That's not a shadow, from what I can see? It is an

Re: [Pharo-dev] The Future of Programming ~ Bret Victor

2013-12-09 Thread Frank Shearar
On 9 December 2013 11:37, Sven Van Caekenberghe s...@stfx.eu wrote: On 09 Dec 2013, at 12:16, Sebastian Sastre sebast...@flowingconcept.com wrote: Brilliant talk guys, it's a must watch for smalltalkers, you'll love it https://vimeo.com/71278954 Anybody here knows Bret? Yes, we do ;-)

Re: [Pharo-dev] Pharo 3 package dependencies visualization

2013-12-07 Thread Frank Shearar
On 7 December 2013 20:21, Hernán Morales Durand hernan.mora...@gmail.com wrote: You could be interested in viewing some circular dependencies (red lines) in Pharo 3 generated with GraphViz/PackageDependencies using http://www.smalltalkhub.com/#!/~hernan/GraphViz

Re: [Pharo-dev] Unifying Testing Ideas

2013-12-04 Thread Frank Shearar
On 4 December 2013 10:01, Attila Magyar m.magy...@gmail.com wrote: Sean P. DeNigris wrote Are you interested in integrating my changes into the current API? If so, I'll refactor them and clean them up. I personally would find it difficult to use the library without them. Coming from Ruby, a

Re: [Pharo-dev] Unifying Testing Ideas

2013-12-04 Thread Frank Shearar
On 4 December 2013 11:34, Sean P. DeNigris s...@clipperadams.com wrote: The reason for my initial hesitation was that... in rspec, it is easy to stub out global class objects and... I don't think this is the right solution for the problem. Ha ha, you were right to be cautious. I've been

Re: [Pharo-dev] Responsible development

2013-12-02 Thread Frank Shearar
On 02 Dec 2013, at 19:30, Stéphane Ducasse stephane.duca...@inria.fr wrote: In clojure they have STM so they can somehow control concurrent effect with readonly structure (I forgot). I thought that it would be interesting to see what would be an STM for Pharo but this is a real phds

Re: [Pharo-dev] Stepping through with GLORP Proxies

2013-11-29 Thread Frank Shearar
On 29 November 2013 21:02, Eliot Miranda eliot.mira...@gmail.com wrote: Does the Pharo debugger use the mirror primitives yet? Unless InstructionStream and ContextPart have been updated to use objectClass: and objectInstVarAt: et al then the debugger will be fooled by proxies. I really need

[Pharo-dev] RabbitMQ support (was Re: The Second Coming of Java article)

2013-11-26 Thread Frank Shearar
On 26 November 2013 12:21, p...@highoctane.be p...@highoctane.be wrote: On the front of interoperability, I personally have chosen to go the RabbitMQ route, it allows me to wire all kinds of things together with some room for scale. What are you using on the Smalltalk side? I know Tony

Re: [Pharo-dev] Xtreams in Pharo 3

2013-11-23 Thread Frank Shearar
On 23 November 2013 09:41, Stéphane Ducasse stephane.duca...@inria.fr wrote: If Xtreams goes in the core of Pharo (which could be good), there should be no compatibility layers with others platforms. Sorry but we have too many of them and we do not want to have strings attached. if

Re: [Pharo-dev] Patches for Pharo packages you are maintaining

2013-11-23 Thread Frank Shearar
On 23 November 2013 20:35, Marcus Denker marcus.den...@inria.fr wrote: On 23 Nov 2013, at 21:25, Camillo Bruni camillobr...@gmail.com wrote: On 2013-11-23, at 11:02, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: Le 23/11/2013 09:51, Camillo Bruni a écrit : opened

Re: [Pharo-dev] Loading Xtreams in Pharo

2013-11-21 Thread Frank Shearar
On 21 November 2013 11:29, Torsten Bergmann asta...@gmx.de wrote: https://ci.inria.fr/pharo-contribution/job/Xtreams/ still a little rough, but it is a start. If possible I would like to see the project itself moved over from SqS to STHub. Not as a Pharo fork but as a replacement for the

Re: [Pharo-dev] In-memory FileSystem write streams not being polymorphic

2013-11-13 Thread Frank Shearar
On 13 November 2013 16:48, Chris Muller asquea...@gmail.com wrote: I know nothing about Xtreams but, IMO, this obsession with sterility borders on mental illness. All sort of un-needed complexity? That's overstating it a bit, don't you think? So you must really feel stressed that ALL

Re: [Pharo-dev] In-memory FileSystem write streams not being polymorphic

2013-11-12 Thread Frank Shearar
Yep, they do. build.squeak.org uses this repo. See also https://code.google.com/p/xtreams/issues/detail?id=2 About time for us to pick up this work? frank On 12 November 2013 21:29, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: And the tests pass, except the file tests which are

Re: [Pharo-dev] [OT] Booting on top of JS in webbrowser

2013-11-09 Thread Frank Shearar
Will do! frank On 9 November 2013 00:54, Stéphane Ducasse stephane.duca...@inria.fr wrote: Let us know if you retry because I would like to add that to the pharo topics. Stef On Nov 6, 2013, at 4:32 PM, Frank Shearar frank.shea...@gmail.com wrote: On 6 November 2013 15:25, Torsten

Re: [Pharo-dev] [OT] Booting on top of JS in webbrowser

2013-11-06 Thread Frank Shearar
On 6 November 2013 15:25, Torsten Bergmann asta...@gmx.de wrote: While in the past we had OS-platforms where Smalltalk provided VM solutions. Then there was/is .NET and Java as platform. Nowedays the browser becomes the next platform with bootable stuff directly on top of JavaScript.

Re: [Pharo-dev] Github and Pharo

2013-11-02 Thread Frank Shearar
On 2 November 2013 21:29, kilon alios kilon.al...@gmail.com wrote: I have used Github for smalltalk projects back when I was still using Squeak. I just was filling out packages and manually copying the st files to my git repo that I then committed to my Github account. It was the manual

Re: [Pharo-dev] Losing instance variable addition

2013-11-01 Thread Frank Shearar
On 1 November 2013 03:36, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Oct 31, 2013, at 11:37 PM, Igor Stasenko siguc...@gmail.com wrote: Btw, if you remember, i already proposed how to solve 'extending object's state with arbitrary state' , mainly by changing the object format to

Re: [Pharo-dev] Formatting dates

2013-10-30 Thread Frank Shearar
On 30 October 2013 20:55, blake dsblakewat...@gmail.com wrote: Heya, guys-- Converting a Ruby program to Pharo, and one of the things this program does is write a file out by date. The format is mmdd (which is my preferred naming convention). In Ruby I have: %04d % d.year + %02d %

Re: [Pharo-dev] Tests with multiple processes

2013-10-29 Thread Frank Shearar
If you're going to even think of using callbacks like they do in Javascript, strongly reconsider. Especially so since the Javascript community are abandoning callbacks in favour of promises, especially of the A+ sort. (Squeak has such Promises in the base image, and if anyone's interested I can

Re: [Pharo-dev] realtime

2013-10-18 Thread Frank Shearar
On 18 October 2013 08:22, Paul Davidowitz pdavi...@fastmail.fm wrote: Can Pharo be used for 'realtime' applications such as music midi or metronome? Isn't garbage collection a concern? (But I once read that Tektronix used Smalltalk in their oscilloscopes.) Stéphane Rollandin has been doing

Re: [Pharo-dev] default monospaced code font

2013-10-18 Thread Frank Shearar
That's why we call it a bikeshed: if you ask for opinions on something deeply arcane (nuclear reactor plans, compilers, ...) you get no reaction because the investment needed to actually comment properly is just too high. But everyone knows how to build a bikeshed, so everyone fights over the

Re: [Pharo-dev] Starting image gives FileWriteError: File stdout is closed - huh?

2013-10-06 Thread Frank Shearar
On 6 October 2013 11:21, p...@highoctane.be p...@highoctane.be wrote: Now, when starting my image: FileWriteError: File stdout is closed MultiByteFileStream(StandardFileStream)primWrite:from:startingAt:count: MultiByteFileStream(StandardFileStream)next:putAll:startingAt:

Re: [Pharo-dev] How to test the same behavior with different data

2013-09-25 Thread Frank Shearar
generate per test run ? Noury On 23 sept. 2013, at 11:19, Frank Shearar wrote: I played around with a combination of data driven testing and random data generation a while back: * http://www.lshift.net/blog/2011/09/13/checking-squeak-quickly * http://www.squeaksource.com/SqueakCheck

Re: [Pharo-dev] How to test the same behavior with different data

2013-09-23 Thread Frank Shearar
I played around with a combination of data driven testing and random data generation a while back: * http://www.lshift.net/blog/2011/09/13/checking-squeak-quickly * http://www.squeaksource.com/SqueakCheck/ There is a ConfigurationOf there. It integrates with SUnit by adding a new kind of TestCase

Re: [Pharo-dev] 11635: Race condition in SequenceableCollectionshuffle

2013-09-23 Thread Frank Shearar
On 23 September 2013 14:34, Max Leske maxle...@gmail.com wrote: On 23.09.2013, at 15:20, Frank Shearar frank.shea...@gmail.com wrote: On 23 September 2013 14:17, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Here is my 100% personal opinion: I don't like the copyShuffle. To me

Re: [Pharo-dev] The future of SqueakSource

2013-08-21 Thread Frank Shearar
On 21 August 2013 18:00, Andrei Vasile Chis chisvasileand...@gmail.com wrote: Hi all, We will shut down the SqueakSource image at the end of next week (30 August 2013). The current system will be replaced by a simple view of the file system containing just the publicly visible projects. As

Re: [Pharo-dev] killing all uses of caseOf: and caseOf:otherwise from the image

2013-08-01 Thread Frank Shearar
On 1 August 2013 12:13, Frank Shearar frank.shea...@gmail.com wrote: On 1 August 2013 12:07, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys we should not use caseOf: in the image. So I will start removing them. Other than switching on _type_, what is the problem? foo caseOf

Re: [Pharo-dev] Notification extends Exception...

2013-07-11 Thread Frank Shearar
On 11 July 2013 14:26, Guillaume Larcheveque guillaume.larcheve...@gmail.com wrote: An exception sounds to me like something that is not expected. In my opinion, a notification is not an exception but just an information. It's a terminology problem. The Smalltalk class Exception does not

Re: [Pharo-dev] Notification extends Exception...

2013-07-11 Thread Frank Shearar
On 11 July 2013 17:26, Camillo Bruni camillobr...@gmail.com wrote: On 2013-07-11, at 18:12, Sven Van Caekenberghe s...@stfx.eu wrote: On 11 Jul 2013, at 18:05, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Catching all/any Exception is generally considered a code smell In Pharo

Re: [Pharo-dev] Notification extends Exception...

2013-07-11 Thread Frank Shearar
all fine and good, except Smalltalk defined what exception meant in 1980. Common Lisp uses the word condition. Also, almost by definition, Java is wrong. frank 2013/7/11 Frank Shearar frank.shea...@gmail.com On 11 July 2013 17:26, Camillo Bruni camillobr...@gmail.com wrote: On 2013-07-11, at 18

Re: [Pharo-dev] the return of the strange methods

2013-07-09 Thread Frank Shearar
On 9 July 2013 16:24, Camillo Bruni camillobr...@gmail.com wrote: Survey: who uses the following methods? and if yes why? - shouldnt: aBlock raise: anExceptionalEvent whoseDescriptionDoesNotInclude: subString description: aString - shouldnt: aBlock raise: anExceptionalEvent

Re: [Pharo-dev] the return of the strange methods

2013-07-09 Thread Frank Shearar
? If something should not raise a KeyNotFound exception, which would you regard as more useful: KeyNotFound or 'foo' key not found ? frank 2013/7/9 Frank Shearar frank.shea...@gmail.com On 9 July 2013 16:24, Camillo Bruni camillobr...@gmail.com wrote: Survey: who uses the following methods? and if yes

Re: [Pharo-dev] the return of the strange methods

2013-07-09 Thread Frank Shearar
bug ? 2013/7/9 Frank Shearar frank.shea...@gmail.com On 9 July 2013 16:24, Camillo Bruni camillobr...@gmail.com wrote: Survey: who uses the following methods? and if yes why? - shouldnt: aBlock raise: anExceptionalEvent whoseDescriptionDoesNotInclude: subString description: aString

Re: [Pharo-dev] should:raise:description:

2013-07-09 Thread Frank Shearar
On 9 July 2013 19:45, Camillo Bruni camillobr...@gmail.com wrote: I continue my rant with should:raise:description: a) self should: [ Error signal: 'error message' ] raise: Halt description: 'message'. b) self should: [ 1 + 2 ] raise: Halt description: 'message'.

Re: [Pharo-dev] filetree jenkins job

2013-07-08 Thread Frank Shearar
On 7 July 2013 23:11, Camillo Bruni camillobr...@gmail.com wrote: I will change SUnit first produce proper error messages for the #shouldnt:raise: methods since I cannot properly debug them. Additionally at the point where the #:assert: happens the wrong exception is not in the context which

Re: [Pharo-dev] Versions Browser over gitfiletree://

2013-06-27 Thread Frank Shearar
On 27 June 2013 09:49, Goubier Thierry thierry.goub...@cea.fr wrote: Le 27/06/2013 10:30, Camillo Bruni a écrit : On 2013-06-27, at 10:32, Goubier Thierry thierry.goub...@cea.fr wrote: Le 27/06/2013 10:14, Camillo Bruni a écrit : I like the fact that I can do git log --pretty=%H

Re: [Pharo-dev] Pharo does not work on ubuntu 13.04

2013-06-25 Thread Frank Shearar
On 25 June 2013 14:33, dimitris chloupis theki...@yahoo.co.uk wrote: Just wanted to inform you that pharo does not work on ubuntu 13.04 at least using this link http://files.pharo.org/platform/Pharo3.0-linux.zip it fails at running the binary inside the bin folder, i tried to run it

Re: [Pharo-dev] Pharo does not work on ubuntu 13.04

2013-06-25 Thread Frank Shearar
On 25 June 2013 15:10, Goubier Thierry thierry.goub...@cea.fr wrote: Le 25/06/2013 15:52, kilon a écrit : Thiery must be correct I am must be missing i386 libraries cause my ubuntu is amd64 , how I get them ? Also can someone update the site so ubuntu users don't have the same problem as

Re: [Pharo-dev] ZeroConf and write permission

2013-06-12 Thread Frank Shearar
Or curl http://get.pharo.org/vm | sudo bash. frank On 12 June 2013 06:26, Sven Van Caekenberghe s...@stfx.eu wrote: I think the sudo only takes the first command, curl, not the bash. Maybe sudo curl -L get.pharo.org/vm | bash or something like that ? Sven On 12 Jun 2013, at 03:58, Sean P.

Re: [Pharo-dev] ZeroConf and write permission

2013-06-12 Thread Frank Shearar
On 12 June 2013 11:40, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-12, at 12:13, Frank Shearar frank.shea...@gmail.com wrote: Or curl http://get.pharo.org/vm | sudo bash. that was my first guess, but it didn't work under my zsh shell and mac... Strange. It works in bash. frank

Re: [Pharo-dev] ZeroConf and write permission

2013-06-12 Thread Frank Shearar
On 12 June 2013 11:51, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-12, at 12:49, Frank Shearar frank.shea...@gmail.com wrote: On 12 June 2013 11:40, Camillo Bruni camillobr...@gmail.com wrote: On 2013-06-12, at 12:13, Frank Shearar frank.shea...@gmail.com wrote: Or curl http

Re: [Pharo-dev] Modification on CollectionsExtensions

2013-06-11 Thread Frank Shearar
On 11 June 2013 14:18, Sebastian Tleye stl...@gmail.com wrote: Hello, Fixing some bugs in Traits we realized that it would be good idea to use CollectionsExtensions package (it has some useful functions), also it would be great to include CollectionsExtensions in Pharo 3.0. Is this the HPI

Re: [Pharo-dev] Modification on CollectionsExtensions

2013-06-11 Thread Frank Shearar
On 11 June 2013 15:37, Camille Teruel camille.ter...@gmail.com wrote: On 11 juin 2013, at 15:18, Sebastian Tleye wrote: Hello, Fixing some bugs in Traits we realized that it would be good idea to use CollectionsExtensions package (it has some useful functions), also it would be great to

Re: [Pharo-dev] Lowecase class names

2013-06-06 Thread Frank Shearar
On 6 June 2013 10:37, kilon theki...@yahoo.co.uk wrote: When I was coding with python I used underscore instead of camel case. MorphWindow - morph_window and I also like common lisp approach MorphWindow - morph-window This is my favourite naming scheme. It's problematic from a Smalltalk

Re: [Pharo-dev] Necessity of TDD with Smalltalk

2013-06-06 Thread Frank Shearar
On 6 June 2013 14:44, Dennis Schetinin chae...@gmail.com wrote: TDD is not about tests (as a bug-finding/debugger tool) at all. And the anti-regression feature of TDD is just the secondary one. First of all, TDD is about structuring thinking/creation process. And test here is a tool that

Re: [Pharo-dev] Trait exclusions

2013-06-04 Thread Frank Shearar
On 4 June 2013 10:19, Sebastian Tleye stl...@gmail.com wrote: Hi Frank, i am currently working improving the implementation of traits in Pharo, Excellent! 2013/5/31 Frank Shearar frank.shea...@gmail.com On 31 May 2013 12:32, Stéphane Ducasse stephane.duca...@inria.fr wrote: On May 31

Re: [Pharo-dev] A screenshot we should remind today

2013-05-31 Thread Frank Shearar
On 31 May 2013 09:31, Sven Van Caekenberghe s...@stfx.eu wrote: On 31 May 2013, at 10:01, Pavel Krivanek pavel.kriva...@gmail.com wrote: happy nostalgia :-) Cheers, -- Pavel st80-19830531.png +1 It is amazing that so much of it still lives on. We've come a long way and the future

Re: [Pharo-dev] Trait exclusions

2013-05-31 Thread Frank Shearar
On 31 May 2013 12:01, Damien Cassou damien.cas...@gmail.com wrote: Hi Frank, On Wed, May 29, 2013 at 11:45 PM, Frank Shearar frank.shea...@gmail.com wrote: I have a Trait TGroup that requires #*, #identity and #inverse. I want to construct a TField by composing TGroup with itself. One

Re: [Pharo-dev] Trait exclusions

2013-05-31 Thread Frank Shearar
On 31 May 2013 12:32, Stéphane Ducasse stephane.duca...@inria.fr wrote: On May 31, 2013, at 1:28 PM, Frank Shearar frank.shea...@gmail.com wrote: On 31 May 2013 12:01, Damien Cassou damien.cas...@gmail.com wrote: Hi Frank, On Wed, May 29, 2013 at 11:45 PM, Frank Shearar frank.shea

Re: [Pharo-dev] Running coverage breaks the VM

2013-05-31 Thread Frank Shearar
I'll have to give this a try once I've upgraded my machine. I only have GLIBC_2.11 and this requires GLIBC_2.15. Excellent news though! frank On 31 May 2013 14:17, Guillermo Polito guillermopol...@gmail.com wrote: It is fixed in latest vm (which you can get from the zeroconf script

Re: [Pharo-dev] Pharo 3.2 Meeting

2013-05-31 Thread Frank Shearar
Excellent! frank On 31 May 2013 18:40, Esteban Lorenzano esteba...@gmail.com wrote: Yes but not to replace the current ones, just to allow the use :) On 31 May 2013, at 19:38, Frank Shearar frank.shea...@gmail.com wrote: Hmm... Circular menu - are you talking about implementing pie menus

Re: [Pharo-dev] Running coverage breaks the VM

2013-05-30 Thread Frank Shearar
_did_ neglect to mention the OS - it's Ubuntu Lucid Lynx on a 32 bit machine. frank On Sun, May 26, 2013 at 9:48 AM, Frank Shearar frank.shea...@gmail.com wrote: Hi, I wanted to see FileSystem's coverage, so I * downloaded 3.0 via curl http://get.pharo.org/30+vm | bash, * fired up the image

[Pharo-dev] Trait exclusions

2013-05-29 Thread Frank Shearar
I have a Trait TGroup that requires #*, #identity and #inverse. I want to construct a TField by composing TGroup with itself. One TGroup will form the operations #*, #one, and #reciprocal while the other will form #+, #zero and #negated. I don't want #identity or #inverse, because these apply to

Re: [Pharo-dev] Kernel Discussion

2013-05-25 Thread Frank Shearar
On 25 May 2013 11:55, Camillo Bruni camillobr...@gmail.com wrote: I've seen a lot of progress for the Pharo Kernel by Pavel recently and I really appreciate his work. But I have some questions I think we should discuss. There have been quite a few changes to make code work in the Kernel and

Re: [Pharo-dev] Kernel Discussion

2013-05-25 Thread Frank Shearar
On 25 May 2013 12:40, Igor Stasenko siguc...@gmail.com wrote: On 25 May 2013 12:55, Camillo Bruni camillobr...@gmail.com wrote: I've seen a lot of progress for the Pharo Kernel by Pavel recently and I really appreciate his work. But I have some questions I think we should discuss. There

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-23 Thread Frank Shearar
On 23 May 2013 07:01, stephane ducasse stephane.duca...@free.fr wrote: I would _love_ to be able to use Smalltalk at work. Until it can work properly with git, and people can use their own text editors (vim, emacs, sublime), and quite a few other bits and pieces, it's just a non-starter. it

Re: [Pharo-dev] AST Everywhere, Reflectivity

2013-05-22 Thread Frank Shearar
Why does ifTrue: use a compile-time transformation? There are LOTS of places where the Compiler (I can't speak for Opal, but it's almost certainly true of Pharo's Compiler unless you've already rewritten the whole thing before Opal) does all manner of code transformations. As for why, and what

Re: [Pharo-dev] 3.0 git tracker

2013-05-22 Thread Frank Shearar
On 22 May 2013 10:11, Camillo Bruni camillobr...@gmail.com wrote: On 2013-05-19, at 03:23, Igor Stasenko siguc...@gmail.com wrote: On 18 May 2013 02:31, Camillo Bruni camillobr...@gmail.com wrote: Pharo 3.0 is now properly tracked on github - https://github.com/pharo-project/pharo-core -

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-22 Thread Frank Shearar
On 22 May 2013 12:05, Goubier Thierry thierry.goub...@cea.fr wrote: I'm trying to setup a git-based build script from the command line and I end up unable to load a configuration from a filetree repository on the pharo command line. Has someone encountered that? It seems Gopher is missing a

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-22 Thread Frank Shearar
On 22 May 2013 12:13, Goubier Thierry thierry.goub...@cea.fr wrote: Le 22/05/2013 13:05, Frank Shearar a écrit : On 22 May 2013 12:05, Goubier Thierry thierry.goub...@cea.fr wrote: I'm trying to setup a git-based build script from the command line and I end up unable to load a configuration

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-22 Thread Frank Shearar
On 22 May 2013 12:49, stephane ducasse stephane.duca...@free.fr wrote: ./pharo Pharo.image config filetree://`pwd`/../src/ Fails on trying to execute #mcRepositoryAsUser:withPassword: on a GenericUrl instance inside Gofer. Yep, I'd agree with your assessment. Has Pharo forked Gofer, or does

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-22 Thread Frank Shearar
On 22 May 2013 13:13, Goubier Thierry thierry.goub...@cea.fr wrote: Le 22/05/2013 14:02, Frank Shearar a écrit : On 22 May 2013 12:49, stephane ducasse stephane.duca...@free.fr wrote: ./pharo Pharo.image config filetree://`pwd`/../src/ Fails on trying to execute

Re: [Pharo-dev] MC Filetree -- missing FiletreeURL ?

2013-05-22 Thread Frank Shearar
On 22 May 2013 13:20, Camillo Bruni camillobr...@gmail.com wrote: On 2013-05-22, at 14:02, Frank Shearar frank.shea...@gmail.com wrote: On 22 May 2013 12:49, stephane ducasse stephane.duca...@free.fr wrote: ./pharo Pharo.image config filetree://`pwd`/../src/ Fails on trying to execute

  1   2   >