Re: [Newbies] window collapse and remain on world?

2008-11-12 Thread rudolf-Rednose
Ken G. Brown schrieb:
> Seems to me it used to be that when you clicked on the little circle at the 
> right on the top bar of an open window, the window would collapse to a small 
> icon on the World showing the window title, usually at the upper left 
> somewhere. Now in sq3.10.2-7179dev08.11.1 it appears this has been replaced 
> by the window collapsing to the task bar at the bottom. I'm not sure at what 
> pint this started working this way.
> 
> Is there any way to be able to selectively decide whether you want the window 
> to collapse and remain visible on the world, collapse to the task bar, or 
> perhaps both?
> 

In preference browser search for "taskbar", set showWorldTaskbar to not enabled.
Results in taskbar gone and collapsed windows remain on world.
(maybe see also preference collapseWindowsInPlace for not putting the icon to
upper left somewhere)

-- Rudolf

> Thx,
> Ken G. Brown
> ___
> Beginners mailing list
> Beginners@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Aw: [Newbies] CSV file help

2016-06-18 Thread Rudolf Rednose
Hello Joseph, maybe
findTokens:',' escapedBy: '"'
is sufficient.
 

for example:

|data fields|
data := OrderedCollection new.
data add: '02/04/2016  Thu,,"COSTCO WHSE #0388 0990388 - OAK BROOK, IL",37.00' copy.
data add: '02/05/2016  Fri,,"ELECTRONIC PAYMENT RECEIVED-THANK",-443.52' copy. 
data add: '02/06/2016  Sat,,"COSTCO WHSE #1088 0991088 - BOLINGBROOK, IL",50.86' copy. 

data do:[ :item |

        fields := item findTokens:',' escapedBy: '"'.

        "show result in Transcript"
        Transcript cr; show: 'Line: ', item; cr; show: 'Number of Fields:', fields size asString; cr.
        1 to: fields size do:[:n| Transcript show:( n asString,' [', (fields at: n),']');cr]
        ].

                    

Line: 02/04/2016  Thu,,"COSTCO WHSE #0388 0990388 - OAK BROOK, IL",37.00
Number of Fields:16
1 [02/04/2016  Thu]
2 []
3 [COSTCO WHSE #0388 0990388 - OAK BROOK, IL]
4 []
5 []
6 []
7 []
8 [37.00]
9 []
10 []
11 []
12 []
13 []
14 []
15 []
16 []

Line: 02/05/2016  Fri,,"ELECTRONIC PAYMENT RECEIVED-THANK",-443.52
Number of Fields:16
1 [02/05/2016  Fri]
2 []
3 [ELECTRONIC PAYMENT RECEIVED-THANK]
4 []
5 []
6 []
7 []
8 [-443.52]
9 []
10 []
11 []
12 []
13 []
14 []
15 []
16 []

Line: 02/06/2016  Sat,,"COSTCO WHSE #1088 0991088 - BOLINGBROOK, IL",50.86
Number of Fields:16
1 [02/06/2016  Sat]
2 []
3 [COSTCO WHSE #1088 0991088 - BOLINGBROOK, IL]
4 []
5 []
6 []
7 []
8 [50.86]
9 []
10 []
11 []
12 []
13 []
14 []
15 []
16 []


 

Sincerely, 
Rudolf.


Gesendet: Freitag, 17. Juni 2016 um 22:42 Uhr
Von: "Joseph Alotta" 
An: beginners@lists.squeakfoundation.org
Betreff: [Newbies] CSV file help

Greetings,

I am needing conceptual help with parsing these troublesome CSV files. I was breaking the lines using String >> findToken:
but I found lines where extra deliminators were added. Notice the three following lines, the first and third line have extra commas from Oak Brook, IL and the second line does not have the comma.


02/04/2016 Thu,,"COSTCO WHSE #0388 0990388 - OAK BROOK, IL",37.00
02/05/2016 Fri,,"ELECTRONIC PAYMENT RECEIVED-THANK",-443.52
02/06/2016 Sat,,"COSTCO WHSE #1088 0991088 - BOLINGBROOK, IL",50.86

I think I need to parse with the double quotes in mind, but I don’t know where to break it.

Also, I was reading in the squeak pages that someone had already written code for this, but I couldn’t find anything.

http://wiki.squeak.org/squeak/3260 has two methods, CSVSubstrings and SequenceableCollection-asCSVLine.st

Does anyone know where these are now?

Sincerely,

Joe.



___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Aw: [Newbies] remove allInstances?

2016-09-23 Thread Rudolf Rednose


Caution: lowskilled hobbyist
 
anyway:
 
Hi Joseph,
Smalltalk garbageCollect does that automatically for you
BUT
it removes only objects that are not in connection with other objects.
 
So you have to cut loose all connections from other objects to your Book 
instances.
 
Maybe you have variables within a workspace pointing to some Book instances.
Or a list object with references to all of your books. (How do you get to your 
books?)
 
Even an inspector, explorer or debugger pointing to a Book instance keeps the 
garbagecollector from removing them.
 
Hope that helps a little

Rudolf
 
-- 
 
 

Gesendet: Freitag, 23. September 2016 um 07:40 Uhr
Von: "Joseph Alotta" 
An: beginners@lists.squeakfoundation.org
Betreff: [Newbies] remove allInstances?
Greetings,

The main program I am working on now is called Books.

If I evaluate

Books allInstances => anOrderedCollection( aBook aBook aBook )

How do I set them all equal to nil like

Books removeAllInstances.

Books allInstances => anOrderedCollection().


Sincerely,

Joseph.


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Help (and where to find it) ?

2006-11-10 Thread rudolf-Rednose

Hello all,

besides that there should be some references to documentation within  
the package you download or on the website where you download from, the 
squeakcomunity  is always helpful. That seems (to me) the general 
approach :)


Ned Konz had written some documentation about his package (Thank You).
It's a Project on BobsSuperSwiki about 500kb. You can get it for example 
with a Squeak3.6 image,

open a filelist,
in the filter-pane (the one with '*' in it) type Connect*,
in the left pane scroll down to Bobs SuperSwiki and klick on it (you 
need a Internetconnection),

the right pane will be populated with the filtered projects,
chose ConnectorsMS-nk.013.pr and load it in.
You will get this project and within it you have an interactive 
documentation called Welcome To Connectors!


Or if you have a fast Internetconnection you can download (46mb)
http://www.iam.unibe.ch/~ducasse/Web/Demoes/ 
A 
pril02Demo.zip 

it's an image with a presentation of many many squeak-projects (many are 
just slides, but Welcome To Connectors! is a real project so you can 
interact with it). Enter the project Demo Space, in the upper right 
corner enter Connectors Demo.


