Re: [Pharo-users] spec 2 documentation

2020-01-23 Thread Esteban Lorenzano
Hi,

> On 24 Jan 2020, at 05:38, Steve Quezadas  wrote:
> 
> Does any stuff from Spec 1 transfer over to Spec 2? Is it more-or-less 
> interchangeable with a few tweaks here and there?

Widgets API is more or less compatible, chances are that your components will 
work out of the box or it will be rewritten by a deprecation rule.
What is not compatible and there I not auto migration is the layout. You will 
need to rewrite those.

Esteban

> 
> On Thu, Jan 23, 2020 at 11:48 AM ASAM  > wrote:
> I looked for the same one and even donated. But as far as I know there is no
> book yet.
> 
> https://www.okpal.com/building-user-interfaces-with-spec/?utm_campaign=01DKKYM06QR7GF0K4S5YA3VVZ0&utm_medium=campaign_edit-okpuid_01DKKYKZ99J5VPEAKHNXH8375A-20190903&utm_source=share_directlink#/
>  
> 
> 
> -Joerg
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html 
> 
> 



Re: [Pharo-users] spec 2 documentation

2020-01-23 Thread Steve Quezadas
Does any stuff from Spec 1 transfer over to Spec 2? Is it more-or-less
interchangeable with a few tweaks here and there?

On Thu, Jan 23, 2020 at 11:48 AM ASAM  wrote:

> I looked for the same one and even donated. But as far as I know there is
> no
> book yet.
>
>
> https://www.okpal.com/building-user-interfaces-with-spec/?utm_campaign=01DKKYM06QR7GF0K4S5YA3VVZ0&utm_medium=campaign_edit-okpuid_01DKKYKZ99J5VPEAKHNXH8375A-20190903&utm_source=share_directlink#/
>
> -Joerg
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>


[Pharo-users] Extracting MP3 metadata

2020-01-23 Thread sergio ruiz
One of the projects I am working on requires the reading of mp3 metadata. I see 
this is covered all over the place in different languages, but I don’t see one 
for Pharo/Smalltalk. Does anyone know off hand of something like this?

Would it be worthwhile to do something like this in Smalltalk, or would it be a 
better idea to find and executable somewhere, run it, and parse the data there?

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



signature.asc
Description: Message signed with OpenPGP


Re: [Pharo-users] spec 2 documentation

2020-01-23 Thread ASAM
I looked for the same one and even donated. But as far as I know there is no
book yet.

https://www.okpal.com/building-user-interfaces-with-spec/?utm_campaign=01DKKYM06QR7GF0K4S5YA3VVZ0&utm_medium=campaign_edit-okpuid_01DKKYKZ99J5VPEAKHNXH8375A-20190903&utm_source=share_directlink#/

-Joerg




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[Pharo-users] spec 2 documentation

2020-01-23 Thread Steve Quezadas
guys,

is there any "official" documentation on spec 2? I found a video on
youtube, a slide deck from a presentation, and this github page:
https://github.com/dionisiydk/Spec2

It seems to have some sort of integration with gtk, but not too much
documentation.

- Steve


Re: [Pharo-users] New Smalltalk Blog

2020-01-23 Thread tbrunz
Ah, but doesn't that make you fully qualified to be an internet blogger?  :^D

Keep leading the charge, Richard!  Your new blog is a good read...

-t




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] New Smalltalk Blog

2020-01-23 Thread horrido
If I'm not mistaken, all you have to do is add '/feed/' to the URL, like
https://smalltalk.tech.blog/feed/.

Of course, I don't /really/ know what the f*ck I'm talking about.



horrido wrote
> I don't know anything about RSS. How do I enable it?
> 
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] New Smalltalk Blog

2020-01-23 Thread horrido
I don't know anything about RSS. How do I enable it?





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] New Smalltalk Blog

2020-01-23 Thread Bruce O'Neel

  
Hi,  
  
Does it have an atom or RSS feed?  If so I'll add it to planet.squeak.org  
  
cheers  
  
bruce  
  
  





Re: [Pharo-users] New Smalltalk Blog

2020-01-23 Thread horrido
Here's the second of four in the series from Leandro:  Extending the
Smalltalk Syntax 2
 
.

I'm looking for submissions, so if any of you are interested, please send me
an email.



horrido wrote
> I've created a new Smalltalk blog ;.
> I've left
> Medium because of their pressure to put everyone behind a paywall.
> 
> I've opened up the blog for third-party submissions. Anyone can email me
> an
> article submission and if I deem it appropriate, I will edit and publish
> it. Here's an example from Leandro Caniglia, President of FAST: Extending
> the Smalltalk Syntax
> ;.
> 
> Articles should serve to showcase why Smalltalk is such a great language.
> If possible, an accompanying eye-catching feature image would be nice. (If
> you look at the other posts, you'll see images of a Maserati and a Tesla!)
> 
> I would prefer the article submissions to be in LibreOffice format. It
> would make it easier for me to edit.
> 
> Thanks,
> Richard





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Workspace with reliable save feature

2020-01-23 Thread Offray Vladimir Luna Cárdenas
Hi,

Also you can use Grafoscopio[1], to save longer nested scripts and
combining them with longer prose. It also needs some love and to be
ported to Spec2. I will start with testing it on Pharo 8 and slowly port
it to Spec2. Any help is welcomed :-).

