Re: [Pharo-dev] [Pharo-users] About strange email related to smalltalkhub read-only on squeak-dev

2020-05-31 Thread Richard Sargent
Thanks, Bruce. The part about (the possibility that) squeak source is configured to restrict distribution was the missing piece for me. I had previously assumed (hah!) that it would be available to anyone anywhere. On Sun, May 31, 2020, 10:39 Bruce O'Neel wrote: > > Hi, > > So addressing only

Re: [Pharo-dev] [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-19 Thread Richard Sargent
in the issue created for the Windows 7 installation. Suggestion: Some of the lists are quite long. It might be useful to be able to sort them by e.g. name or date of last change, both ascending and descending. On Mon, Apr 16, 2018 at 9:54 AM, Richard Sargent < richard.s

Re: [Pharo-dev] [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Richard Sargent
I ran the launcher against my Windows 7 office computer and have created an issue with my feedback. https://github.com/pharo-project/pharo-launcher/issues/93 On Mon, Apr 16, 2018 at 7:13 AM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > Hi, > > Regarding the various problems Pharo

Re: [Pharo-dev] Ugly smell: really long symbols/selectors

2017-08-16 Thread Richard Sargent
Guillermo Polito wrote > but wait, I've just shown that more than 2/3s of them are not test > selectors... Well, quit teasing us. :-) Show us the list (longest to shortest order). I agree with you that it is a code smell and you are right to be suspicious. I'm inclined to say that if the method

Re: [Pharo-dev] Security in the image

2017-04-14 Thread Richard Sargent
LaeMing wrote > > Stephan Eggermont wrote >> On 12/04/17 09:34, LaeMing wrote: >>> What sort of security implications might that have and are there any >>> current >>> solutions to a multi-user single-image situation? >> >> Take a look at gemstone. >>

[Pharo-dev] Any plans for locale-specific printing and parsing of Date, Time, Number, etc.?

2017-03-31 Thread Richard Sargent
I think the title pretty well states it. I see nothing in the Pharo 5.0 download that allows locale-specific printing. Is there a well-defined API available? Is it on the road map for a future Pharo version? (If so, for any specific version?) Thanks! -- View this message in context:

Re: [Pharo-dev] strange idea about slots

2017-03-01 Thread Richard Sargent
Ben Coman wrote > I'm not sure I'm thinking straight, but I wonder... > Can you put Slots inside an Association? > > For example, could have two slots x and y, > and then be able to do the following... > > (x -> y) substitute: (1 -> 2). > self assert: x equals: 1. > self assert: y

[Pharo-dev] The 2017 Stack Overflow Developer Survey is Now Live

2017-01-13 Thread Richard Sargent
Arden Thomas reports "Questions 39 and 47 give us an opportunity to mention Smalltalk." http://stackoverflow.blog/2017/01/The-2017-Stack-Overflow-Developer-Survey-is-Now-Live/ -- View this message in context:

[Pharo-dev] Can anyone explain #asInteger for Strings?

2017-01-12 Thread Richard Sargent
I've come across an implementation of #asInteger and #asSignedInteger in Pharo 3.0 that leaves me scratching my head. Can anyone explain why it was defined to answer what it does for strings that one would really not expect to parse as a number. 'abc-123-xyz-897' asSignedInteger ===> -123

Re: [Pharo-dev] GitHub code analytics tools

2016-10-28 Thread Richard Sargent
Dale Henrichs-3 wrote > Guillermo, > > Apparently you don't like the github browser-based code review tool? > > What are your objections? > > Do you know of a better tool that is out in the wild or do you just have > visions that code review could be better? Let me add some thoughts on review

Re: [Pharo-dev] New to Pharo; a bunch of questions.

2016-10-03 Thread Richard Sargent
CodeDmitry wrote > Ok I got the proof of concept down, but I can't get it all to run at once > since Pharo realizes that the class does not exist(at the time of > running), even though it will exist by the time it gets to that line. > > Is there a way to modify the following Transcript code make

Re: [Pharo-dev] New to Pharo; a bunch of questions.

2016-10-03 Thread Richard Sargent
CodeDmitry wrote > It's just nice to have a standalone code that I can give to my friends > that they can read and run to create the structure without having to setup > everything themselves, but at the same time not needing to use a package. > > A standalone script is quite elegant for

Re: [Pharo-dev] New to Pharo; a bunch of questions.

2016-10-03 Thread Richard Sargent
CodeDmitry wrote > @askoh > > Ryerson University, Pragmatic Programming Languages teaches Smalltalk, and > Introduction to Object Oriented Programming does too. Well, be sure to check out the Toronto Smalltalk User Group! http://www.smalltalk.ca/ says they meet at Ryerson. I'm not sure that's

Re: [Pharo-dev] Getting Pharo to Mars?

2016-09-29 Thread Richard Sargent
Clément Bera-4 wrote > The first thing is to get naturalised as a US citizen. I think you would be much further ahead to find someone who works for the ESA. (Or maybe approach the ESA itself directly!) > It seems that the space market has been opened to private companies in the > US, but

Re: [Pharo-dev] Binary selector and special characters

2016-09-01 Thread Richard Sargent
Nicolai Hess-3-2 wrote > 2016-08-31 17:31 GMT+02:00 John Brant > brant@ > : > >> On 08/31/2016 08:46 AM, Nicolai Hess wrote: >> >> Anyone knows why RefactoringBrowsers smalltalk scanner (RBScanner) >>> explicit allowes >>> "#($± $· $× $÷)" to be binary selector characters ? >>> >> >> I do --

Re: [Pharo-dev] Abotu FileReference objects as autoevaluating ones

2016-08-19 Thread Richard Sargent
stepharo wrote > about > https://pharo.fogbugz.com/f/cases/18956/FileReference-printString-should-be-auto-evaluable > > > 'tmp/foo.txt' asFileReference > > > File @ tmp/foo.txt > > and it would be much much better to get back > 'tmp/foo.txt' asFileReference > > So that we can get > {

Re: [Pharo-dev] Having comments for pragma?

2016-07-08 Thread Richard Sargent
Tudor Girba-2 wrote > Hi, > >> On Jun 27, 2016, at 7:55 PM, Eliot Miranda > eliot.miranda@ > wrote: >> >> Hi Doru, >> >> On Mon, Jun 27, 2016 at 6:36 AM, Tudor Girba > tudor@ > wrote: >> Hi Eliot, >> >> I agree with most things you say (except the conclusion :)), and I think >> that we

[Pharo-dev] GemStone/S 3.3.1 released

2016-06-23 Thread Richard Sargent
Dear GemTalk Customers, We are pleased to announce the release of GemStone/S 64 Bit 3.3.1, a maintenance release providing a number of important features and bug fixes, including support for handling ICU library version changes over upgrade. We encourage all GemStone/S customers to upgrade to

Re: [Pharo-dev] Philosophy here

2016-04-05 Thread Richard Sargent
Igor Stasenko wrote > (This philosophical post provoked by discussion in another thread where we > talking about cases of implementing wrappers and layers of composition.) > > To achieve more you shall do more. > Usual truth thing in daily life. > Not so true for programming. > It actually > 'do

Re: [Pharo-dev] Catching Exceptions without any notice

2016-03-30 Thread Richard Sargent
Nicolas Cellier wrote > Isn't catching too wide an anti-pattern? Yes! Just think of all the Exception subclasses which are *not* errors. This kind of thing effectively disables them. > 2016-03-30 13:33 GMT+02:00 Nicolai Hess > nicolaihess@ > : > >> Please don't do this: >> >> updateHeight

Re: [Pharo-dev] Git written entirely in Smalltalk?

2016-02-24 Thread Richard Sargent
Ben Coman wrote > Max, > > The other say I was contemplating having a git implementation written > entirely in Pharo, and today I bumped into something from your history > (~2011?) [1] indicating this might have been attempted. I'm curious > why this was abandoned in favour of libgit bindings.

[Pharo-dev] GemStone/S 64 Bit 3.3, VSD 5.1.1, GBS 8.1 and 5.4.3, and GBJ 3.1.2 Releases

2016-02-10 Thread Richard Sargent
Dear GemTalk customers, We are pleased to announce several important releases on our GemStone/S 64 Bit, GemBuilder for Smalltalk, and GemBuilder for Java product lines. GemStone/S 64 Bit 3.3 is a major release, including many new features, improvements, and bug fixes.

Re: [Pharo-dev] newFrom: vs. withAll:

2016-02-09 Thread Richard Sargent
stepharo wrote > Hi guys > > I was looking at the Collection chapter and I stumbled upon newFrom: and > I wonder what is the real > difference between newFrom: and withAll:. > I have the impression that there is not much difference. There are only > 47 senders of newFrom: in the default Pharo

Re: [Pharo-dev] Disable assertions (design by contract)

2016-01-29 Thread Richard Sargent
Eliot Miranda-2 wrote > Hi Richard, > >> On Jan 28, 2016, at 2:15 PM, Richard Sargent > richard.sargent@ > wrote: >> >> Aliaksei Syrel wrote >>> Hi >>> >>> Assertions play an important role in design by contract. It is great to

Re: [Pharo-dev] Disable assertions (design by contract)

2016-01-28 Thread Richard Sargent
Aliaksei Syrel wrote > Hi > > Assertions play an important role in design by contract. It is great to > have assertions in Pharo out of box (Object>>#assert:). However in > projects > with many post- and precondition as also class invariants heavy usage of > assertions decreases performance... >

Re: [Pharo-dev] happy lessons from recent talks

2016-01-12 Thread Richard Sargent
Tudor Girba-2 wrote > Hi, > > I just wanted to share with you a bit of a different perspective on what > we do around here. > > Over the past half a year I gave several talks to some 1k technical people > at industrial events like ArchConf, NDC Oslo and several others. The tour > will continue

Re: [Pharo-dev] doing stupid things (image will become unusable)

2015-12-14 Thread Richard Sargent
Nicolai Hess-3 wrote > Object := nil > > you can evaluate that piece of code, but afterwards > > Opal checks for assignments to read only variables (method arguments for > example) > and signals an error if you try to modify those vars. > But it does not check globals. > > Should all

Re: [Pharo-dev] [Cuis] Sorting Unicode strings (Re: [Unicode] collation sequences (Re: [squeak-dev] Unicode Support))

2015-12-14 Thread Richard Sargent
EuanM wrote > Hi Todd, it's taken me til now to put my thoughts into words on this > issue. > > I think we should make it work first. This will allow us to gain more > insight into the issues, and create documentation about the process > that we, as a community, understand. > > If ICU is the

Re: [Pharo-dev] Unicode Support

2015-12-11 Thread Richard Sargent
EuanM wrote > ... > all ISO-8859-1 maps 1:1 to Unicode UTF-8 > ... I am late coming in to this conversation. If it hasn't already been said, please do not conflate Unicode and UTF-8. I think that would be a recipe for a high P.I.T.A. factor. Unicode defines the meaning of the code

[Pharo-dev] Does anyone remember details of a "pro-Smalltalk" merger circa 2013?

2015-10-30 Thread Richard Sargent
I heard an anecdote of a recent merger between two companies in which one had over 200 people supporting a Java application and the other had ~25 people supporting a Smalltalk application. The surprising result was that the Smalltalk application was selected for the merged company rather than the

Re: [Pharo-dev] Is "Enterprise Pharo" available in PDF?

2015-10-22 Thread Richard Sargent
Thanks! -- View this message in context: http://forum.world.st/Is-Enterprise-Pharo-available-in-PDF-tp4857121p4857380.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

[Pharo-dev] Is "Enterprise Pharo" available in PDF?

2015-10-21 Thread Richard Sargent
In looking at http://files.pharo.org/books/enterprisepharo/, I see a link to get the book in PDF form. ("The full book is available as a free printable PDF download.") The link takes me to https://gforge.inria.fr/scm/?group_id=3552, which seems to be the source code repository. Is the PDF version

Re: [Pharo-dev] method return-typing (was Re: DateTime api)

2015-08-19 Thread Richard Sargent
Ben Coman wrote On Tue, Aug 18, 2015 at 1:21 AM, Yuriy Tymchuk lt; yuriy.tymchuk@ gt; wrote: Hi, there are some weird things around the data time API. So time-related classes are using methods like #asNanoSeconds. And numbers do not implements it. But they do implement methods as

Re: [Pharo-dev] line endings

2015-08-05 Thread Richard Sargent
VisualWorks uses CR. I suspect that is because the original Smalltalk-80 did so. (I don't know what Squeak does. Is it CR, too?) -- View this message in context: http://forum.world.st/line-endings-tp4840829p4841133.html Sent from the Pharo Smalltalk Developers mailing list archive at

Re: [Pharo-dev] Stack

2015-06-30 Thread Richard Sargent
Sean P. DeNigris wrote Thierry Goubier wrote I consider that subclassing should be used for implementation reuse and not for subtyping. That is the GoF position and it makes a lot of sense to me. In fact, I think we Smalltalkers suffer from McLuhan's people become their tools syndrome in

Re: [Pharo-dev] Pratt Parsers for PetitParser

2015-06-10 Thread Richard Sargent
camille teruel wrote On 10 Jun 2015, at 19:11, Chris Cunningham lt; cunningham.cb@ gt; wrote: Inteteresting On Wed, Jun 10, 2015 at 9:36 AM, Camille lt; camille.teruel@ lt;mailto: camille.teruel@ gt; wrote: Hello Pharoers and Moosers, I did a Pratt parser extension for

Re: [Pharo-dev] Comments in STON

2015-06-08 Thread Richard Sargent
Damien Cassou-2 wrote Sven Van Caekenberghe lt; sven@ gt; writes: I am not so sure we should add that. The JSON spec explicitly does not allow comments because of fear of abuse (that the comments would be used to add semantic meaning outside the spec). really? That's surprising.

Re: [Pharo-dev] Refactoring File Package

2015-06-08 Thread Richard Sargent
Ben Coman wrote On Sat, Jun 6, 2015 at 5:26 PM, Guillermo Polito lt; guillermopolito@ gt; wrote: Actually we just want to have a kind of split in: - essential - non-essential I guess you have scripts outside the image to shrink the image and then bootstrap it. However these are not

Re: [Pharo-dev] Null Coalesce Operator?

2015-05-21 Thread Richard Sargent
abergel wrote Hi! I perfectly understand the purpose of this method ??” Although I do not think this will seriously impact the quality of the code being produced, ... Actually, I would argue it that it would degrade the quality of code. There is less clarity conveyed by infix operators than

Re: [Pharo-dev] Roadmap

2015-04-21 Thread Richard Sargent
Dmitri Zagidulin wrote Similar question - are there any roadmap plans to add Dictionary literals to Pharo? Please be careful of complicating the language syntax. Perhaps the better solution is to improve the optimizer until it can recognize the fact that the expression really is constant and

Re: [Pharo-dev] Duration year

2015-03-20 Thread Richard Sargent
Maximiliano Taborda wrote Hi all. The same examples using Chaltén: February twentyninth, 2012 next: 1 yearMeasure. = February 28th, 2013 This I don't get. Why would February 28th + 1 day + 1 year ever not be March 1st? ~75% of the time it would be, but ~25% it would be a day less?

Re: [Pharo-dev] About Matrix API access

2015-02-17 Thread Richard Sargent
stepharo wrote ... | matrix23 | matrix23 := Matrix rows: 3 columns: 2. matrix23 at: 1 at: 1 put: 11. What? #at:at:put:? That *will* cause errors. The ats are effectively anonymous keywords. I hope the API can still be changed. e.g. #atRow:column:put: and possibly also #atColumn:row:put:.

Re: [Pharo-dev] ||

2015-02-04 Thread Richard Sargent
Levente Uzonyi-2 wrote On Tue, 3 Feb 2015, Marcus Denker wrote: On 03 Feb 2015, at 09:17, Marcus Denker lt; marcus.denker@ gt; wrote: On 02 Feb 2015, at 21:47, Eliot Miranda lt; eliot.miranda@ gt; wrote: Hi All,     code as in the double bars forming the end of

Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-30 Thread Richard Sargent
Nevena Milojkovic wrote Can anyone suggest me tool for automatic design patterns detection in Smalltalk? The rewrite tool in the Refactoring Browser has the potential, but I strongly suspect the problem is intractable. By the way, the rewrite tool is powerful but difficult to figure out and

Re: [Pharo-dev] ObjectlogCr ?

2015-01-16 Thread Richard Sargent
abergel wrote ... why printString is used and not asString? ... As stepharo pointed out, #asString is a conversion method. It is often misused and misrepresented (see especially Java's toString() method). It is important to clearly distinguish purpose, so we often see #printString,

Re: [Pharo-dev] What is the limit

2014-11-25 Thread Richard Sargent
EstebanLM wrote On 24 Nov 2014, at 23:48, phil@ wrote: On mobile, large apps are not staying installed for long as they are all competing for the always too small space. If say Twitter will do with is huge size, other apps will be compared to it. Which means that a 30 mégas app us a

Re: [Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?

2014-10-27 Thread Richard Sargent
Sean P. DeNigris wrote If you don't need the UI, just load the 'Core' group and you should be fine. Thanks for replying, Sean. Unfortunately, I don't know how to process your answer. What actions do I need to do in what window or what expressions do I need to evaluate to achieve this? And

Re: [Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?

2014-10-27 Thread Richard Sargent
Paul DeBruicker wrote If ConfigurationOfPetitParser is loaded in your image you should be able run the following code in a workspace to load the 'Core' metacello group: ConfigurationOfPetitParser project stableVersion load: 'Core' I'm not sure of the canonical location of the

[Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?

2014-10-24 Thread Richard Sargent
I appear to have found .43 of ConfigurationOfPetitParser, but it seems to want Glamour, and Glamour seems to want other stuff ... What do I have to load, from where, in what order? Thanks, Richard -- View this message in context:

Re: [Pharo-dev] CompiledMethodhash can produce clashes

2014-10-17 Thread Richard Sargent
Ben Coman wrote Richard Sargent wrote: Eliot Miranda-2 wrote On Wed, Oct 15, 2014 at 10:50 AM, Richard Sargent richard.sargent@ wrote: One of the best things about Smalltalk is how easily we can say what we mean. I think you would be better off creating a method named something like

Re: [Pharo-dev] CompiledMethodhash can produce clashes

2014-10-15 Thread Richard Sargent
Eliot Miranda-2 wrote I responded... I have to disagree with your recommendation. You say that you intend #= to mean has the same effect as rather than is the same as. One of the best things about Smalltalk is how easily we can say what we mean. I think you would be better off creating a

Re: [Pharo-dev] CompiledMethodhash can produce clashes

2014-10-15 Thread Richard Sargent
Eliot Miranda-2 wrote On Wed, Oct 15, 2014 at 10:50 AM, Richard Sargent richard.sargent@ wrote: One of the best things about Smalltalk is how easily we can say what we mean. I think you would be better off creating a method named something like #hasSameEffectAs: to answer what you

Re: [Pharo-dev] Headless mode loss of focus under windows 7

2014-07-29 Thread Richard Sargent
Blondeau Vincent wrote ... at each execution of pharo, I lose focus from the window where I was currently working ... If you watch closely, Pharo */is/* opening a window, and closing it again immediately. This really requires a change in Pharo, to not open the window in the first place. --

Re: [Pharo-dev] Doubt in Pharo

2014-07-23 Thread Richard Sargent
harshit wrote So I was creating this dictionary for column at the instance side initialization of Employee. My instructor suggested to do that in class side initialization, My Doubts are: 1. Why should we do class side initialization instead of instance side initialization. 2. Could

Re: [Pharo-dev] about ~=

2014-06-26 Thread Richard Sargent
Esteban A. Maringolo wrote If one thing confuses people in that realm is non arithmetic precedence: Eg. 2 + 3 * 4 = 20 instead of the expected 14. And we're not going to change that either. It's not worthy, and I doubt if it is possible at all. I'm probably late to the party with this

Re: [Pharo-dev] How to get started with Git and Pharo?

2014-06-26 Thread Richard Sargent
Sven Van Caekenberghe-2 wrote The current source code format in git is cool, but can you manage a merge or diff like that, with all the different parts scattered over 10s, 100s of files, with no matter what tool ? Apart from the fact that such bigger merge is always very difficult, no other