t button. This will
> restart the execution to the beginning of the method you have selected. You
> can then use the "run to here" method to get to the right location in your
> method to start debugging.
>
> All the best,
>
> Ron Teitelbaum
>
> > F
Greetings,
My object needs to have some variables set before it can run the initialize
method and also it needs to have run an exit method.
f := FileParser new.
f inPath: '/Users/jja/Desktop/accountingfiles/'.
f readThis: 'rei mastercard.csv'.
f process
f outPath:
great! thanks!
> On Jun 3, 2016, at 10:28 AM, Ron Teitelbaum [via Smalltalk]
> <ml-node+s1294792n4899085...@n4.nabble.com> wrote:
>
>
>
>
>
> From: Joseph Alotta
> Sent: Friday, June 03, 2016 10:54 AM
>
>
>
>
> Thank you.
&
t;
> > -Original Message-
> > From: [hidden email] [mailto:beginners-
> > [hidden email]] On Behalf Of Joseph Alotta
> > Sent: Wednesday, May 25, 2016 3:22 PM
> > To: [hidden email]
> > Subject: [Newbies] FileDirectory
> >
> > Greetin
Greetings,
I am looking for some documentation or snippets of code for using the
FileDirectory class.
I want to check if a file exists before I try to read it.
I also want to look at a list of files in the directory.
I did search SBE and google but found nothing.
Sincerely,
Joe.
> On May 25, 2016, at 3:38 PM, Hannes Hirzel [via Smalltalk]
> wrote:
>
> Have a look as well at http://wiki.squeak.org/squeak/2184
>
> What exactly do you want to do?
>
> —Hannes
I saw that. It comes up first on google. It is 100% accurate and
startUp and #shutDown on the class side.
>
> See Smalltalk #addToStartUpList: #addToShutDownList:
>
> These fire when an image is started or shutdown.
>
> I think a bit more explanation of what problem you are having is needed.
>
> All the best,
>
> Ron Teitelb
Greetings,
I am using the debugger and wondering how to use the “run to here” function.
I think you have to be in the top of a debugger pane to go down to the spot
where the cursor is.
But how does it work if you’re many layers into a program.
I want to debug the message just before the one
Hi Ron,
> Excellent. Remember that you should also look at the super classes for
> methods. UnixFileDirectory is the instance of “FileDirectory default” but
> it’s also a subclass of FileDirectory so the methods you can call include
> UnixFileDirectory and all the methods on the class
I saw a lot of code in FileDirectory for urls. What’s that all about? Can I
use FileDirectory to browse the web? If not, is there another web browser
object?
Sincerely,
Joe.
--
View this message in context:
http://forum.world.st/FileDirectory-tp4897377p4897636.html
Sent from the
> On May 26, 2016, at 8:29 AM, Ron Teitelbaum [via Smalltalk]
> wrote:
>
> One more question for you. I mentioned returning a newly created instance or
> a specific class from a class side method. Can you name another reason why
> you would write
> Extra credit: Why would you use a class variable? We know that an instance
> variable is used to store data within the context of an instance. Why would
> you want to store data in the context of a class?
Window closeAllWindows needs to have a list of all the windows, and sends each
one
> On May 26, 2016, at 5:50 PM, Ron Teitelbaum [via Smalltalk]
> wrote:
>
> Have a look at the Hierarchy for the class Url
>
>
>
> Notice the class method: #urlClassForScheme:
>
>
>
> That should give you a better understanding of why url
> On Jun 17, 2016, at 3:45 PM, Ron Teitelbaum [via Smalltalk]
> wrote:
>
> Hi Joe,
>
> I haven't tried it but I would probably start with Avi's CSV Parser
> http://www.squeaksource.com/CSV.html
I tried to download it, but the .mcz file could not
some interesting uses for the data once you pull it in.
> Of course, it isn't documented.)
>
> I should clean up the page that you found - I had forgotten that it even
> existed!
>
> On Fri, Jun 17, 2016 at 1:42 PM, Joseph Alotta <[hidden email]> wrote:
> Greetings,
>
> I am nee
,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 []
>
> Sincer
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
I need a local person to help me with Squeak Smalltalk. I like in the
Western suburbs of Chicago, in Downers Grove. I want someone to show me all
the things I am missing and to help me use the tools more effectively.
I am thinking we could meet at a coffee shop once a week for an hour. I
would
Greetings,
I have this code:
**
read
"read the category file into the dictionary
the first item is the category, the rest of the line are payees
office expense|home depot|staples|costco
groceries|natures best|jewel|trader joes|fresh thyme
"
does the work on a
> line with data in
> here...].
>
> Lou
>
> PS. If this is not a school project, we can be of more help, we just don't
> like doing
> students projects for them as they learn more with just a few hints and not
> real code.
>
> On Mon, 2
On 20.04.2016, at 17:19, Joseph Alotta <[hidden email]> wrote:
> >
> > Greetings,
> >
> > My code has some complex parts and I think it would be good to pull parts
> > of it out and practice with it in a workspace window.
> >
> > For example,
okay, i did, but it shouldn’t be this hard.
> On Apr 20, 2016, at 10:18 AM, Bert Freudenberg [via Smalltalk]
> <ml-node+s1294792n4891022...@n4.nabble.com> wrote:
>
> On 20.04.2016, at 17:42, Joseph Alotta <[hidden email]> wrote:
> >
> > I would like
Help!
I have a data structure as the screenshot below shows.
There is a Bag with Transaction objects.
I can’t see inside the Transaction objects?
Why is there a Dictionary?
I can see the beginning of the transaction data, but I can’t the the whole line?
When I explore, it opens a window on
Thanks for all the help.
I like the idea of having the code sense the format of the data and acting
accordingly.
For separators, I could count the number of each kind of separators in the file
and compare it to the number of lines. Say 3 or more separators per line.
Then I can parse by
in the workspace’s title bar:
>
>
>
> - Bert -
>
>> On 20.04.2016, at 21:00, Joseph Alotta <[hidden email]> wrote:
>>
>> bert,
>>
>> thanks. I heard something ding when I dragged it, but nothing happened. I
>> couldn’t find the item
Greetings,
I am writing a program to consolidate all my personal finances for tax time
next year. (This is not a school project.)
There are transaction files from several banks and credit card companies. Each
has a similar format, CSV, but they vary in many ways, order of items, extra
thank you. i will studying this.
sincerely,
Joe.
> On Apr 26, 2016, at 7:48 AM, Balázs Kósi [via Smalltalk]
> wrote:
>
> categoriesByPayees := Dictionary new.
> FileStream readOnlyFileNamed: 'payees-by-categories.txt' do: [ :file |
> " With
Greetings,
I am having trouble getting started with Morphic. I tried the tutorial on
squeak.org and found it too hard to follow. Now I have morphs on my screen and
I don’t know how to close them.
I looked for videos on Morphic and found only a technical comparison of
changes. Is there a
‘j’ size ==> 1
$j size ==> error.
Why shouldn’t the size of a character be 1?
Sincerely,
Joe.
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
I see. Thank you.
> On May 23, 2016, at 9:52 AM, Bert Freudenberg [via Smalltalk]
> <ml-node+s1294792n4896855...@n4.nabble.com> wrote:
>
> On 23.05.2016, at 17:25, Joseph Alotta <[hidden email]> wrote:
> >
> > ‘j’ size ==> 1
> >
> >
> On May 10, 2016, at 12:03 PM, Louis LaBrunda [via Smalltalk]
> wrote:
>
> Joe,
>
> At each test for the type of data you can also test to see if you found type,
> something like
> this:
>
> stream := ReadStream on: myCollection.
>
Sorry, it doesn’t work on the Mac. The window gets black and then redraws. I
think maybe it means “refresh”.
Sincerely,
JOe.
> On May 11, 2016, at 5:07 PM, cbc [via Smalltalk]
> <ml-node+s1294792n4894371...@n4.nabble.com> wrote:
>
> Hi.
>
> On Tue, May 10,
Greetings,
What’s the difference between over and through in the debugger?
Is there something that goes to the next line of code?
Sincerely,
Joe.
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
It would be very hard to compete with meetup. They have a moat because they
were first. I run a meetup group and I have 1000 members, just because they
are on meetup and not somewhere else.
Same thing for eBay. Everyone hates it. But it is where the buyers and the
sellers are.
Sincerely,
> www.3Dicc.com
>
> https://www.google.com/+3Dicc
>
>
>
>
>
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Joseph Alotta
> Sent: Friday, May 13, 2016 9:14 AM
> To: [hidden email]
> Subject: [Newbies] Re: Need a local tutor for Squeak
>
Thanks Stephan and Craig,
I will keep it in mind. I haven’t given up on a local tutor yet.
Sincerely.
Joe.
> On May 13, 2016, at 1:44 AM, Stephan Eggermont [via Smalltalk]
> wrote:
>
> On 12/05/16 15:23, Craig Latta wrote:
> > If you
Shouldn’t this work?
'1921’ romanNumber
I get an error index out of bounds.
Sincerely,
Joe.___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
uot;Over" will skip it and "Into" will take you down the rabbit hole of code
> > that surrounds it.
> > >
> > > In this case try debugging that code using the different options and see
> > how much easier getting inside that block is when you use Throug
I am a beginner with Squeak and the problem I am facing is not knowing how to
go about using the tools available.
There is a lot of language information, but not a “here’s what we do” best
practices for developers. I don’t mean coding, but I mean, how to find the
resource I need. How to
) ifTrue: [stream
> upToEnd].
> ].
>
> Lou
>
> On Mon, 9 May 2016 16:00:58 -0500, Joseph Alotta <[hidden email]> wrote:
>
> >I dont think any of the solutions work for my case.
> >
> >I want to evaluate several different variable for
Greetings,
I am in need of a way to go to the end of a do loop.
myCollection do: [ :item |
(blah blah) ifTrue: “we found an item of the first type”
next item.
(blah blah) ifTrue: “we found an item of the second type”
next item.
I don’t think any of the solutions work for my case.
I want to evaluate several different variable for each step, make calculations
and if all of the conditions are met, then skip to the next item, otherwise, do
the next step of calculations.
The project is reading comma deliminated bank or
I would like to send the list a screenshot of my problem, but it bounced. What
is the appropriate way of sharing a screenshot?
Sincerely,
Joe.___
Beginners mailing list
Beginners@lists.squeakfoundation.org
How did you put the screen shot in your email?
Sent from my iPhone
> On Apr 20, 2016, at 4:54 PM, cbc [via Smalltalk]
> <ml-node+s1294792n4891078...@n4.nabble.com> wrote:
>
>
>
>> On Wed, Apr 20, 2016 at 2:25 PM, Joseph Alotta <[hidden email]> wrote:
>&g
nd explore that
> Either should work.
>
> One more thing to think about - if you aren't going to have multiples of your
> Transaction objects (or don't care to know that you have multiple of them) in
> your Bag, you might want to consider using a Set instead.
>
> Thanks,
>
Greetings,
I find a lot of my data needs two indices, f(x,y) instead of one, f(x).
f(x) would be implemented easily with a Dictionary,
but how do you implement f(x,y)?
I guess this is another way of asking is there a Table object or a Tuple object,
of even a graphics object Screen that has
> On Apr 13, 2016, at 8:15 PM, jelena [via Smalltalk]
> wrote:
>
>
> ___
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> If you
t;
>
>
>
>
> On Fri, May 6, 2016 at 4:30 PM, Phil (list) <[hidden email]>wrote:
> Joe,
>
> On Fri, 2016-05-06 at 13:23 -0700, Joseph Alotta wrote:
> > I am a beginner with Squeak and the problem I am facing is not
> > knowing how to go about using the too
> >
> > You don't need to add it back to the collection just update the object.
> >
> > Check your code for anything that might be making a copy.
> >
> > All the best,
> >
> > Ron Teitelbaum
> >
> >
> > -Original Message-
&g
Greetings,
I have a OrderedCollection of DrivingDays.
an OrderedCollection(2016-01-02| quigley s| nil|18§
2016-01-03| marianos fresh| nil|5§
2016-01-04| fresh thyme| nil|5§
2016-01-05| panda express| nil|3§
Greetings,
I was using printf extensively, but when I migrated to 5.0 printf does not
work. I filed out the package and filed it back in, but
the compiler can’t find it.
'%8.1f' class ==> ByteString
'%6.2e' printf: 412.343434 >> MessageNotUnderstood: ByteString>>printf:
Help!
Greetings,
I want to add a method to the Array class.
#(‘abc’ ‘def’) join => ‘abcdef’
#(‘abc’ ‘def’) join: $/ => ‘abc/def’
I am afraid that if I add it to Array directly, it will get lost in a new
update. I want to keep it in my project area.
In ruby, this is called a “mix in”.
How can I
Hi Bert,
I downloaded Squeak 5.0. Seems to work well. But I have a few issues:
1. How do I make the system font bigger?
2. How do I make the flaps disappear?
Sincerely,
Joe.
--
View this message in context:
http://forum.world.st/mix-ins-tp4909171p4909225.html
Sent from the Squeak
> On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk]
> wrote:
>
> Thirdly, to keep these "extension methods" in your own package, put them in a
> method category that starts with an asterisk followed by your package name.
> That is, if
Bert,
I don’t have these methods. I get an error. See attached:
Sincerely,
Joe.
> On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk]
> wrote:
>
> Firstly, these methods exist already. They are defined in
> SequencableCollection, a
I just switched from version 4.3 to 5.0. I like the new features, thank you.
But I have 5.0 running, hidden from my desktop, and I am reading my mail. I
notice the laptop is getting very warm on the
bottom. I look at the Activity Monitor and find that Squeak 5.0 accounts for
50% of my
at busy.
>
> You might be able to get a list of things your image is doing by
> executing this code in a workspace:
>
>MessageTally spyAllOn: [ (Delay forSeconds: 10) wait ]
>
> Wait 10 seconds for the window to appear.
>
> On Thu, Aug 11, 2016 at 10:07 AM, J
>
> 1. The community seems TINY for such a cool project. At this point it seems
> to mainly consist of people in academics and "old-timers" that have stuck
> around since a time when Squeak was more popular. Is this correct or am I
> maybe not looking in the right places?
>
> It seems a
I was able to get everything working fine on 5.0. I like it better than 4.3.
I think you guys have done a great job!!
Thank you.
Joe.
> On Aug 2, 2016, at 8:07 PM, Joseph Alotta <joseph.alo...@gmail.com> wrote:
>
> Hi Bert,
>
> I downloaded Squeak 5.0. Seems to w
> >
> > Hi Joe,
> >
> > I'm not aware of printf is it this: http://www.squeaksource.com/Printf/
> >
> > Ron
> >
> > -Original Message-
> > From: [hidden email] [mailto:[hidden email]] On Behalf Of Joseph Alotta
> > Sent:
okay, thanks. i will watch them.
> On Aug 12, 2016, at 3:57 AM, Bert Freudenberg [via Smalltalk]
> <ml-node+s1294792n491066...@n4.nabble.com> wrote:
>
> On Thu, Aug 11, 2016 at 5:16 PM, Joseph Alotta <[hidden email]> wrote:
> Hi Bert,
>
> Thank you for
Why is it slow to write on the Transcript. I thought with a powerful computer
like this, it would be fast. Is it really doing that much or is there
something in the code sleeping to a clock?
Sincerely,
Joe.
___
Beginners mailing list
thank you, ben!!
> On Jul 6, 2016, at 11:17 PM, Ben Coman [via Smalltalk]
> wrote:
>
> [:a :b | (a category) = (b category)
> ifFalse: [ (a category) < (b category) ]
> ifTrue: [ (a payee) < (b payee)]].
Greetings,
I have a collection of Transaction objects. They have instance variables of
category and payee.
A category might be “Office Expense” and a payee might be “Costco” or “Amazon”.
I want to sort by categories and then payees.
Office Expense, Amazon…..
…..
….
….
Office Expense, Costco
thank you.
> On Jul 11, 2016, at 11:18 AM, David Mitchell-10 [via Smalltalk]
> <ml-node+s1294792n4906041...@n4.nabble.com> wrote:
>
> Look at Compiler
>
> On Mon, Jul 11, 2016 at 11:13 AM Joseph Alotta <[hidden email]> wrote:
> Greetings,
>
> For debu
thank you.
> On Jul 11, 2016, at 11:17 AM, Ron Teitelbaum [via Smalltalk]
> <ml-node+s1294792n4906040...@n4.nabble.com> wrote:
>
> Hi Joe,
>
> Have a look at Complier.
>
> Then try
>
> Complier evaluate: '1+1'
>
> All the best,
>
Greetings,
For debuting purposes, I want to build a string with calculations and then
evaluate it.
Something like:
string := ‘2 + 2 - 5’;
and then do:
string asBlock value => -1
How can I get this to work?
Sincerely,
Joe.
___
Beginners
2, 2016 at 5:48 PM, Joseph Alotta <[hidden email]> wrote:
> Bert,
>
> I don’t have these methods. I get an error. See attached:
>
>
> Are you using Squeak 5.0?
>
> - Bert -
>
> ___
> Beginners mailing list
>
Greetings,
I want to convert a String with parenthesis and dollar sign to a Number or
Float.
'($1,925.46)’ asNumber
Is there something out of the box that does this, or do I have to write it
myself, character by character?
Should I use a ReadStream?
Sincerely,
Joe.
Thanks, Ron. I needed to preserve the negative, so I append a minus sign, then
use your snippet.
,
str := '($1,925.46)' .
('(*)' match: str ) ifTrue: [str := '-', str].
str := str reject: [:e | '($,)' includes: e].
num := str asNumber => -1925.46
Sincerely,
Joe.
--
View this message
Try using uncompress.
Uncompress myfile
Tar myfile
Sent from my iPhone
> On Jan 17, 2017, at 4:40 PM, Dan Norton [via Smalltalk]
> wrote:
>
> I'm trying to help someone many miles away install CogSpur on a mac. I run
> Linux as a newb.
>
> On
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.
ent off. If Squeak quit after a become and you are
> seeing differences after not saving things, something is wrong.
>
>
>
> Be afraid, be very afraid.
>
>
>
> All the best,
>
>
>
> Ron Teitelbaum
>
>
>
> From: [hidden email] [mailto:[h
Nice. That causes Squeak 5.0 to unexpectedly quit.
But when I start again, there are no instances of Books.
Sincerely,
Joseph
> On Sep 23, 2016, at 7:59 AM, Louis LaBrunda [via Smalltalk]
> wrote:
>
> Books allInstances do: [:b | b become: nil].
> On Aug 23, 2016, at 12:48 PM, Chris Muller-3 [via Smalltalk]
> wrote:
>
> Someone please get this man a beer!
>
> On Tue, Aug 23, 2016 at 9:30 AM, Marcel Taeumel <[hidden email]> wrote:
>
> >
> > We are happy to announce the release of Squeak
Is //modification a new way of doing comments?
Sent from my iPhone
> On Aug 22, 2016, at 11:45 AM, Ron Teitelbaum [via Smalltalk]
> wrote:
>
> Hi Roger!
>
>
>
> That was a nice try!
>
>
>
> I modified methods:
>
> addCustomMenuItems:
Did you notice the beer? I gave you two hearts :-)
PS. It is the same beer Dr. Who drinks!
--
View this message in context:
http://forum.world.st/ANN-Squeak-5-1-released-www-squeak-org-Trunk-open-again-tp4912329p4912503.html
Sent from the Squeak - Beginners mailing list archive at
I think you are using the period as a join operator. The join operator is a
comma.
> On Dec 28, 2016, at 4:26 PM, obrienj [via Smalltalk]
> wrote:
>
> Why does the x := 'Transcript show: 'abc'.'. yield x := 'Transcript show:
> 'abc Nothing more
It works for me (I did this in the workspace) :
'test' class ==> ByteString
'test' asUppercase ==> ‘TEST'
It is difficult to tell from your email what is the problem. I would
recommend that you test little things like
this in a workspace window. I am suspecting that your method is not
Offray,
I am sorry but I don’t understand what your project is about. The words you
use are very precise words that have a technical meaning that I do not possess.
Can you give us a simple example? I am looking for the junior high school
version of your explanation.
Sincerely,
Joseph.
80 matches
Mail list logo