If you find newer or better documentation, or if you create some 
yourself, then it might be a good idea to put it on the swiki.


Cheers Rudolf



Brad Fuller schrieb:

Jerry Muelver wrote:
  

lanas wrote:


Hi folks,

  Where is help ?

  After years of Linux use and work, I've developed an habit of always
looking at the same place for help files, even for newly-installed
packages.  Be it the man page, be it the info page, be it the doc/
subdirectory of the source package.

  Now, how does this go with Squeak ?
...
 Is there a
generalized approach to where to find such info in Squeak ?

Cheers,
Al
  

Good point, Al. I don't doubt that there are some excellent
step-by-step "How to program in Squeak" tutorials out there...
somewhere. But they are not readily accessible, at least not by me. I
can't find a useful list of such tutorials, even, so I really haven't
been able to get a good start. I program in Perl, JavaScript, several
BASICs, Pascal, even (10 or 12 years ago) Smalltalk. But Squeak is
impenetrable for the beginner.

Most helpful would be a steering guide -- "Start with this tutorial,
then do this one, and then this..." -- with a brief abstract of the
instructional objectives for each segment.


Documentation could always be better, but there are quite a lot of info
out there to help. In addition, the Squeak documentation team is putting
together tutorials and assembling docs and helpful hints that are spread
around the ether.
Here are some links to get you started. These, in turn, will provide
additional links for your reference:

http://minnow.cc.gatech.edu/squeak/2983
http://minnow.cc.gatech.edu/squeak/377
http://www.iam.unibe.ch/~ducasse/FreeBooks.html
http://minnow.cc.gatech.edu/squeak/5871
http://astares.smallscript.org/DIGITALIS/englisch/sqk/sqk2.htm
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


  


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Help (and where to find it) ?

2006-11-10 Thread rudolf-Rednose

The Welcome To Connectors! project by Ned Konz is now on the swiki.
http://minnow.cc.gatech.edu/squeak/uploads/1773/ConnectorsMS-nk.pr

Cheers Rudolf
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners