Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread stepharo
ere is some interesting event loop stuff from Tcl. http://wiki.tcl.tk/2567 I wish we had some easy Tk UI building things in Pharo. Me too :) First I want Bloc to get out and be ready for integration to Pharo but it takes time. Spec is okay but not intuitive. As it is the only thing that

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread stepharo
Thanks Ben. I can tell you that we want to remove all such activeHand. :) One day it will come. Stef Le 3/10/16 à 12:25, Ben Coman a écrit : On Mon, Oct 3, 2016 at 6:08 PM, Ben Coman wrote: On Mon, Oct 3, 2016 at 3:49 PM, CodeDmitry wrote: a JavaScript timeout is a function that takes a

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread stepharo
Le 3/10/16 à 17:25, p...@highoctane.be a écrit : Case in point, I am submitting a proposal here: https://devfest.be/blog/posts/cfp/ That's Google tech event here. I proposed to showcase MDL in Pharo along with workshop. Let's see how it goes... Nice :) Cyril will be happy :) Stef Phil

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
Cool. Now, I think we should do: WorldState MinCycleLapse: 16. So that we get a real 60FPS when moving windows around instead of the default 20 which is 50FPS, and not as smooth. Set it at 10 and it is too much, but hey, we have a lot of power these days. Try to set it to 200 and suffer :-p

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread CodeDmitry
You seem to have answered my question as I was revising it D: -- View this message in context: http://forum.world.st/Intro-to-Microsoft-COM-for-Smalltalkers-tp4917738p4917916.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
Also, check MorphicUIManager>>#spawnNewProcess UIProcess := [ [World doOneCycle. Processor yield. false] whileFalse: []. ] newProcess priority: Processor userSchedulingPriority. UIProcess name: 'Morphic UI Process'. UIProcess resume digging into doOneCycle, you'll find: #doOneCycleFor: aWorld

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
On Mon, Oct 3, 2016 at 6:47 PM, CodeDmitry wrote: > LOL (in GrowlMorph): > is: rect saneWithRespectTo: morphs > > ^(morphs anySatisfy: [ :morph | morph owner isNotNil and: [morph > bounds > intersects: rect]]) not > > for some reason I find this method name quite amusing :3 > There are i

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread CodeDmitry
LOL (in GrowlMorph): is: rect saneWithRespectTo: morphs ^(morphs anySatisfy: [ :morph | morph owner isNotNil and: [morph bounds intersects: rect]]) not for some reason I find this method name quite amusing :3 Let me guess; 1. "World defer: aBlock." defers the event to be called as soo

Re: [Pharo-users] Pharo Association

2016-10-03 Thread Esteban Lorenzano
weird, I just entered and changed some data of my account. only thing to remark is that on http://association.pharo.org/web/members , where you have the login, “username” is actually your registered mail. Esteban ps: about bountysource, I don’t know :)

Re: [Pharo-users] Pharo Association

