Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread David T. Lewis
On Mon, Aug 04, 2014 at 02:53:07PM +0200, Levente Uzonyi wrote: > On Mon, 4 Aug 2014, Frank Shearar wrote: > > >On 4 August 2014 09:38, Cl??ment Bera wrote: > >> > >> > >> > >>2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk : > >>> > >>>Hi guys, > >>> > >>>I have a script that runs very slow and does a

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread S Krish
http://stackoverflow.com/questions/5919172/gpgpu-vs-multicore The answer is really nice.. over GPU/ multithreaded CPU et als. GPU is not a panacea for enterprise programming, but for specific parallel unbranched-no synchronization driven algorithms * The worst code for GPU is code with less paral

Re: [Pharo-dev] [pharo-project/pharo-core] ea9df7: 40138

2014-08-04 Thread Sean P. DeNigris
stepharo wrote > you could also provide code :) Nicolai beat me to it :) https://pharo.fogbugz.com/default.asp?13770#BugEvent.106854 - Cheers, Sean -- View this message in context: http://forum.world.st/pharo-project-pharo-core-ea9df7-40138-tp4770903p4771802.html Sent from the Pharo Smallt

Re: [Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread Tim Mackinnon
Benjamin - I feel your pain. I went through the same thing - and I did try to help things by updating some of the information on the FogBugz wiki (which I think you found - at least the video). I know I hit a bunch of 404 errors too - which I corrected, but I can see that you hit a few more - so I

Re: [Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread Benjamin Pollack
On Aug 4, 2014, at 3:51 PM, stepharo wrote: > Hi guys > > I'm sure that most of you did not realize it, but Pharo does not magically > improve. It improves because some of us are looking > at the tracker issues and looking at the code and improving it. > > Since Pharo is yours I wonder why you

Re: [Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread Nicolai Hess
2014-08-04 22:37 GMT+02:00 kilon alios : > I can tell you why. Because its rarely is simple for people not familiar > with Pharo like me. > > I once tried to help Damien with PharoLauncher. I added the progress bars > you get when you download a new image it was simple as pie. Then Damien > recomm

Re: [Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread Sven Van Caekenberghe
Writing all kinds of documentation, inside and outside the image is a very important and much appreciated contribution. On 04 Aug 2014, at 22:37, kilon alios wrote: > I can tell you why. Because its rarely is simple for people not familiar with > Pharo like me. > > I once tried to help Damie

Re: [Pharo-dev] [pharo-project/pharo-core] ea9df7: 40138

2014-08-04 Thread stepharo
Thanks you could also provide code :) Stef On 4/8/14 23:04, Sean P. DeNigris wrote: stepharo wrote add an entry and assign to camille. Done https://pharo.fogbugz.com/default.asp?13770 - Cheers, Sean -- View this message in context: http://forum.world.st/pharo-project-pharo-core-ea9df7

Re: [Pharo-dev] [pharo-project/pharo-core] ea9df7: 40138

2014-08-04 Thread Sean P. DeNigris
stepharo wrote > add an entry and assign to camille. Done https://pharo.fogbugz.com/default.asp?13770 - Cheers, Sean -- View this message in context: http://forum.world.st/pharo-project-pharo-core-ea9df7-40138-tp4770903p4771774.html Sent from the Pharo Smalltalk Developers mailing list arc

Re: [Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread kilon alios
I can tell you why. Because its rarely is simple for people not familiar with Pharo like me. I once tried to help Damien with PharoLauncher. I added the progress bars you get when you download a new image it was simple as pie. Then Damien recommended for me to try to add support to PharoLauncher f

Re: [Pharo-dev] Problem with creating a reference of OSProcess

2014-08-04 Thread kilon alios
yes temp fixes this. Strange bug . I also see it works with class variables, so it not as a big problem as I feared, thanks Stef :) On Mon, Aug 4, 2014 at 10:33 PM, stepharo wrote: > you should add temp declaration. > > Apparently this is needed now. At least I got the same error and just > ad

Re: [Pharo-dev] Problem with creating a reference of OSProcess

2014-08-04 Thread Guillermo Polito
Ha, the Workspace stores variables in a Dictionary, which contains Associations instead of the new global variable objects! Maybe we need to introduce a new kind of collection containing the new Global variables or something like that? (okok, a global variable is not exactly what you have in a wor

Re: [Pharo-dev] [pharo-project/pharo-core] ea9df7: 40138

2014-08-04 Thread stepharo
sean add an entry and assign to camille. We got confused with igor and it took us a while to find. I think that the implementation in Analyse was not necessary. (so probably having 2 and 3 is ok) even if I never saw the difference. Stef On 4/8/14 15:08, Sean P. DeNigris wrote: GitHub wrote

[Pharo-dev] About your contributions: Improve Pharo right now, right there.

2014-08-04 Thread stepharo
Hi guys I'm sure that most of you did not realize it, but Pharo does not magically improve. It improves because some of us are looking at the tracker issues and looking at the code and improving it. Since Pharo is yours I wonder why you do not take the time to improve. In fact, this is the ke

Re: [Pharo-dev] Problem with creating a reference of OSProcess

2014-08-04 Thread stepharo
you should add temp declaration. Apparently this is needed now. At least I got the same error and just adding temps fixed it. Stef On 4/8/14 21:13, kilon alios wrote: when I do this thiproc := OSProcess thisOSProcess . I get this Association(Object)>>doesNotUnderstand: #emitStore: OCLiter

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread stepharo
On 4/8/14 19:46, Alexandre Bergel wrote: Hi Yuriy, My advice is to use OpenCL. OpenCL is a standard to use the graphical card to carry out massive computation. The good news is that Ronie has worked on a binding between OpenCL and Pharo. I am using it and it works pretty well. http://smalltal

Re: [Pharo-dev] Why Bloc?

2014-08-04 Thread stepharo
On 4/8/14 21:06, Sean DeNigris wrote: When SimpleMorphic was released, the problem was that we didn’t know how to integrate it into our existing Morphic. Also, the problem with starting with CUIS’s Morphic was IIRC that it didn’t properly handle internationalization. Now that we’re heading t

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread stepharo
Thanks, I know about this, The problem is exactly that I’m wrapping whole hierarchies in my own objects because I need that. Anyway thank you! explain us what you are doing because sometimes we know tricks :). I think that often people that forking can solve speed but you have to introduce

[Pharo-dev] Problem with creating a reference of OSProcess

2014-08-04 Thread kilon alios
when I do this thiproc := OSProcess thisOSProcess . I get this Association(Object)>>doesNotUnderstand: #emitStore: OCLiteralVariable>>emitStore: OCASTTranslatorForValue(OCASTTranslator)>>visitAssignmentNode: RBAssignmentNode>>acceptVisitor: OCASTTranslatorForValue(RBProgramNodeVisitor)>>visitNod

[Pharo-dev] Why Bloc?

2014-08-04 Thread Sean DeNigris
When SimpleMorphic was released, the problem was that we didn’t know how to integrate it into our existing Morphic. Also, the problem with starting with CUIS’s Morphic was IIRC that it didn’t properly handle internationalization. Now that we’re heading toward a total replacement anyway, why sta

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Denis Kudriashov
Hi Do you try TaskIt framework? It has BlockClosure>>forkIt which transparently executes code in separate image. 2014-08-04 12:17 GMT+04:00 Yuriy Tymchuk : > Hi guys, > > I have a script that runs very slow and does a lot of non dependent > operation of a collection. I wander if I can speed it

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Alexandre Bergel
Hi Yuriy, My advice is to use OpenCL. OpenCL is a standard to use the graphical card to carry out massive computation. The good news is that Ronie has worked on a binding between OpenCL and Pharo. I am using it and it works pretty well. http://smalltalkhub.com/#!/~ronsaldo/OpenCL Cheers, Alexan

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread kilon alios
yes thats correct. I am using python threads , (they are green threads too like pharo) to make my blocking socket not block the overall execution of code. Dont need fork on the pharo side because I send the message and I expect an immediate reply so the blocking is too short for the user to notice

Re: [Pharo-dev] Fogbugz login to issue

2014-08-04 Thread Chris Cunningham
Interesting. I tried going the other way (on the same issue) and looking at the read only view from Penelope. Once there, I have no idea where to go. Maybe find the package Rectangle is part of and try digging down there? Hmm, nope. Either wrong guess, or now that 2489 is closed, it isn't on P

[Pharo-dev] First commit with Git-Filetree

2014-08-04 Thread kilon alios
So I have started using gitfiletree and the first commit seems to commit only .filetree file and not my package folder. I had to add the package folder with a "git add" and of course make a commit of it .Is this normal ? the process I have followed is this 1) Create a github repo intialized with

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Guillermo Polito
Wait, if your computations make use of I/O, wouldn't *forking* allow to take advantage when a green thread is blocked for example, writing a socket? :) On Mon, Aug 4, 2014 at 2:53 PM, Levente Uzonyi wrote: > On Mon, 4 Aug 2014, Frank Shearar wrote: > > On 4 August 2014 09:38, Clément Bera wro

Re: [Pharo-dev] [pharo-project/pharo-core] ea9df7: 40138

2014-08-04 Thread Sean P. DeNigris
GitHub wrote > 13729 3 menu item to generate inst var accessors > https://pharo.fogbugz.com/f/cases/13729 I left a comment in the issue, but maybe no one is checking there since it's closed... >From the original comment: There is currently 3 menu items to generate iv accessors: Analyse

Re: [Pharo-dev] EyeCollectionInspector not working?

2014-08-04 Thread Clément Bera
Hum it works for me in the latest Pharo (40152). Perhaps it is related to the last but one build that crashed because Smalltalkhub was not responding. Please retry in the last Pharo image. 2014-08-04 14:45 GMT+02:00 Esteban Lorenzano : > it does not appear in the inspector options, when inspec

[Pharo-dev] [pharo-project/pharo-core] 9b2d31: 40152

2014-08-04 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 9b2d319aa04c861cbcdea9cbc27dabacfa7ad709 https://github.com/pharo-project/pharo-core/commit/9b2d319aa04c861cbcdea9cbc27dabacfa7ad709 Author: Jenkins Build Server Date: 2014-08-04 (Mon, 04 Aug 2014

[Pharo-dev] [pharo-project/pharo-core]

2014-08-04 Thread GitHub
Branch: refs/tags/40152 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Levente Uzonyi
On Mon, 4 Aug 2014, Frank Shearar wrote: On 4 August 2014 09:38, Clément Bera wrote: 2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk : Hi guys, I have a script that runs very slow and does a lot of non dependent operation of a collection. I wander if I can speed it up by making it run in anothe

[Pharo-dev] EyeCollectionInspector not working?

2014-08-04 Thread Esteban Lorenzano
it does not appear in the inspector options, when inspecting an Array or an OrderedCollection. any clue? Esteban

Re: [Pharo-dev] Moving to GitHub

2014-08-04 Thread kilon alios
I don't like it. First its not suitable for my project since my project contains python files as well. Second get 30 mbs image so you can get an additional few kbs sounds like an overkill. Forth what happens to the image you work already ? what if it contains code you want to keep ? send the user

Re: [Pharo-dev] Moving to GitHub

2014-08-04 Thread Benjamin
I had jenkins job doing that :) But sadly, my server is now sleeping in a box since I moved out :) Ben On 04 Aug 2014, at 11:53, Yuriy Tymchuk wrote: > I’m follower of "new day – new image” way :) > > Uko > > On 04 Aug 2014, at 11:48, kilon alios wrote: > >> Well lately I have been question

Re: [Pharo-dev] Moving to GitHub

2014-08-04 Thread Yuriy Tymchuk
I’m follower of "new day – new image” way :) Uko On 04 Aug 2014, at 11:48, kilon alios wrote: > Well lately I have been questioning the need for configurations . I am > considering doing only the second port of your blog post. Ask github for the > latest release of my project , download it, u

Re: [Pharo-dev] Moving to GitHub

2014-08-04 Thread kilon alios
Well lately I have been questioning the need for configurations . I am considering doing only the second port of your blog post. Ask github for the latest release of my project , download it, unzip it and point pharo to the unziped directory. Then pharo can periodocally keep probing github to see i

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Yuriy Tymchuk
On 04 Aug 2014, at 11:21, Esteban Lorenzano wrote: > > On 04 Aug 2014, at 11:16, Yuriy Tymchuk wrote: > >> >> On 04 Aug 2014, at 11:09, Esteban Lorenzano wrote: >> >>> something is going bad with smalltalkhub, it is working in *really* slow >>> motion, with a lot of packet loss, etc. >>

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Esteban Lorenzano
On 04 Aug 2014, at 11:17, kilon alios wrote: > yeah I will also move my latest project to github. I am already more active > with github than I am in SThub anyway. The one thing that stopped me so far > is that I don't want to force people to install git to get the latest version > of my pro

[Pharo-dev] Moving to GitHub

2014-08-04 Thread Yuriy Tymchuk
You don’t have to. Just keep your configuration (here is a guide how to do it http://sleepycoders.blogspot.ch/2014/04/how-to-distribute-your-github-pharo.html) on some monticello repo, and assemble your image on CI. Yes, if someone want’s to modify your project they have to use git, but as far a

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Esteban Lorenzano
On 04 Aug 2014, at 11:16, Yuriy Tymchuk wrote: > > On 04 Aug 2014, at 11:09, Esteban Lorenzano wrote: > >> something is going bad with smalltalkhub, it is working in *really* slow >> motion, with a lot of packet loss, etc. > > I think it just misses Nico badly :). :) > >> I’m trying to f

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread kilon alios
yeah I will also move my latest project to github. I am already more active with github than I am in SThub anyway. The one thing that stopped me so far is that I don't want to force people to install git to get the latest version of my project. SThub is great for this. On Mon, Aug 4, 2014 at 12:

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Yuriy Tymchuk
On 04 Aug 2014, at 11:09, Esteban Lorenzano wrote: > something is going bad with smalltalkhub, it is working in *really* slow > motion, with a lot of packet loss, etc. I think it just misses Nico badly :). > I’m trying to figure out what is happening, but not sure how much time it > will tak

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Esteban Lorenzano
something is going bad with smalltalkhub, it is working in *really* slow motion, with a lot of packet loss, etc. I’m trying to figure out what is happening, but not sure how much time it will take. I’m sorry for the inconveniences :P Esteban On 04 Aug 2014, at 11:03, Yuriy Tymchuk wrote: > W

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread Yuriy Tymchuk
Well, thankfully I keep all my latest projects on github, and I have configurations of them in the image. But CI is not working and anyway it’s a strange situation. Is there any other service where I can keep my configurations? Because that’s the only thing I version with monticello are configu

