[Pharo-users] Updating objects in the inspector

2024-01-12 Thread sergio ruiz
Hi, all.

I have been away from Pharo/Smalltalk for several years, but I am coming back 
to it now. I am a senior developer, but haven’t used smalltalk in any 
professional projects.

I also found that I don’t do ANY pet projects for fun anymore, as the current 
batch of languages/frameworks are not fun. They are effective and all. But not 
fun.

I am starting a bunch of “scratch my own itch” projects. I’ll be using Pharo as 
the data store, and maybe more. The thing I really want to do is document the 
usage of Pharo in my projects, and explain the toolchain, and why i chose each 
piece.

My first project is to take a list of movie events from the local theater and 
create a listing reminiscent of the newspaper listings we read in the olden 
days. 

I have my models set up and figured out, but I have a really simple question.

How do i change the value of an instance variable in the inspector. It looks 
like it should be super simple, but it’s not working.

In this case, I am just trying to take the period out of a string. See that 
attached image.

Thanks, all!




peace,
sergio
photographer, journalist, visionary

Public Key: 
https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social
https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101



[Pharo-users] Removing and object from an OrderedCollection in the inspector

2024-01-12 Thread sergio ruiz

I am trying to remove some objects from an OrderedCollection in the inspector.

I have class called Event. This has a class variable called Events which is a 
storage are for and ordered collection of Events.

So, i inspected “Event Events” and I see my ordered collection.

In the inspector, I select on of the objects, and I try to evaluate “Event 
Events remove: self”.. But I am getting an error: an Event not found in 
OrderedCollection.

Does anyone have any ideas on how i’d do this?

Thanks!



peace,
sergio
photographer, journalist, visionary

Public Key: 
https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social
https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101