SVFile: '~user/data.csv'.
>
> recordset1 := XYZRecords filterByYear: 1971
> recordset2 := XYZRecords filterByYear: 2000
>
> recordset1 records inspect.
> recordset2 records inspect.
>
> No need to necessarily reset the filter. You might just throw the
> r
Hello Squeakers,
It is cool that we have this forum for asking these kinds of questions.
-- TL;DR -- I learned I probably shouldn't subclass a singleton even though it
seemed so easy; I wonder instead how to design my controller properly in an
MVC paradigm; should I learn about Factory method
Hi everyone,
I have a bunch of objects (all instances of the same class) which each hold a
Date. There is another singleton-style class which holds a Dictionary to keep
track of those objects, where the key is the Date and the value is the object.
How bad is it that I am keeping the date once
Hi Jerome,
On Apr 18, 2011, at 2:02 AM, Jerome Peace wrote:
> World menu>appearance (click the stay up pin)
Ah, I had not done the stay up pin.
> then
>> set desktop color (this puts up a pallette )
> click the round dot on the left this is the stay up button
> when you click it an x will app
Hi,
I'm in 4.2. When I switch the desktop to a gradient fill, I get a dark
gray-light gray ("graydient" ha).
On the same world menu, I have the option to "change first color" and "change
second color." These
bring up color requesters, but whichever colors I pick don't seem to change the
gra
On Apr 11, 2011, at 10:41 AM, Tim Johnson wrote:
> Hi,
>
> Fresh 4.2 image. Opened Browser. Made a new category. Made a new class.
> Tried to change the class comment but can't. Can't, can't, can't. Can you?
> For me, it always goes back to "THIS
Hi,
Fresh 4.2 image. Opened Browser. Made a new category. Made a new class.
Tried to change the class comment but can't. Can't, can't, can't. Can you?
For me, it always goes back to "THIS CLASS HAS NO COMMENT!" What is going on?
Thanks,
Tim
_
Hi,
I am wondering about the "Holder" morph. If I drag-select over it, it shrinks
in size. But not if I drag-select from the right-bottom of it.
To reproduce: drag a Holder morph onto the desktop. Hold down "shift" and
left-click drag from below-and-left of the Holder. Drag part way into t
On Apr 5, 2011, at 11:26 AM, Amir Ansari wrote:
> I've been looking for this issue of Byte for a long time - are there any
> scans online? It's certainly a seminal issue!
I've found a few of the articles available individually on the interwebs, if I
recall correctly.
But I was lucky enough t
On Apr 4, 2011, at 5:49 PM, Tim Retz wrote:
> The exception I mentioned above was the "Bots Inc." tutorial. It was
> fantastic, made me think, and I really felt like I was learning. My only
> problem is that is ended too soon. I wish it would go on to show you how to
> build your own systems and,
On Apr 1, 2011, at 12:22 PM, Levente Uzonyi wrote:
> Open the world menu (left click on the "desktop"), select 'appearance...',
> then in the submenu, select 'system fonts...'. Here you can set various fonts
> used by the system. You want to change the 'code font...' and probably list
> font,
Hi,
I was trying to package up some old code of mine using Monticello so I could
migrate to a new image (and also maybe take advantage of MC's revisioning, too).
When MC got to the "Snapshotting methods..." process, it was choking on a class
method that didn't exist. It was trying to get the c
Hi,
I'm digging into some code I haven't touched in at least a year. I was
surprised when something which used to work no longer works. The image has
moved from a PPC Mac to a Windows PC. It is based on 3.10.2-7179.
The error that appears to be happening is when I attempt to put something in
Squeak by Example is a great place to start, and it is free. After that, An
Introduction to Seaside is very good. The Design Patterns Smalltalk Companion
puts now-commonplace concepts into context. Chamond Liu's book is also very
good. Then for some polish, check Kent Beck's Smalltalk Best P
Hi,
Does anyone have, or know of, existing code to perform the rather
anglo-centric (?) function of turning 3 into '3rd,' 22 into '22nd,'
etc.?
Thanks,
TimJ
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoun
On Dec 8, 2008, at 8:56 PM, Greg A. Woods; Planix, Inc. wrote:
Initially though this recommendation didn't make any sense to me
because I didn't know how the implementation of #new in Behaviour is
different from strict Smalltalk-80 as I understand it. I.e.
originally in Smalltalk-80 #new
> I've been playing around with SeaSide tutorials, using the class browser
> and
> the workspace - is this the right way to do things? The text editing there
> is pretty sucky for a man used to xemacs, so I ask: is there a better
> "application" for editing code, or can I get hold of a better gener
> I've seen the suggestions in other responses to this and I don't like
> them.
>
> Calling "everything" a setter/getter seems to be J-zeitgeist but, what you
> have here is a collection of prices, indexed by a symbolic key, rooted at
> instances of Vendor.
>
> Translated to Smalltalk language thi
Hi,
I know the rules for naming accessor and setter methods. But what do I do
when the accessor method needs a parameter? I'll try to provide an
example.
A vendor sells an item called #apple. If I want to get the vendor's price
for that #apple, I use a method such as the following:
Vendor>>pr
On Mar 24, 2007, at 3:45 AM, Kyle Hamilton wrote:
The underlying OS has only a certain number of file handles that it
can maintain open at a time. On UNIX-like systems, there is also
possibly a maximum number of files per process. If this limit is hit,
then no additional files can be opened,
Thanks!
- Tim
On Mar 24, 2007, at 3:25 AM, Bert Freudenberg wrote:
On Mar 24, 2007, at 8:34 , Tim Johnson wrote:
Hi,
Do I need to worry about closing a read-only FileStream when I am
done reading from it?
Yes. Always. A common pattern is
f := ... open the file stream
Hi,
Do I need to worry about closing a read-only FileStream when I am
done reading from it?
What happens if I don't?
How can I tell if I have lots of open files in my system?
"FileStream allInstances inspect"?
Thanks,
Tim
___
Beginners mailin
On May 19, 2006, at 1:46 PM, Steve Naples wrote:
I am new to Squeak, but I am trying to find some code to implement an
RSS reader, as I haven't found any readers out there for Squeak.
Can anyone help me out?
BottomFeeder is a popular RSS reader written in VisualWorks Smalltalk.
It doesn't
23 matches
Mail list logo