Re: [Pharo-dev] No projects on StHub?

2014-08-04 Thread kilon alios
oh boy thats looks nasty bug, hope its not permanent. On Mon, Aug 4, 2014 at 11:44 AM, Yuriy Tymchuk wrote: > Hi, > > I was on vacation last weak, have I missed anything? Because my > SmaltalkHub user does not have any projects > http://smalltalkhub.com/#!/~YuriyTymchuk (and I had a bunch of th

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread kilon alios
threads generally slow things down. Pharo uses green threads so it does not take advantage of multiple cores. You can take advantage of multiple cores by having multiple instances of the Pharo executable running and have them communicate via sockets, pipes , shared memory etc. Some calculations / p

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Yuriy Tymchuk
On 04 Aug 2014, at 10:38, Clément Bera wrote: > > > > 2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk : > Hi guys, > > I have a script that runs very slow and does a lot of non dependent operation > of a collection. I wander if I can speed it up by making it run in another > process, because as f

[Pharo-dev] No projects on StHub?

2014-08-04 Thread Yuriy Tymchuk
Hi, I was on vacation last weak, have I missed anything? Because my SmaltalkHub user does not have any projects http://smalltalkhub.com/#!/~YuriyTymchuk (and I had a bunch of them). Uko

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Frank Shearar
On 4 August 2014 09:38, Clément Bera wrote: > > > > 2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk : >> >> Hi guys, >> >> I have a script that runs very slow and does a lot of non dependent >> operation of a collection. I wander if I can speed it up by making it run in >> another process, because as far