2016-10-03 Thread Gabriel Cotelli
Same here... probably some manual work is required. On Mon, Oct 3, 2016 at 11:52 AM, Esteban A. Maringolo wrote: > 2016-10-03 9:08 GMT-03:00 Marcus Denker : > > On 3 Oct 2016, at 08:59, John Pfersich wrote: > > I went to the Pharo Association web site (http://association.pharo.org) > to > > cha

Re: [Pharo-users] Pharo on my Ubuntu laptop :3

2016-10-03 Thread Dimitris Chloupis
You can install also my ChronosManager project from Package Browser if you want to take a look at a morphic custom sci fi GUI made mainly with imagemorphs and of course the necessary technomagic On Mon, Oct 3, 2016 at 12:04 PM CodeDmitry wrote: > Sounds exciting, I've been trying to tweak the wi

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
Case in point, I am submitting a proposal here: https://devfest.be/blog/posts/cfp/ That's Google tech event here. I proposed to showcase MDL in Pharo along with workshop. Let's see how it goes... Phil On Mon, Oct 3, 2016 at 4:43 PM, Offray Vladimir Luna Cárdenas < offray.l...@mutabit.com> wrote

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
On Mon, Oct 3, 2016 at 3:00 PM, Thibault Raffaillac < thibault.raffail...@inria.fr> wrote: > I am not very fond of event loops in general, because they imply "many > inputs, one output" (process all pending events, then update screen). > For Morphic this is fine, because it displays on one screen,

Re: [Pharo-users] Pharo Association

2016-10-03 Thread Esteban A. Maringolo
2016-10-03 9:08 GMT-03:00 Marcus Denker : > On 3 Oct 2016, at 08:59, John Pfersich wrote: > I went to the Pharo Association web site (http://association.pharo.org) to > change my profile, but I didn't find any way to alter it. Am I missing > something? > > There seems to beb a problem with refresh

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Offray Vladimir Luna Cárdenas
Hi, On 02/10/16 17:13, p...@highoctane.be wrote: [...] Use it whenever you can, it will force you to understand how to do real stuff with it properly. I do hackathons with it. https://hackernoon.com/hackapost-how-hackathons-can-be-the-best-learning-tool-under-the-sun-9c97e567e0a5 As com

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Vitor Medina Cruz
I think it is pretty much what stash does, but it creates a named shelved change set that stays locally and that can be viewd from a list. You can create as many as you need and you can unshelve the entire change set, destroying it or not, or only part of it, even only one change from a method. ht

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Nicolas Passerini
No I do not know it, how does it work? On Mon, Oct 3, 2016 at 3:43 PM, Vitor Medina Cruz wrote: > Yes, I agree on the case of fake commit, I prefer your usage of git. In > the case of stash, I prefer Intellij shelve feature, do you know it? I > think it helps me organize better than the stash, I

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Vitor Medina Cruz
Yes, I agree on the case of fake commit, I prefer your usage of git. In the case of stash, I prefer Intellij shelve feature, do you know it? I think it helps me organize better than the stash, I use it all the time. On Mon, Oct 3, 2016 at 10:35 AM, Nicolas Passerini wrote: > > > On Mon, Oct 3, 2

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Nicolas Passerini
On Mon, Oct 3, 2016 at 2:19 PM, Vitor Medina Cruz wrote: > My two cents: having different images for branches is a good workaround, > but I will have to manually control those images, while git abstracts this > a little since I have a way to tell it to stash and bring back work in > progress. Dep

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Thibault Raffaillac
I am not very fond of event loops in general, because they imply "many inputs, one output" (process all pending events, then update screen). For Morphic this is fine, because it displays on one screen, refreshing at/around its frequency. But there might be other screens, or network-output, file-

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Vitor Medina Cruz
My two cents: having different images for branches is a good workaround, but I will have to manually control those images, while git abstracts this a little since I have a way to tell it to stash and bring back work in progress. Depending on the project, I think loading a new image with a fresh HEA

Re: [Pharo-users] 19169 Debugging World>>doOneCycleNowFor: induces debugger MNU (was Re: Intro to Microsoft COM for Smalltalkers)

2016-10-03 Thread Denis Kudriashov
So it is not related to Ronie changes which is good because they are main step for multi windows support 2016-10-03 13:44 GMT+02:00 Ben Coman : > On Mon, Oct 3, 2016 at 7:08 PM, Denis Kudriashov > wrote: > > Hi Ben. > > > > 2016-10-03 12:37 GMT+02:00 Ben Coman : > >> > >> A further curiousity oc

Re: [Pharo-users] Pharo Association

2016-10-03 Thread Marcus Denker
> On 3 Oct 2016, at 08:59, John Pfersich wrote: > > I went to the Pharo Association web site (http://association.pharo.org > ) to change my profile, but I > didn't find any way to alter it. Am I missing something? > There seems to beb a problem with

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
Here is some interesting event loop stuff from Tcl. http://wiki.tcl.tk/2567 I wish we had some easy Tk UI building things in Pharo. Spec is okay but not intuitive. As it is the only thing that exposes the myriad of various Morphs we have and shields us (somewhat) from the underlying details, we

[Pharo-users] 19169 Debugging World>>doOneCycleNowFor: induces debugger MNU (was Re: Intro to Microsoft COM for Smalltalkers)

2016-10-03 Thread Ben Coman
On Mon, Oct 3, 2016 at 7:08 PM, Denis Kudriashov wrote: > Hi Ben. > > 2016-10-03 12:37 GMT+02:00 Ben Coman : >> >> A further curiousity occurs to me. With this being executed 20 times >> a second or more, how can the active hand ever be anything other than >> the primary hand? >> Why isn't the ac

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
A good trick is to use raw Display output. Display getCanvas drawString: 'hello' from: 1 to: 5 autoBoundAt: 0 @ 0 font: nil color: Color black. On Mon, Oct 3, 2016 at 12:25 PM, Ben Coman wrote: > On Mon, Oct 3, 2016 at 6:08 PM, Ben Coman wrote: > > On Mon, Oct 3, 2016 at 3:49 PM, CodeDmitry

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
There has been some serious refactoring occuring in these specific bowels of the beast. Phil On Mon, Oct 3, 2016 at 1:08 PM, Denis Kudriashov wrote: > Hi Ben. > > 2016-10-03 12:37 GMT+02:00 Ben Coman : > >> A further curiousity occurs to me. With this being executed 20 times >> a second or mor

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
UIManager>>#defer: aBlock can be useful too. defer: aBlock " Evaluate the given Block in the UI thread as soon as there is nothing scheduled. Evaluate immediately when there is no UI" aBlock value For some fun, check also GrowlMorph 10 timesRepeat: [ (GrowlMorph openWithLabel: 'The time' conte

Re: [Pharo-users] Pharo on my Ubuntu laptop :3

2016-10-03 Thread p...@highoctane.be
SystemWindow can be a good start. On Mon, Oct 3, 2016 at 10:57 AM, CodeDmitry wrote: > Sounds exciting, I've been trying to tweak the window buttons but couldn't > figure out where to look. > > > > -- > View this message in context: http://forum.world.st/Pharo- > on-my-Ubuntu-laptop-3-tp4917833

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Denis Kudriashov
Hi Ben. 2016-10-03 12:37 GMT+02:00 Ben Coman : > A further curiousity occurs to me. With this being executed 20 times > a second or more, how can the active hand ever be anything other than > the primary hand? > Why isn't the active hand stored, all hands cycled through processing > events, then

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Ben Coman
On Mon, Oct 3, 2016 at 6:25 PM, Ben Coman wrote: > On Mon, Oct 3, 2016 at 6:08 PM, Ben Coman wrote: >> On Mon, Oct 3, 2016 at 3:49 PM, CodeDmitry wrote: >>> a JavaScript timeout is a function that takes a block and a period of time, >>> and after this period of time, puts the block at the end o

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Ben Coman
On Mon, Oct 3, 2016 at 6:08 PM, Ben Coman wrote: > On Mon, Oct 3, 2016 at 3:49 PM, CodeDmitry wrote: >> a JavaScript timeout is a function that takes a block and a period of time, >> and after this period of time, puts the block at the end of the event >> queue, to be executed as soon as the run

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Ben Coman
On Mon, Oct 3, 2016 at 3:49 PM, CodeDmitry wrote: > a JavaScript timeout is a function that takes a block and a period of time, > and after this period of time, puts the block at the end of the event > queue, to be executed as soon as the runtime is done performing the tasks in > front of it. > >

Re: [Pharo-users] Pharo on my Ubuntu laptop :3

2016-10-03 Thread CodeDmitry
Sounds exciting, I've been trying to tweak the window buttons but couldn't figure out where to look. -- View this message in context: http://forum.world.st/Pharo-on-my-Ubuntu-laptop-3-tp4917833p4917846.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] bytes to utf8 string / byte stream parsing

2016-10-03 Thread Fabrice Leal
hey! yeah, i checked it, it seems to solve my issue but i havent test it yet. i have a custom binary format that i want to parse, and was looking for a way for reading a utf8 string as encoded by c# (where i generate files with this format). gotta check that Xtreams thing On Mon, Oct 3, 2016 at 6

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread p...@highoctane.be
And if this just for a graphical clock, a morph with step should be doing the trick. stepTime can be set as well. Phil On Mon, Oct 3, 2016 at 10:09 AM, Denis Kudriashov wrote: > Hi. > > 2016-10-03 9:49 GMT+02:00 CodeDmitry : > >> a JavaScript timeout is a function that takes a block and a perio

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread CodeDmitry
Interesting, I got to play around with these, do some async morph animations. -- View this message in context: http://forum.world.st/Intro-to-Microsoft-COM-for-Smalltalkers-tp4917738p4917839.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Denis Kudriashov
Hi. 2016-10-03 9:49 GMT+02:00 CodeDmitry : > a JavaScript timeout is a function that takes a block and a period of time, > and after this period of time, puts the block at the end of the event > queue, to be executed as soon as the runtime is done performing the tasks > in > front of it. > > I a

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread Dimitris Chloupis
of course Pharo has an event queue, we call them announcements. That implies however that you want the code to execute as soon as something else happens. If you don't , fork and delay should be enough. With fork you dont need to wait for othet tasks to finish to execute your code, it will just put

Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers

2016-10-03 Thread CodeDmitry
a JavaScript timeout is a function that takes a block and a period of time, and after this period of time, puts the block at the end of the event queue, to be executed as soon as the runtime is done performing the tasks in front of it. I am not sure if Pharo has an event queue, so it's a bit hard

Re: [Pharo-users] Pharo on my Ubuntu laptop :3

2016-10-03 Thread Dimitris Chloupis
Oh I forgot to tell you , you can customize the theme too the easy way, install my project Nireas from Package Browser , then go to settings and choose the Nirea theme, a blue theme will appear however this is not the end of the story , open world menu go to Ephestos -> Nireas, a GUI will appear ,

[Pharo-users] Pharo on my Ubuntu laptop :3

2016-10-03 Thread CodeDmitry
Behold! -- View this message in context: http://forum.world.st/Pharo-on-my-Ubuntu-laptop-3-tp4917833.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] About Seaside3.2

2016-10-03 Thread Stephan Eggermont
On 01/10/16 07:45, stepharo wrote: And it is proposing the correct menu? And how do I know that this 3.2.0? We have a comprehensive site: https://github.com/SeasideSt/Seaside/wiki/Seaside320Changelog Or you don't and then you take a look at the symbolic versions and select one of those, eithe

[Pharo-users] Pharo Association

2016-10-03 Thread John Pfersich
I went to the Pharo Association web site (http://association.pharo.org) to change my profile, but I didn't find any way to alter it. Am I missing something? Sent from my iPad