*If* you can locate one example, you may be able to manually examine the
compiled method itself to see what distinguishes it in terms of the
reference to a missing object. e.g. what's in the literal pool for a method
which references a non-existent class? You could create one such example
explicitl
In the dialects I am familiar with, James' answer is correct. Some dialects
implement #keysAndValuesDo: on sequenceable collections, in which case, the
keys are the indexes of the values.
On Tue, Jan 23, 2024, 12:05 sergio ruiz wrote:
> oh! this makes sense..
>
> let me try this.
>
> The trick i
Christian Haider has PDFtalk, originally in Visual works, but he and others
have created ports to GenStone, Squeak, and Pharo.
Bob Nemec created Report4PDF to make it easier to generate documents. Also,
originally in VW, but also ported to GS, Squeak, and Pharo.
On Sat, Jan 13, 2024, 11:37 Sergi
#, will do the trick.
ExceptionOne, ExceptionTwo
Nesting the #on:do: messages is probably the more correct approach, since
each one would be catching just one family of exceptions and not require
class testing. Unfortunately, nested #on:do: messages are terribly ugly.
Many people (I hate that phra
Steffen,
I think the trouble you are seeing comes from trying to use a block in a way
that is inappropriate.
A Block provides an anonymous function, but why use a Block that makes it so
much more complicated?
Perhaps, you should reconsider an approach like:
(1 to: 1000) do: [:i | | data
Excellent write up, Stephane!
I will add that over the years, there have been many times (countless!) when
developing/debugging involved a complex block and that turned out to be
significant nuisance.
I can elaborate on the details, but once a block gets passed around, revising
it on the fly b
The best(?) place to start is perhaps
https://wiki.pdftalk.de/doku.php?id=smalltalktransform.
The only examples are various ports of PDFtalk (from VisualWorks) to Pharo,
Squeak, GemStone, and VAST.
PDFtalk is quite complex and the porting rules are correspondingly complex.
The Transform documentat
th an Eddington Ape of huge capacity. Their input data basis can easily
> exceed that of a human.
>
>
>
> On 15.3.2023 at 4:52 PM, "Richard Sargent" <
> richard.sarg...@gemtalksystems.com> wrote:
> >
> >On Wed, Mar 15, 2023 at 8:07 AM in_pharo_users--- via
On Wed, Mar 15, 2023 at 8:07 AM in_pharo_users--- via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Another observation about ChatGPT:
>
> In unbiased mode, it assumed that 'the world is clearly overpopulated'.
> It said, if it where in control, it would therefore enforce a world wide
> one-
On Sat, Aug 6, 2022, 18:40 Shaping wrote:
> This is VW’s definition of IntegerArray:
>
>
>
> Smalltalk.Core defineClass: #IntegerArray
>
> superclass: #{Core.ArrayedCollection}
>
> indexedType: #none
>
> private: false
>
> instanceVa
Making the code correct is "untwisting the rope".
Keeping the code wrong and adding a bizarre workaround is "twisting the
rope tighter".
The former is the right direction.
On Fri, Apr 29, 2022 at 12:15 AM Steffen Märcker wrote:
> Hi Kasper,
>
> I've thought about that approach too. But then ask
GemTalk Systems published a tool called SETT which is designed to extract
sources from Store into a git repository. I think it's filetree, not to El
format, but getting it (and its history) out of Store is the primary
motivation.
It requires direct access to the Store database, as far as I underst
A pragma might be the way to go.
** for example.
On Thu, Mar 17, 2022 at 8:17 AM Esteban Maringolo
wrote:
> Just to add another argument in favor of not inlining some message
> sends, is for instance in things like Glorp you need to use a special
> selector for #and:/#or: message sends, breakin
On Wed, Jan 26, 2022 at 4:40 AM Sven Van Caekenberghe wrote:
> Hi Kaspar,
>
> I found the initial example actually reasonable readable.
>
> However, I would simplify it as follows:
>
> (json at: #tree)
> select: [ :each |
> ((each at: #type) = #blob)
> and: [ #(md mic) includes: (Path
On Wed, Jan 26, 2022, 01:20 Kasper Osterbye
wrote:
> Cheers all
>
> I have noticed that I often ends up with quite a number of nested
> expressions, for example:
>
> (((json at: 'tree')
> select: [ :e | (e at: 'type') = ‘blob' ])
> collect: [:e | Path from: (e at: 'path')]
On Mon, Dec 27, 2021 at 2:44 AM Robert Briggs via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hi
>
>
>
> I define temporary variables in a method, e.g. |e r |, e.g. in a unit
> test, but when I run the test Pharo automatically replaces these with |
> tmp1 tmp2 |.
>
> A similar thing happen
Tudor Girba and his colleagues at feenk need to be recognized, too.
In many respects, they have pushed Smalltalk to do things that, I think,
the original designers would have heartily endorsed.
On Sun, Jul 25, 2021, 18:44 wrote:
> Thanks to everyone for some great suggestions.
>
> I’m coming ar
Dave Thomas of OTI probably ranks in your list.
On July 24, 2021 3:44:40 PM PDT, horrido.hobb...@gmail.com wrote:
>I’m looking for a list of individuals who have contributed greatly to
>the advancement of Smalltalk, post Xerox PARC period (1972-1980). By
>advancement, I don’t only mean on a techni
On Fri, Jul 23, 2021, 06:57 Clacton Server wrote:
> I have been having an enduring problem with Pharo "disappearing" on any
> machine I try it on. In an effort to resolve that it isn't my code, I want
> to remove the Package that contains all my Seaside code so that I can
> install a minimal home
On Tue, Jul 13, 2021 at 5:09 AM Kenneth Payne wrote:
> Hi
>
> For some time now the forum on http://forum.world.st/Pharo-f1294836.html has
> not
> been working properly.
> Messages to this list are showing up in my mailbox but not on the website.
>
I believe you are seeing the effect of
http://
n propose this method in a
> PR for symetry with some of the other #hasXXXX methods.
>
> Tim
>
> On Tue, 27 Apr 2021, at 5:31 PM, Richard Sargent wrote:
>
> I have seen something called upcasting and downcasting (as contrasted with
> broadcasting). Mostly, I have seen it
I have seen something called upcasting and downcasting (as contrasted with
broadcasting). Mostly, I have seen it in UI layers.
e.g. a leaf node receives a change notification, decides it isn't interested in
handling the notification, and so passes it up to its parent, etc.
Downcasting is simil
I remember - way back in the dark ages - walking into a music store,
picking up a CD, and asking it to buy itself. Every single time, the
response was the same: nothing.
On Fri, Apr 16, 2021 at 10:07 AM Tim Mackinnon wrote:
> Its comforting to see that other have the same reaction as me - I agre
Sven and everyone else, these are good, pragmatic suggestions. But, the lack of
understanding is surely frustrating for David (and for me watching from the
sidelines).
Can anyone explain why the Windows experience is so radically different from
everything else? (Ok, I admit that Windows is a ho
level is something I always wanted to implement
>(class level is particularly easy to implement, with tonel format) but
>I didn't find the time to do it.
>Volunteers to implement are welcome! ;)
>
>Esteban
>On Feb 5 2021, at 9:16 am, Richard Sargent
> wrote:
>> Oh, yes/ Th
Oh, yes/ That is one of the things I most love about ENVY and miss in
everything else.
What is the change history of this method, class, package, etc.?
On Thu, Feb 4, 2021 at 10:09 PM Kasper Osterbye
wrote:
> I went in and updated the corresponding github issue (
> https://github.com/pharo-proje
On Wed, Jan 6, 2021 at 10:34 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
>
> Thanks,
>
> Right now im downloading/fetching the images every time again.
>
> As I see it, the biggest bottleneck is that I have 10 images.
> And for all 10 I fetching the image and the data I
You should be able to replace
nextPutAll: count printString
with
print: count
On December 24, 2020 9:32:38 AM PST, g_patrickb--- via Pharo-users
wrote:
>I started working through PBE8, and in section 3.13 there is a method:
>
>`Counter >> printOn: aStream `
>
>`super printOn: aStream. `
Is there a way force allSubclasses to implement the method?
No. Pretty much, you need to avoid subclassing concrete classes.
i.e. if A has subclasses B and C, refactor to create an abstract A' and move
A to be a leaf subclass of A'.
-Original Message-
From: Jimmie Houchin [mailto:jlhouc.
I'll add a small bit to Davide's excellent answer, by way of connecting
some of the dots. In particular, the browser makes a class look like one
thing and we talk about instance side and class side.
The reality is that the browser presents either the class' behaviours or
the metaclass' behaviours,
On Thu, Sep 24, 2020, 18:08 Sean P. DeNigris wrote:
> Richard O'Keefe wrote
> > there is obviously no unique "right" factoring of this problem into
> > classes.
>
> This. And, in my experience, with non-trivial problems, some (many?) times
> you just have to try to implement an idea to see if it'
On Wed, Sep 16, 2020 at 10:28 AM wrote:
> Stéphane Ducasse wrote:
>
> refrain from using respondTo: I make code difficult to evolve and can
> introduce vicious bugs.
>
> Steph, would you say more about this? It’s something I’ve been wondering
> about.
>
> I was recently reading the Strategy patt
On Tue, Sep 8, 2020, 04:35 Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Op 8-9-2020 om 08:30 schreef Roelof Wobben:
>
> Op 8-9-2020 om 04:22 schreef Richard O'Keefe:
>
> There are two quite different questions.
> (1) Where may dashes occur in a real ISBN-10?
> (2) What doe
What is the value of *self* when the error occurred? The debugger should
show you this.
Another way to determine this is to look at the code and think about where
the sending method is implemented and where the invoked method is
implemented (assuming that there really is one).
On Tue, Sep 1, 202
mber of minutes, perform the modulus to limit
the size of a day, and you are done. In the absence of a constraint imposed
by the author of the problem, you are free to implement a solution that
presents the expected results.
On Mon, Aug 31, 2020 at 10:12 PM Roelof Wobben wrote:
> Op 1-9-202
On Mon, Aug 31, 2020 at 1:57 PM Roelof Wobben wrote:
>
> I would argue against that approach. Make it a requirement that a given
> API must be used with correct values.
> e.g. #hours:minutes: requires hours between 00 and 23 and minutes between
> 00 and 59.
>
> If you want to convert equivalent t
On Sun, Aug 30, 2020 at 10:04 PM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I have this challenge from exercism :
> https://github.com/exercism/pharo-smalltalk/tree/master/exercises/clock
>
> and this function is given :
>
> hour: anInteger minute: anInteger2
On Fri, Aug 28, 2020 at 3:27 PM tbrunz wrote:
> Hi Konrad,
>
> I'm the person at JPL who (somehow) got "The Powers That Be" here to agree
> to join the Consortium.
>
> I'm also the major champion of Pharo at JPL, and am leading an effort to
> get
> Pharo introduced & infused at JPL.
>
> I see the
On August 2, 2020 10:16:54 AM PDT, tbrunz wrote:
>Thanks, Richard.
>
>So adding #yourself is mostly needed for cases where you send #add: to
>an
>OrderedCollection (because that returns the added element instead of
>returning the collection as most expect it would)?
No.
It is used when you
On August 2, 2020 9:25:32 AM PDT, tbrunz wrote:
>Shouldn't this code
>
>> So if you implement a #newWhite method in the "class side" of Dog, it
>> would be something like this.
>>
>> Dog class>>newWhite
>> "Returns a new white instance of receiver."
>> ^self new color: Color white
>
>be t
On Tue, Jul 28, 2020 at 4:35 PM G B via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Being new not only to Smalltalk, but OOP in general, I think I finally am
> understanding things. One area I am still unsure about is the class side
> versus the instance side. Does one usually use the clas
The most common cause of things like this seems to be running a 32-bit program
and only having the 64-bit libraries available. Is your Pharo VM 32-bit?
On July 21, 2020 8:24:15 AM PDT, kmo wrote:
>I've just tried to get pharo-mars working on xubuntu 20.04. But it
>tells me
>it cannot find the G
Perhaps you should start by looking to see whether there is or are classes
already in the image that do what you want.
Look for classes by name (with wildcards) or for methods. For example, are
there any classes which implement #hours, #minutes, or #seconds (possibly
in the singular form).
On Tue
It is possible that one of the prerequisites comes from smalltalkhub.com,
as that site has been down for the last couple of days.
On Sun, Jul 12, 2020, 15:53 G B via Pharo-users
wrote:
> I bought "Agile Artificial Intelligence in Pharo" and am using Pharo 8.0
> 64-bit. In the book it says you c
On Sun, Jun 21, 2020, 14:54 Russ Whaley wrote:
> Why? (question, not a challenge :) )
>
> - I really only use it in a Logger class I developed that let’s me know at
> the time of logging, what method and class I’m in - ... write to the log...
> done.
>
That's a reasonable use.
In general, you d
can always add comment to the post.
>
>
>
> Richard Sargent wrote
> > It wouldn't let me vote without choosing an answer, none of which were my
> > answer.
> >
> > On Fri, Jun 19, 2020 at 9:32 AM Richard Kenneth Eng <
>
> > horrido.hobbies@
&g
It wouldn't let me vote without choosing an answer, none of which were my
answer.
On Fri, Jun 19, 2020 at 9:32 AM Richard Kenneth Eng <
horrido.hobb...@gmail.com> wrote:
>
> https://smalltalk.tech.blog/2020/06/19/what-are-reasons-not-to-use-smalltalk/
>
>
> Thanks for participating in the poll.
>
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 t
On Mon, May 18, 2020 at 4:01 PM horrido wrote:
> It's 2020 and we're still faced with browser compatibility issues?!!
>
> Man, the web is really a piece o' sh*t.
>
Ah, you forgot the little detail about having to authorize 3-4 dozen(!)
scripts from many different sources to run on your computer
ght. How did I manage to miss that?!!
> >
> >
> > Richard Sargent wrote
> >> You missed the fact that it makes it easier to communicate with the user
> >> community, since it's a "near-English" grammar, and you can easily use a
> &g
On Fri, May 15, 2020 at 10:00 AM Vitor Medina Cruz
wrote:
> Hello,
>
> On Windows 10 and Pharo 8, If I do:
>
> [ Error signal ] ifCurtailed: [ Transcript show: 'error' ].
>
> the debug window pops up, when I close, 'error' is print in the
> Transcript. If I do
>
That is correct. It isn't curtail
You missed the fact that it makes it easier to communicate with the user
community, since it's a "near-English" grammar, and you can easily use a
common terminology.
On Wed, May 13, 2020, 12:43 Richard Kenneth Eng
wrote:
>
> https://smalltalk.tech.blog/2020/05/13/what-are-good-reasons-to-use-sm
On Tue, May 12, 2020, 12:05 ASAM wrote:
> Hello,
> I'm using Pharo 8 64bit on Windows 10 64bit.
> I am trying to access a 32bit dll via a relative path.
>
Generally, a 64-bit program will only load a 64-bit DLL. It may be
possible, but it will likely be far easier to use the 32-bit Pharo
impleme
le time I (or someone else on my team before me)
>> decided to use these. It goes back to ’Smalltalk with Style’
>(probably the
>> best little red book you could ever own): write intention revealing
>code
>> whenever you can, and comment liberally when you can’t.
>>
>>
On May 11, 2020 2:19:49 PM PDT, Richard O'Keefe wrote:
>I was saying that I expected #($a $b $c) asString ==> 'abc'.
Over the years, I found myself being opposed to the idea that all objects can
sensibly have an #asString implementation. When it's been done, it ultimately
caused more problem
On Sat, May 2, 2020 at 12:38 PM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Op 2-5-2020 om 21:09 schreef Roelof Wobben via Pharo-users:
>
>
> but this seems to work :
>
> cardNumber := '4539 1488 0343 6467'.
> cleanDigits := cardNumber copyWithout: Character space.
> preW
It's a good solution.
On Sat, May 2, 2020, 00:52 Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Op 1-5-2020 om 08:35 schreef Roelof Wobben:
> > Op 1-5-2020 om 02:51 schreef Richard O'Keefe:
> >> (oddSum + evenSum) dividedBy: 10
> >>
> >> You previously had _ isDivisibleBy:
See below.
On Thu, Apr 30, 2020 at 10:58 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> and also not with this one :
>
> cardNumber := '4539 1488 0343 6467'.
> oddSum := 0.
> evenSum := 0.
> nextIsOdd := false.
> cardNumber reverseDo: [:digit |
> digit =
e 5 can also be calculated by 2 * (char - $a) + 1
>
> Roelof
>
>
>
> Op 28-4-2020 om 18:31 schreef Richard Sargent:
>
> Formula? Well, it's pretty straight forward.
>
> Let's start with the size of the diamond (it field, actually). In the
> example, there
Formula? Well, it's pretty straight forward.
Let's start with the size of the diamond (it field, actually). In the
example, there are two lines above and two lines below the "C" line.
C-A = 2. This number looks useful.
The dimension is 2+1+2 square.
How many spaces before a letter? C-letter i.e.
On Mon, Apr 27, 2020 at 9:30 AM Roelof Wobben wrote:
> Op 27-4-2020 om 18:28 schreef Richard Sargent:
>
> On Mon, Apr 27, 2020 at 1:56 AM Roelof Wobben via Pharo-users <
> pharo-users@lists.pharo.org> wrote:
>
>> Hello,
>>
>> I have to test the server whi
On Mon, Apr 27, 2020 at 9:27 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I wonder if it is possible in Pharo to divide a string in lets say part
> of 3.
> so this : 'abcdefgh'
>
> would be 'abc def gh`
>
Do you really want a single string with spaces inse
On Sun, Apr 26, 2020 at 10:11 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I have to make some code that convert a binary to a decimal and im not
> allowed to use the convert methods that Pharo has.
>
> So I have written this :
>
>
> decimalFromBinary: aStrin
On Mon, Apr 27, 2020 at 1:56 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I have to test the server which should return the string but then in
> uppercase.
>
> So far I have this :
>
> https://github.com/RoelofWobben/Network-simulator/blob/master/src/NetworkS
On Sat, Apr 25, 2020, 16:17 tbrunz wrote:
> Richard,
>
> I don't think it was silly. I'm sitting here thinking to myself, "Wow,
> that's creative... Pharo being Pharo, you can write applications that can
> send *blocks* between nodes, not just *data*..."
>
I understand. I meant that in the wor
On Sat, Apr 25, 2020, 15:50 tbrunz wrote:
> Hi Richard,
>
> I looked the repo; he's defined 3 classes: one for packets, one for nodes,
> and one for links. So yes, he instantiates links. Likely each node has a
> collection of links (each of which leads to another node in the network).
> The app
On Sat, Apr 25, 2020, 11:46 Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Op 25-4-2020 om 20:17 schreef Roelof Wobben:
> > Op 25-4-2020 om 20:04 schreef tbrunz:
> >> 1. 'loopback' is a node, just like 'source' and 'destination'. A
> >> network is
> >> a mesh of 'nodes' joi
On Fri, Apr 24, 2020, 22:25 Richard O'Keefe wrote:
> Roelof, I don't think CRC cards or the GRASP patterns or anything like that
> addresses your immediate needs. Based on other questions of yours it
> seems to me that your problem is not *organising* the responsibilities in
> an
> OO program, b
On Thu, Apr 23, 2020 at 2:42 PM Roelof Wobben wrote:
> Op 23-4-2020 om 23:00 schreef Richard Sargent:
>
> On Thu, Apr 23, 2020 at 12:14 PM Roelof Wobben wrote:
>
>> Op 23-4-2020 om 21:09 schreef Richard Sargent:
>>
>> On Thu, Apr 23, 2020 at 12:00 PM Roelof Wobben
On Thu, Apr 23, 2020 at 12:14 PM Roelof Wobben wrote:
> Op 23-4-2020 om 21:09 schreef Richard Sargent:
>
> On Thu, Apr 23, 2020 at 12:00 PM Roelof Wobben wrote:
>
>> Op 23-4-2020 om 20:52 schreef Richard Sargent:
>>
>> On Thu, Apr 23, 2020 at 3:32 AM Roelof Wob
On Thu, Apr 23, 2020 at 12:00 PM Roelof Wobben wrote:
> Op 23-4-2020 om 20:52 schreef Richard Sargent:
>
> On Thu, Apr 23, 2020 at 3:32 AM Roelof Wobben via Pharo-users <
> pharo-users@lists.pharo.org> wrote:
>
>> Hello,
>>
>> I like Pharo a lot but I
On Thu, Apr 23, 2020 at 3:32 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I like Pharo a lot but I hit a wall very often.
> With complex problems I do not see how to solve things in small steps.
>
I would be happy to help with the Smalltalk and problem analy
On Wed, Apr 1, 2020 at 11:17 AM Sven Van Caekenberghe wrote:
> Hi Russ,
>
> That is great to hear.
>
> I wanted to add that Pharo has automatic memory management and there is
> normally no need for doing anything manually (like nilling out instance
> variables let alone ugly become hacks).
>
> Yo
On Wed, Apr 1, 2020, 01:30 Tim Mackinnon wrote:
> Yeah, I was taught (and it may be out of date), that as become: is a 2 way
> operation the identity of nil (as a singleton) would get swizzled, so it
> was safer to create a simple new object that could be easily gc’d (that’s
> what I vaguely reca
On Tue, Mar 31, 2020 at 9:25 AM Russ Whaley wrote:
> Sven,
> Thanks for the reply :)
>
> I will try to move my code over to another image (I'm not very good with
> GitHub - we'll see how this goes).
>
> But it just seems like there ought to be a way to at least delete all of
> these instances - a
On Wed, Mar 25, 2020, 08:49 horrido wrote:
> This is what I provided the JRMPC participants: https://jrmpc.ca/ (see
> "How
> to learn Smalltalk programming"). I'm not sure how I could've done better,
> though.
>
> You make an excellent point about duplication and keeping documentation
> up-to-dat
On Fri, Mar 20, 2020, 06:53 Noury Bouraqadi wrote:
> Thanks Julien. So, what I did experienced is because BooleanSlot is work
> in progress.
> To address my issue using slots, I guess collections should implement
> asBit method (Sent by BooleanSlot).
>
Noury, when modelling something like this,
I'm not sure no country had a plan ready to apply. Canada seems to be in
pretty good shape from what I'm reading. It seems to have prepared well
after SARS. And South Korea certainly seems prepared, as they are handling
it better than anyone else.
On Sun, Mar 15, 2020, 10:20 Davide Grandi wrote:
Excellent!
I would love to see the finalists' thoughts on programming in Pharo and on
programming the challenge.
On Sat, Mar 7, 2020, 20:23 Richard Kenneth Eng
wrote:
> https://smalltalk.tech.blog/2020/03/07/jrmpc-2020-award-winners/
>
> Time to play this up for all the PR value I can muster.
See below.
On Wed, Feb 19, 2020 at 8:49 AM Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:
> Hi,
>
> As some of you may know, I'm a "savage coder" who learned
> Smalltalk/Pharo by himself, of course thanks to communities, books and
> videos, but without formal training or peers in
I've found this topic both interesting and upsetting at times. I do
understand the desire to address Pharo issues without getting sidetracked
by other topics.
However, this particular thread started as a Pharo user's success story.
Didn't it? Isn't Pharo the implementation used for the contest? Ar
On Wed, Jan 29, 2020 at 9:13 AM horrido wrote:
> That's right. The poll is for non-Smalltalkers. The goal is to identify the
> pain points and then to respond to those points in a future blog post.
>
Oh. Then you shouldn't have left out the "I don't want to write less code
and fewer errors" choi
Thanks.
On Tue, Jan 28, 2020, 17:21 horrido wrote:
> Done. I didn't realize there was a free license for GemStone/S.
>
> Too bad VA Smalltalk doesn't offer a free license.
>
I believe they do.
>
>
> Richard Sargent (again) wrote
> > Thank you, Richard
Thank you, Richard.
Would you be kind enough to annotate the GemStone link to point out that we
have a free license that permits commercial use, not only personal use.
Thanks again for all your hard work!
On January 28, 2020 2:24:16 PM PST, Richard Kenneth Eng
wrote:
>I've added a Resources
On Fri, Jan 10, 2020 at 1:52 PM horrido wrote:
> Offray Vladimir Luna Cárdenas-2 wrote
> > But I have not
> > being able to convince any of my coder friends to switch to Pharo
> > instead of C++, Java or Javacript, which by the way, is the language
> > they already know and use to put bread on th
On Mon, Jan 6, 2020 at 12:26 PM xap wrote:
> Hmm, just where are these prof stef Gedankenexperiments :-? I didn't see
> 'em
> in the syntax tutorial proper.
>
> Thx for the tiny-is-beautiful article. I didn't have any moment of satori,
> but am happy to have found a prolific author (in addition t
On Mon, Jan 6, 2020 at 12:18 PM horrido wrote:
> Thanks!
>
> I have a question for everyone. Someone has taken me to task for being
> "sexist". He says I should refer to "grandparent" instead of "grandfather".
>
> I'd like to ask for your opinion. Would "grandparent" sound better in my
> article?
On Sun, Jan 5, 2020, 15:51 xap wrote:
> hi, I'm just starting out w/ pharo and have a question re your code;
> specifically, in
>
> reject:
> [ :word | (word sameAs: aWord) or: [ word asLowercase asBag ~=
> charBag ] ]
>
> is that inner block needed? would it be less smalltalk-esque
On Sun, Jan 5, 2020 at 8:08 AM xap wrote:
> hi, I'm starting out w/ pharo (as my first smalltalk-ish language). am on
> Windows 7 professional; downloaded 64-bit, pharo 8 64-bit development; then
> downgraded to pharo 7, 32-bit stable.
> I went through Prof Stef, and find 1 place of unexpected be
On Sat, Jan 4, 2020 at 2:17 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I have this in my library class on the instance side :
>
>
> updateRoot: anHtmlRoot
> super updateRoot: anHtmlRoot.
> anHtmlRoot stylesheet url: self class / #mainCss.
> anHt
A feature request is often a description of a problem from a single
perspective. Learning to recognize whether it is one or the other will be
crucial to your long-term success as a programmer.
> Roelof
>
>
>
> Op 4-1-2020 om 19:02 schreef Richard Sargent:
>
> On Sat, Jan
On Sat, Jan 4, 2020 at 9:47 AM Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> For a exercism challenge I need to calculate the total grains on a
> chessboard.
> So I did :
>
> atSquare: anInteger
> self validateInput: anInteger.
> ^ anInteger = 1
>
Pharo Smalltalk Users mailing list wrote
> Hello,
>
> Im trying to solve a challenge from exercism where I have to
> calculate the points somehow gets on a very simple darts board.
>
> I solved it like this :
>
>
> scoreX: anInteger y: anInteger2
>
Paul, I'm going by memory and not Pharo specific.
I believe the default handling of the end of the exception block is
implicitly equivalent to ex return: nil.
So, to get further handling of the exception, you need to #pass it or
otherwise resignal it. Then the development environment will catch a
On October 23, 2019 5:46:50 AM PDT, "p...@highoctane.be"
wrote:
>On Wed, 23 Oct 2019, 14:25 Kasper Osterbye,
>wrote:
>
>> On Wed, Oct 23, 2019 at 2:21 PM p...@highoctane.be
>
>> wrote:
>>
>>> It is like Object>>in: aBlock no?
>>>
>> Yes.
>>
>> But because it is an operator, you can write "obj
Samuel,
One thing I don't recall seeing in this thread is a discussion of the
semantics of the methods names.
I find it helpful to consider #asWhatever to be a conversion method, used
to convert one object to another essentially compatible class. e.g.
#asFloat sent to an integer would be expected
Thanks for sharing that, Peter. It's an important point.
On Wed, Sep 11, 2019 at 2:02 PM Peter Kenny wrote:
> I see no problem with having *a* code of conduct, but there are some
> worrying aspects of *this* code. Clearly there is a need for generality in
> any code, but the vagueness of the dra
I don't know the correct answer, but I am skeptical of one that relies on a
specific implementation rather than a specific definition.
I would like to see and understand the arguments for one interpretation
versus another.
Prima facie, the expectation that set behaviour propagates through the
imp
Thank you, Renaud, for explaining that. I am so glad to see that Pharo has
addressed this and made it so simple. I've seen too many UIs that fail on
this kind of thing.
Kudos to those people who created this. You nailed it!
On Sat, Aug 24, 2019, 18:31 Renaud de Villemeur
wrote:
> Hi Steve.
>
>
On Mon, Aug 19, 2019 at 9:40 AM Roelof Wobben wrote:
> Hello Ben,
>
> I think the purpose of this exercise was to practice expecially things
> like encapsulation and thinking in classes.
>
> So I think it's not a big deal to have a setter and a method to check if
> the passwords are matching.
>
1 - 100 of 189 matches
Mail list logo