Re: [Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Clément Bera
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk : > Hi guys, > > I have a script that runs very slow and does a lot of non dependent > operation of a collection. I wander if I can speed it up by making it run > in another process, because as far as I understand everything runs on a > single thread, so I

Re: [Pharo-dev] About https://pharo.fogbugz.com/f/cases/2489

2014-08-04 Thread stepharo
Ok so I added the missing exception and we can use the system again but the fix is just a patch. I will try to get some time this week to fix it but this is in character scanner.. stringIndex: anInteger text: aText topLeft: topLeft extent: extent stringIndex := anInteger. text

[Pharo-dev] Can forking speed up anything?

2014-08-04 Thread Yuriy Tymchuk
Hi guys, I have a script that runs very slow and does a lot of non dependent operation of a collection. I wander if I can speed it up by making it run in another process, because as far as I understand everything runs on a single thread, so I guess this won’t save me. Uko

[Pharo-dev] [pharo-project/pharo-core]

2014-08-04 Thread GitHub
Branch: refs/tags/40151 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 59f46a: 40151

2014-08-04 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 59f46ae2e98655799a7c05db47e39ac8f911a55c https://github.com/pharo-project/pharo-core/commit/59f46ae2e98655799a7c05db47e39ac8f911a55c Author: Jenkins Build Server Date: 2014-08-04 (Mon, 04 Aug 2014

Re: [Pharo-dev] Strange behavior of blocks

2014-08-04 Thread Nicolai Hess
2014-08-04 9:57 GMT+02:00 Henrik Johansen : > > On 04 Aug 2014, at 9:31 , Nicolai Hess wrote: > > 2014-08-04 8:50 GMT+02:00 Henrik Johansen : > >> >> On 03 Aug 2014, at 5:55 , Clément Bera wrote: >> >> > >> > >> > Right, current hash is bad and long to compute. >> > >> > I think we should use in

Re: [Pharo-dev] Strange behavior of blocks

2014-08-04 Thread Henrik Johansen
On 04 Aug 2014, at 9:31 , Nicolai Hess wrote: > 2014-08-04 8:50 GMT+02:00 Henrik Johansen : > > On 03 Aug 2014, at 5:55 , Clément Bera wrote: > > > > > > > Right, current hash is bad and long to compute. > > > > I think we should use instead > > BasicIndexedEyeElement >> hash > > ^ inde

Re: [Pharo-dev] About https://pharo.fogbugz.com/f/cases/2489

2014-08-04 Thread stepharo
So apparently if I introduce the missing exception (that we should have removed) the system works. I will try to do a new integration and after we will fix the problem with igor. If I cannot integrate them I will see tomorrow with esteban. Stef

Re: [Pharo-dev] About https://pharo.fogbugz.com/f/cases/2489

2014-08-04 Thread stepharo
Thanks this is strange because we used the modified system. I see some problems with MC and changes tracking recently and this is annoying. Because this reference should not be there. Now I do not know how to rollback a change so the system will stay broken until I find and I do not have the t

Re: [Pharo-dev] Strange behavior of blocks

2014-08-04 Thread Nicolai Hess
2014-08-04 8:50 GMT+02:00 Henrik Johansen : > > On 03 Aug 2014, at 5:55 , Clément Bera wrote: > > > > > > > Right, current hash is bad and long to compute. > > > > I think we should use instead > > BasicIndexedEyeElement >> hash > > ^ index hashMultiply > > > > host identityHash and index h