[1] https://mutabit.com/grafoscopio/en.html

Cheers,

Offray

On 23/01/20 6:19 a. m., Torsten Bergmann wrote:
> Hi Hilaire,
>
> ScriptManager and QuickAccess come to mind.
>
> I guess ScriptManager would need some love and a port to Spec2. But I guess 
> QuickAccess
> could be easily used. It also has Spotter integration and you can import / 
> export your script actions.
>
> Project including video is on https://github.com/astares/Pharo-QuickAccess
>
> Should be available in Catalog too
>
> Thx
> Torsten
>
>> Gesendet: Mittwoch, 22. Januar 2020 um 23:04 Uhr
>> Von: "HilaireFernandes" 
>> An: pharo-users@lists.pharo.org
>> Betreff: [Pharo-users] Workspace with reliable save feature
>>
>> Hi,
>>
>> Do we have an external workspace with a deterministic save feature.
>> I looked at the catalog but found none,
>>
>> Both Workspace and Playground fall short.
>>
>> Workspace save file with 0 byte of content!
>>
>> Playground, with my experience with student, is absolutely not reliable to
>> save script, its auto-save feature always results in lost of code.
>> Particularly when combined with its rename and its inexplicit save
>> behaviour. It is not practical to edit script and save code.
>>
>> I will start a second round of coding with students (12-14 yrs old) and I
>> need them to save their code. The only viable option I see is to ask them to
>> copy and to past their code in an external editor ! It will be a mess for
>> sure and waste of time and energy.
>>
>> Any alternative  idea or option I failed to see ?
>>
>> Hilaire
>>
>>
>>
>> -
>> http://drgeo.eu
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>
>>



Re: [Pharo-users] Workspace with reliable save feature

2020-01-23 Thread Torsten Bergmann
Hi Hilaire,

ScriptManager and QuickAccess come to mind.

I guess ScriptManager would need some love and a port to Spec2. But I guess 
QuickAccess
could be easily used. It also has Spotter integration and you can import / 
export your script actions.

Project including video is on https://github.com/astares/Pharo-QuickAccess

Should be available in Catalog too

Thx
Torsten

> Gesendet: Mittwoch, 22. Januar 2020 um 23:04 Uhr
> Von: "HilaireFernandes" 
> An: pharo-users@lists.pharo.org
> Betreff: [Pharo-users] Workspace with reliable save feature
>
> Hi,
>
> Do we have an external workspace with a deterministic save feature.
> I looked at the catalog but found none,
>
> Both Workspace and Playground fall short.
>
> Workspace save file with 0 byte of content!
>
> Playground, with my experience with student, is absolutely not reliable to
> save script, its auto-save feature always results in lost of code.
> Particularly when combined with its rename and its inexplicit save
> behaviour. It is not practical to edit script and save code.
>
> I will start a second round of coding with students (12-14 yrs old) and I
> need them to save their code. The only viable option I see is to ask them to
> copy and to past their code in an external editor ! It will be a mess for
> sure and waste of time and energy.
>
> Any alternative  idea or option I failed to see ?
>
> Hilaire
>
>
>
> -
> http://drgeo.eu
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>



Re: [Pharo-users] Embedding pharo in C++

2020-01-23 Thread teso...@gmail.com
Hi Roland,

the function vm_main_with_parameters() starts the vm and it will
not return until the image finishes.
In my example, only when the SDL window is closed, the quit primitive
is executed and the function ends.

To do a nicer POC we need to make modifications in the image, so it
handles keeping the image open.

On Wed, Jan 22, 2020 at 7:08 PM Roland Plüss via Pharo-users
 wrote:
>
> I gave the C-Example repository a try but I don't fully understand how
> it works. Does the vm_main_with_parameters() block until the VM is quit
> or some function it runs? From looking at the source code I'm not sure
> what it does.
>
> On 1/22/20 12:17 PM, Pierce Ng wrote:
> > On Wed, Jan 22, 2020 at 11:04:07AM +0100, teso...@gmail.com wrote:
> >>nice to hear about the Pascal experiment,
> > I've published my code on GH and sent an announcement to pharo-dev.
> >
> > Repo is https://github.com/PierceNg/pharo-vm-embedded-pascal
> >
> > Pierce
> >
> >
>
> --
> Yours sincerely
> Plüss Roland
>
> Leader and Head Programmer
> - Game: Epsylon ( http://www.indiedb.com/games/epsylon )
> - Game Engine: Drag[en]gine ( http://www.indiedb.com/engines/dragengine
> , http://dragengine.rptd.ch/wiki )
> - As well as various Blender export scripts und game tools
>


-- 
Pablo Tesone.
teso...@gmail.com