Re: [Pharo-project] [Pharo-users] the future of squeaksource
On 2013-05-07, at 23:21, Paul DeBruicker pdebr...@gmail.com wrote: I think it would be helpful to have those public open source licensed projects that are not yet loaded on ss3 or smalltalk hub copied there for posterity. Maybe make a squeaksource archive account on each platform that does the copying. Just for the record: they won't be removed from squeaksource, the projects will just be read-only. On 05/07/2013 08:19 AM, Andrei Vasile Chis wrote: Hi all, Given that SmalltalkHub is now stable we were considering to discontinue SqueakSource. Our idea is to provide a grace period of a couple of months to allow the current active users to migrate their projects to the new service and then simply put squeaksource in read-only mode (simply exposing the directory structure and allowing downloads). What do you think about it ? Are there any good reasons to still keep SqueakSource alive? Cheers, The SCG Team
Re: [Pharo-project] [regression reporter]regression occurred
On 2013-05-07, at 11:15, Sven Van Caekenberghe s...@stfx.eu wrote: On 07 May 2013, at 07:42, no-re...@ci.inria.fr wrote: https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/130/ 2 regressions found. Zinc.Tests.ZnClientTests.testRedirect Zinc.Tests.ZnClientTests.testRedirectDontFollow These tests assume that http://www.pharo-project.org is a redirect. The website seems to behave a bit different now, I'll have to investigate. Any pointers as to what changed are welcome. I think we updated the DNS to point directly to the same server as pharo.org. I think http://ci.pharo.org is going to be candidate in future (needs to be properly configured first :)
Re: [Pharo-project] [NativeBoost] Allow hierarchy of objects in function definition
Now i cannot merge with code which is in project repository. We should discuss, how we manage updates for NB.. because searching packages located in It is the same for every external project that is included in the image. Global refactoring happens in Pharo which then as well touches such external projects (Zinc for instance). The only way is that the maintainers update their projects from time to time multiple repositories is tedious and counterproductive. if you update your image from time to time you should get the changes for free I think.
Re: [Pharo-project] something wrong with get.pharo.org
On 2013-05-06, at 07:18, Sven Van Caekenberghe s...@stfx.eu wrote: On 06 May 2013, at 04:42, Igor Stasenko siguc...@gmail.com wrote: curl -L get.pharo.org/30 | bash % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 25040 25040 0 41713 0 --:--:-- --:--:-- --:--:-- 65894 Please install curl or wget on your machine :( i have curl ^^, coz how else i could see that message! :) it basically does only which wget which curl I assume they work, but what do you get back as a result?
Re: [Pharo-project] something wrong with get.pharo.org
On 2013-05-06, at 11:40, p...@highoctane.be p...@highoctane.be wrote: BTW, I installed MinGW for a test on windows. Obviously there is no curl in there out of the box. What would be your recommendation for getting a curl version compatible w/ that? wget should work :) (this is what we use on the ci servers): wget -O - get.pharo.org/20+vm | bash curl -L get.pharo.org/30 | bash % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 2504 0 2504 0 0 41713 0 --:--:-- --:--:-- --:--:-- 65894 Please install curl or wget on your machine ok fixed it in the latest version of zeroconf. The following detection does not work with a redirect :) if [[ `which curl /dev/null` ]] ...
Re: [Pharo-project] something wrong with get.pharo.org
On 2013-05-06, at 13:14, p...@highoctane.be p...@highoctane.be wrote: There is no wget nor curl in the base MinGW distribution. Philippe@DELLGFX ~ $ which wget which: wget: unknown command Philippe@DELLGFX ~ $ which curl which: curl: unknown command You either compiled, downloaded, or had it from somewhere else on the box. yes mingw sucks a bit in that matter. to install wget run the following magic: mingw-get install msys-wget
Re: [Pharo-project] Zeroconf and OS string
On 2013-05-05, at 10:53, Norbert Hartl norb...@hartl.name wrote: Am 05.05.2013 um 10:44 schrieb p...@highoctane.be p...@highoctane.be: on Mobaxterm the output of uname -a is [Philippe.DELLGFX] → uname -a CYGWIN_NT-6.1-WOW64 DELLGFX 1.7.17(0.262/5/3) 2012-10-28 12:24 i686 GNU/Linux Clearly no Windows in there. Hmm, I think you are running Windows 7 on a Dell laptop :) CYGWIN_NT-6.1 should be windows enough in there, right? CYG is a good information and the rest you can look up at yes, I update the zeroconf script to just match .*win.* that should work a bit better. I quickly have to test them under windows then I will release them into the wild
Re: [Pharo-project] something wrong with get.pharo.org
On 2013-05-06, at 13:42, p...@highoctane.be p...@highoctane.be wrote: Thanks, the incantation worked. Question: get.pharo.org/vmThis script downloads the latest Pharo VM. get.pharo.org/vmLatestThis script downloads the latest Pharo VM. Why are they both latest in the description? laziness :D, should update it... 2013/5/6 Camillo Bruni camillobr...@gmail.com On 2013-05-06, at 13:14, p...@highoctane.be p...@highoctane.be wrote: There is no wget nor curl in the base MinGW distribution. Philippe@DELLGFX ~ $ which wget which: wget: unknown command Philippe@DELLGFX ~ $ which curl which: curl: unknown command You either compiled, downloaded, or had it from somewhere else on the box. yes mingw sucks a bit in that matter. to install wget run the following magic: mingw-get install msys-wget
Re: [Pharo-project] Zeroconf and OS string
bah we have to backport the change I added to 3.0 https://pharo.fogbugz.com/default.asp?10524#76416 On 2013-05-06, at 13:53, p...@highoctane.be p...@highoctane.be wrote: Also, once the system is installed, launching it gives a little error... https://pharo.fogbugz.com/default.asp?10537 2013/5/6 Camillo Bruni camillobr...@gmail.com On 2013-05-05, at 10:53, Norbert Hartl norb...@hartl.name wrote: Am 05.05.2013 um 10:44 schrieb p...@highoctane.be p...@highoctane.be : on Mobaxterm the output of uname -a is [Philippe.DELLGFX] → uname -a CYGWIN_NT-6.1-WOW64 DELLGFX 1.7.17(0.262/5/3) 2012-10-28 12:24 i686 GNU/Linux Clearly no Windows in there. Hmm, I think you are running Windows 7 on a Dell laptop :) CYGWIN_NT-6.1 should be windows enough in there, right? CYG is a good information and the rest you can look up at yes, I update the zeroconf script to just match .*win.* that should work a bit better. I quickly have to test them under windows then I will release them into the wild
[Pharo-project] PipeableOSProcess under windows
Am I correct in the assumption that OSProcess does not properly use the Path env variable? I have MinGW installed and the Path variable is set up correctly, so I do bash --help in the CMD window, however something like `OSProcess waitForCommand: 'bash --help'` does not work. Is there a workaround for this issue?
Re: [Pharo-project] Zeroconf and Windows: recommended environment?
On 2013-05-05, at 10:43, p...@highoctane.be p...@highoctane.be wrote: I am using MobaXterm (http://mobaxterm.mobatek.net/) on Windows to have a Unix-like environment. Thing is that the shell there is bash but all utilities (like unzip etc) are based on busybox (http://www.busybox.net/). This means that not all options are available. Also, the $OS variable looks like to give Windows_NT, which then leads to the Unsupported OS message (for the VM for example). What is the environment you guys do use for testing those scripts on Windows (Windows 7 in my case)? we run everything under mingw, but I can add (yet) another switch to test for windows. Currently I check already for *windows* *mingw* and we can add *cygwin* or maybe I should just use *win*? :) = can you open a bug report? I'll look into it later this day
Re: [Pharo-project] Pharo Logo SVG
What is the difference to the previous SVG version? http://files.pharo.org/media/logo/logo.svg On 2013-05-04, at 10:53, Marcus Denker marcus.den...@inria.fr wrote: On May 4, 2013, at 10:33 AM, Marcus Denker marcus.den...@inria.fr wrote: We got a nice contribution, as the author (CptFuture) is not subscribed to the list I forward it. (I will put it on the file server) online here: http://files.pharo.org/media/logo/Pharo%20Logo%20SVG/ Marcus
Re: [Pharo-project] How to Debug :D
On 2013-05-04, at 00:14, Clara Allende clari.alle...@gmail.com wrote: This is great news! Are you going to publish the code? it will come in handy for my summer of code :D sure I'll have to polish it a bit then I can put it into the ast interpreter repository. On 3 May 2013 03:21, stephane ducasse stephane.duca...@free.fr wrote: Begin forwarded message: *From: *Camillo Bruni camillobr...@gmail.com *Subject: **[Lsehub-staff] How to Debug :D* *Date: *May 2, 2013 6:22:06 PM GMT+02:00 *To: *RMoD private list lsehub-st...@lists.gforge.inria.fr *Reply-To: *RMoD private list lsehub-st...@lists.gforge.inria.fr Igor: Camillo can you help me debugging this strange athens rendering bug Cami: sure Igor: where do you think the bug is? The green path jumps if I change the Y coordinate and it shouldn't... Cami: no clue... Igor: Any clue how to get to the bug? Cami: let's use the ASTInterpreter to interpret two methods with different transformation matrices and see when they diverge. Result: --- - after 1h comparing AST Debugger is ready - we run the two traces, they do NOT diverge = Conclusion: --- Cairo, which was chosen as reference, did not properly draw the path!!! So we should publish the code of the ComparingInterpreter a bit and we can use it for a few more tasks in Pharo ;)
Re: [Pharo-project] Using Athens for real ...
Yes that view is very neat! Especially for debugging, maintaining the Smalltalk immediate feedback principle :0 On 2013-05-04, at 09:41, Stéphane Ducasse stephane.duca...@inria.fr wrote Begin forwarded message: From: Igor Stasenko siguc...@gmail.com Subject: Re: Else I can do a mail to the moose mailing... Date: May 4, 2013 12:45:36 AM GMT+02:00 To: Stéphane Ducasse stephane.duca...@inria.fr So i spent a little time to make an experiment, how fast i can render the tree visualization. (gray screenshot) This one i can zoom pan in real time without even noticing any sort of delay: (AthensTreeView openOn: Collection extentBlock: [ :cls | (cls allInstVarNames size+1)*5 @ (cls methodDict size + 1) ] childsBlock: [ :cls | cls subclasses ]). (white screenshot) This one a bit sluggish, because of drawing too many curves (but if you comment curve drawing - connecting each child with its parent, and leave drawing only boxes.. it will be quite fast.. for real-time zoom pan) (AthensTreeView openOn: Object extentBlock: [ :cls | (cls allInstVarNames size+1)*5 @ (cls methodDict size + 1) ] childsBlock: [ :cls | cls subclasses ]). And sure, smart people usually employ different visualizations for such large trees, since it makes no sense: Object withAllSubclasses size 6882 but even without it, if you limit max zoom, you can go very fast ( there is a lot of literature how you can do geometry culling (by occluding unnecessary geometry to not waste cycles on it, since it is outside of view anyways) -- Best regards, Igor Stasenko. Screen Shot 2013-05-04 at 12.33.02 AM.png Screen Shot 2013-05-04 at 12.35.35 AM.png AthensTreeView.st AthensSimpleTreeNode.st
Re: [Pharo-project] Pharo Logo SVG
On 2013-05-04, at 12:39, Marcus Denker marcus.den...@inria.fr wrote: On May 4, 2013, at 12:30 PM, Camillo Bruni camillobr...@gmail.com wrote: What is the difference to the previous SVG version? http://files.pharo.org/media/logo/logo.svg The previous version was findable from our website… http://www.pharo-project.org/pharo-download/media-files I will clean this page up (added a TODO, will add a tracker entry). Dunno if you saw it, but yesterday late-night I cleaned up all the media files on files.pharo.org/media/logo :) so maybe we can synchronize that a bit more even.
Re: [Pharo-project] [regression reporter]regression occurred
On 2013-05-04, at 17:40, no-re...@ci.inria.fr wrote: https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/122/ 1 regressions found. Tests.System.OSEnvironmentTest.testAtPut ok I will check that ;) at least the tests work!
Re: [Pharo-project] [ANN] A SmalltalkHub server for each
Great work! Thanks a lot! BTW on which Seaside version do you depend (and which pharo image?) On 2013-05-03, at 17:42, Damien Cassou damien.cas...@gmail.com wrote: Hi, Nicolas Petton, Benjamin van Ryseghem and I are proud to announce a ConfigurationOfSmalltalkHub and a dedicated Jenkins job: https://ci.inria.fr/pharo-contribution/job/SmalltalkHub/ http://smalltalkhub.com/#!/~NicolasPetton/SmalltalkHub Everyone can now have its own private instance of SmalltalkHub. So, if you need a feature in SmalltalkHub, you can now implement it yourself! Please do :-) -- Damien Cassou http://damiencassou.seasidehosting.st Success is the ability to go from one failure to another without losing enthusiasm. Winston Churchill
[Pharo-project] Sprint
Thanks everybody for the great sprint! We fixed a lot of things today (incomplete list, please extend): - DateAndTime startup cleansing - Fixing and integrating the new EyeInspector - Fixing Monticello recategorization bug - Removal of RBSmallDictionary - Removal of an old deadly Morphic Halo - Full documentation of the Fogbugz tracker statuses: https://pharo.fogbugz.com/default.asp?W65 - --help on the VM does an exit 0 instead of a failure (exit 1) - Monticello commit is no longer run in a separate thread, and thus the image does no longer freeze - Newly added Monticello repositories are compared against existing ones and thus not duplicated - Configuration and Jenkins job for Smalltalkhub ...? I hope we can repeat such a sprint again with the same motivation! cheers cami
Re: [Pharo-project] froze image just
On 2013-05-02, at 08:36, Denis Kudriashov dionisi...@gmail.com wrote: Same problem in same train situation. I press commit on local directory and system start connect to smalltalkhub repository and hang for ever. Why system doing this when I use local repository? Because MC has some limitations :). If you commit a package that is by default in Pharo you'll always have the Pharo30 repository there. So when you commit MC tries to be smart and gather a unique version number by checking ALL repositories ... there is your issue :(
Re: [Pharo-project] dynamic spec contents
Ben and I fixed the SpecDebugger yesterday. Doing another pass with Clement these days and we're ready to ship the new inspectors :) On 2013-04-30, at 21:09, Clément Bera bera.clem...@gmail.com wrote: Yeah it would be nice. We wanted to avoid stuff as primitiveChangeClassTo:. It is nice we can avoid them with Spec. Btw the new inspectors are quite stable so Pharo 3.0 should have soon Spec inspectors by default. 2013/4/30 stephane ducasse stephane.duca...@free.fr ben we should add that to the spec chapter. Can you log it somewhere and one day :) we pair write it :). Stef On Apr 30, 2013, at 4:20 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: I just added two new examples in Spec-Examples-PolyWidgets ( https://pharo.fogbugz.com/default.asp?10458) It should be soon in Pharo ^^ Ben On Apr 30, 2013, at 2:27 PM, Camillo Bruni camillobr...@gmail.com wrote: Clement and I are working on the new Inspectors/Debuggers and we would like yo dynamically change spec widgets on the fly. Is there an example of that somewhere? -- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
Re: [Pharo-project] How i can retrieve the global by its name?
On 2013-05-02, at 09:12, Sven Van Caekenberghe s...@stfx.eu wrote: On 02 May 2013, at 06:03, Igor Stasenko siguc...@gmail.com wrote: Hi, all do not think that i am drunk or vent crazy, asking such silly question, which at best should be asked only by beginner :) I know the answer: Smalltalk at: #SomeName or Smalltalk globals at: #SomeName what stroke me, just now, that both answers is wrong! It should be: #SomeName asGlobal (or suggest more appropriate/precise method name for a symbol) ConfigurationOfXYZ globalValue project bleedingEdge load. ConfigurationOfXYZ globalValueIfPresent: [ :configuration | configuration project bleedingEdge load ] An alternative could be globalBinding, but that is more technical. #asGlobal sounds like a conversion, on the other hand it is an accepted idiom. I would go with #asGlobal, though I'd prefer something like #asClass since I do not believe in anything but classes in SmalltalkDictionary :P, well we can add both can we :)
Re: [Pharo-project] froze image just
On 2013-05-02, at 09:01, Denis Kudriashov dionisi...@gmail.com wrote: 2013/5/2 Camillo Bruni camillobr...@gmail.com On 2013-05-02, at 08:36, Denis Kudriashov dionisi...@gmail.com wrote: Same problem in same train situation. I press commit on local directory and system start connect to smalltalkhub repository and hang for ever. Why system doing this when I use local repository? Because MC has some limitations :). If you commit a package that is by default in Pharo you'll always have the Pharo30 repository there. So when you commit MC tries to be smart and gather a unique version number by checking ALL repositories ... there is your issue :( It makes offline work impossible. Can we add setting for this? yes I know. Humm yeah, I guess we could solve this by having setting to disable the global unique version number check...
Re: [Pharo-project] SUnit design question
Yeah, so maybe this is the way to go, for now I think we simply add a bit more extended MOP to the TestResult so we can rewrite it from there on. For instance we only have #addSkip: which does not give you the user-defined message from #sip: as an argument. Same goes for #addError: and #addFailure: On 2013-05-02, at 10:08, Herby Vojčík he...@mailbox.sk wrote: In Amber I created such thing, for the same reasons, but there SUnit is lot simpler than Pharo's one. stephane ducasse wrote: Indeed it would be nice to have. On May 1, 2013, at 11:29 AM, Camillo Brunicamillobr...@gmail.com wrote: I'm not sure if I asked that question before, but why is there no dedicated TestRunner model in SUnit? (detailed question further down) There is a TestRunner but that is clearly a UI part. We have right now 2 places in the system where that would come in handy: HDTestReport and the CommandLineTestRunner. Both places modify the output of the test runner, so to say instrument the test runs. see http://stackoverflow.com/questions/16315726/how-do-i-instrument-test-runners-in-sunit
Re: [Pharo-project] How i can retrieve the global by its name?
On 2013-05-02, at 12:32, Guillermo Polito guillermopol...@gmail.com wrote: But today using Smalltalk everywhere means that we are always using the same environment, and that does not look like a big deal to anybody :)... And then, that's easily solved by doing some simple stuff if you like specify an environment, isn't it? SymbolasClass self asClassInEnvironment: self class environment SymbolasClassInEnvironment: anEnvironment anEnvironment globals at: self #asClass I guess is orthogonal to the #asGlobal discussion, so I opened an issue for it: https://pharo.fogbugz.com/default.asp?10478
[Pharo-project] sprint relocation
I am thinking if it makes sense to relocate the sprint to my place... Internet was down every 10mins today and they have problems with the connection here at the lab since a week. Without network we're pretty much dead for a sprint. We've been watching movies at our place with around 20 people, that works. I have a big table (for 10 people or so) a table in my room and 2 more tables. so we might manage to get 2.
[Pharo-project] sprint image preparation
Could we upload a new version of the latest image with all the DateAndTime delays removed? I think that would be nice for the sprint tomorrow. I can do it later this evening, unless some special care is needed for that?
Re: [Pharo-project] sprint image preparation
On 2013-05-02, at 19:31, Igor Stasenko siguc...@gmail.com wrote: On 2 May 2013 19:28, Camillo Bruni camillobr...@gmail.com wrote: Could we upload a new version of the latest image with all the DateAndTime delays removed? I think that would be nice for the sprint tomorrow. I can do it later this evening, unless some special care is needed for that? i did not finished cleaning up the code in my refactoring (and this is what planned to do for sprint). however the image with changes i made works for 2nd week without any problems so far :) I did not mean to solve the problem :) just to fight the symptoms for tomorrow, since sometimes you get strange side-effects from it :/
[Pharo-project] upper vs. lower case
While trying out my new in-image filesystem to file-out my image I encounter strange things :) related to upper and lowercase names: - some classes have the same method category with different cases! - some testClasses have the same method with different cases I think this should be avoided if possible, what do you think?
Re: [Pharo-project] sprint relocation
On 2013-05-02, at 20:38, p...@highoctane.be p...@highoctane.be wrote: Yes... let us know. The sprint is definitely held at the INRIA lab, as it was originally planned
Re: [Pharo-project] sprint image preparation
On 2013-05-02, at 22:32, Igor Stasenko siguc...@gmail.com wrote: On 2 May 2013 19:37, Camillo Bruni camillobr...@gmail.com wrote: On 2013-05-02, at 19:31, Igor Stasenko siguc...@gmail.com wrote: On 2 May 2013 19:28, Camillo Bruni camillobr...@gmail.com wrote: Could we upload a new version of the latest image with all the DateAndTime delays removed? I think that would be nice for the sprint tomorrow. I can do it later this evening, unless some special care is needed for that? i did not finished cleaning up the code in my refactoring (and this is what planned to do for sprint). however the image with changes i made works for 2nd week without any problems so far :) I did not mean to solve the problem :) just to fight the symptoms for tomorrow, since sometimes you get strange side-effects from it :/ just take 3.0 image that's it I don't seem to express myself clearly enough :) I want to remove the current pending list of ~30 Delay wait processes in the files.pharo.org/image/30/latest.zip just that we have a more or less clean image for the sprint tomorrow.
Re: [Pharo-project] sprint image preparation
I don't seem to express myself clearly enough :) I want to remove the current pending list of ~30 Delay wait processes in the files.pharo.org/image/30/latest.zip just that we have a more or less clean image for the sprint tomorrow. ahh.. yes, that makes sense :) here the code snippet to get rid of them: http://code.google.com/p/pharo/issues/detail?id=7553q=DateAndTimecolspec=ID%20Type%20Status%20Summary%20Milestone%20Difficulty thanks :) I forgot about that ;)
Re: [Pharo-project] record system change
I am not really interested in conceptual ideas (with those I can come up anytime I want). I want an actual solution as an answer to my stackoverflow question with code that works ;) On 2013-05-01, at 03:31, Igor Stasenko siguc...@gmail.com wrote: Ane of the idea is to use serialization, but with custom strategy. Since we're in living system, each object can know the answer to question whether it is important to capture it's changes or not. As well, as it can instruct serializer, what part(s) of its state needs to be serialized and which not.. This will give us the filtering rules out of the box. But still it won't give us an automagic way to represent changes in human-readable form, e.g: diff := someObject createTextualDiff: myPreviousSerializedVersion. well, unless you serialize textual forms of both objects .e.g: diff := someObject sufficientTextualForm createTextualDiff: myPreviousSerializedVersionSufficientTextualForm. (the bad part of it that it is quite difficult to represent arbitrary graph with possible cycles in human-readable textual form ;) -- Best regards, Igor Stasenko.
Re: [Pharo-project] Videos: Selling Pharo-based solutions Custom architectural assessment
On 2013-05-01, at 08:39, Sean P. DeNigris s...@clipperadams.com wrote: Thanks for all the effort :) keep up the great work! nice indeed :) the more noise for pharo the better ;)
[Pharo-project] SUnit design question
I'm not sure if I asked that question before, but why is there no dedicated TestRunner model in SUnit? (detailed question further down) There is a TestRunner but that is clearly a UI part. We have right now 2 places in the system where that would come in handy: HDTestReport and the CommandLineTestRunner. Both places modify the output of the test runner, so to say instrument the test runs. see http://stackoverflow.com/questions/16315726/how-do-i-instrument-test-runners-in-sunit
[Pharo-project] date and time delays
Igor, How far is the fix, can I download it somewhere and test it? I still think I get very strange side-effects from the waiting delay processes :P
Re: [Pharo-project] [update 3.0] #30080
On 2013-05-01, at 18:16, Marcus Denker marcus.den...@inria.fr wrote: 30080 - 10461 Fixes for NewList https://pharo.fogbugz.com/f/cases/10461 nice! :) 10432 Move API of Decompiler to Compiler facade https://pharo.fogbugz.com/f/cases/10432 10465 Better syntax hilighting of start of existing identifier https://pharo.fogbugz.com/f/cases/10465 Diff information: http://smalltalkhub.com/#!/~Pharo/Pharo30/diff/Shout-MarcusDenker.161 http://smalltalkhub.com/#!/~Pharo/Pharo30/diff/NewList-MarcusDenker.34 http://smalltalkhub.com/#!/~Pharo/Pharo30/diff/Compiler-MarcusDenker.427
Re: [Pharo-project] [update 3.0] #30080
On 2013-05-01, at 18:16, Marcus Denker marcus.den...@inria.fr wrote: 30080 - 10461 Fixes for NewList https://pharo.fogbugz.com/f/cases/10461 10432 Move API of Decompiler to Compiler facade https://pharo.fogbugz.com/f/cases/10432 10465 Better syntax hilighting of start of existing identifier https://pharo.fogbugz.com/f/cases/10465 that one too! :) I just noticed :)
Re: [Pharo-project] Moment of fun
I really love the use of fuel to serialize errors on the build server: - [ some code causing an error Error signal ] on: Error do: [ :error | FLSerializer serialize: error toFileNamed: 'error.fuel' ] - Then in a new image open a debugger on the serialized error: - error := FLMaterializer materializeFromFileNamed: 'error.fuel'. error debug.
Re: [Pharo-project] Moment of fun
On 2013-05-01, at 19:01, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Yes, great superpowers! A bit more lightweight and efficient than abort(); gdb myApp core A small reminder for myself: [ (Delay forSeconds: 2 hours asSeconds) wait. WorldState addDeferredUIMessage: [ UIManager default inform: 'You''re Smalltalking too much There are other nice things worth in life' ]. ] fork in Pharo 3.0 you can write that a tad more elegant: [ WorldState addDeferredUIMessage: [ UIManager default inform: 'You''re Smalltalking too much There are other nice things worth in life' ]. ] valueAfterWaiting: 2 hours and in general for waiting on delays you now can do: 2 hours wait that hides away quite some details :)
Re: [Pharo-project] Jenkins: Seaside-3.1-in-Pharo-2.0 is broken
Grml :P What is the status of the Seaside 3.1 Configuration? On 2013-05-01, at 19:19, Damien Cassou damien.cas...@gmail.com wrote: Hi, if you open the image resulting from this job, you get a FileWriteError: File stdout is broken. https://ci.inria.fr/pharo-contribution/job/Seaside-3.1-in-Pharo-2.0/ -- Damien Cassou http://damiencassou.seasidehosting.st Success is the ability to go from one failure to another without losing enthusiasm. Winston Churchill
Re: [Pharo-project] date and time delays
On 2013-05-01, at 14:06, stephane ducasse stephane.duca...@free.fr wrote: On May 1, 2013, at 1:33 PM, Camillo Bruni camillobr...@gmail.com wrote: Igor, How far is the fix, can I download it somewhere and test it? the changes of nicolas are nice and we should integrate them. yes, they address many of the missed-out refactorings for the new UTC-based time if I'm not mistaken. What Igor started was avoid the whole complex startup logic of DateAndTime. So BUMP: Igor where do you have the sources for that? Otherwise we look at it during the sprint on friday...
Re: [Pharo-project] [Sprint] Sprint Lille May 3rd
Camillo Bruni 0033 7 86 95 40 On 2013-05-01, at 20:24, p...@highoctane.be p...@highoctane.be wrote: Me too. Thx for sending me a phone to call. Phil Le 1 mai 2013 14:19, Sven Van Caekenberghe s...@stfx.eu a écrit : On 17 Apr 2013, at 13:12, Marcus Denker marcus.den...@inria.fr wrote: Hi, We are planning a sprint the 3rd of May: http://rmod.lille.inria.fr/web/pier/blog/2013-04-17 When? Friday May 3 Where? Inria Lille Building B, RMoD Offices If you want to join, please send a mail so we can plan and open the door for you. Marcus I am coming as well. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Re: [Pharo-project] Issue ML doesn't thread
upvote here: http://fogbugz.stackexchange.com/questions/2527/feature-request-include-in-reply-to-header-on-emails-sent-from-fogbugz On 2013-05-01, at 22:24, Sean P. DeNigris s...@clipperadams.com wrote: This is kind of a small thing, but it definitely effects readability... Each issue update shows up as a whole different conversation, while when we used google, they were properly organized. Any idea how (if possible) to fix it? - Cheers, Sean -- View this message in context: http://forum.world.st/Issue-ML-doesn-t-thread-tp4684851.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Re: [Pharo-project] Issue ML doesn't thread
and also upvote here! http://fogbugz.stackexchange.com/questions/2961/fogbugz-should-match-in-reply-to-and-references-header-to-existing-case-message On 2013-05-02, at 01:05, Camillo Bruni camillobr...@gmail.com wrote: upvote here: http://fogbugz.stackexchange.com/questions/2527/feature-request-include-in-reply-to-header-on-emails-sent-from-fogbugz On 2013-05-01, at 22:24, Sean P. DeNigris s...@clipperadams.com wrote: This is kind of a small thing, but it definitely effects readability... Each issue update shows up as a whole different conversation, while when we used google, they were properly organized. Any idea how (if possible) to fix it? - Cheers, Sean -- View this message in context: http://forum.world.st/Issue-ML-doesn-t-thread-tp4684851.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
[Pharo-project] SmallintRule on the whole system
http://stackoverflow.com/questions/16294844/run-smalllint-rule-on-all-classes
[Pharo-project] dynamic spec contents
Clement and I are working on the new Inspectors/Debuggers and we would like yo dynamically change spec widgets on the fly. Is there an example of that somewhere?
Re: [Pharo-project] save as...
On 2013-04-30, at 15:24, Norbert Hartl norb...@hartl.name wrote: Was there a discussion about save as… should not increment the image file number? Any links to it or was it by accident. In my opinion I liked the difference between save = same file name, save as… = new automatical filename I think so too, and that's the current behavior no?
Re: [Pharo-project] Cmd + D
In a 3.0 image I cannot reproduce this :) can you give more details? On 2013-04-30, at 15:47, roberto.mine...@usi.ch roberto.mine...@usi.ch wrote: Hi, It happened many times to me that I press CMD + D on a class in the System browser (i.e., my aim is to duplicate a class, as in many other apps CMD + D would do) but in Pharo that shortcut deletes the class without asking for confirmation. What's your take? Is that a shortcut that has been forgotten or is like that on purpose? Thanks. Cheers, Roby
Re: [Pharo-project] Where are your package configs for Pharo 2.0
On 2013-04-30, at 15:34, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Apr 30, 2013, at 3:27 PM, Igor Stasenko wrote: On 30 April 2013 15:17, Sean P. DeNigris s...@clipperadams.com wrote: EstebanLM wrote we cannot make a process to discover the hidden configurations all over the web, to then validate them and copy to the appropriate repo. Why not?! ;-P It wouldn't be the most outrageous and amazing thing we've ever done... Do you mean something like: locator := ConfigurationLocator of: 'HiddenProject' . locator minimumVersion: '1.0'. locator loadStable. ? :) Haha, makes you wonder how long it'll be before someone writes one of these http://queue.acm.org/detail.cfm?id=2349257 on the process of writing configurations /loading code into the image :D FYI we have Erwann working on this here in Lille: The new validation infrastructure is going to be used on Configuration and Pharo-Slices at the same time. Depending on how far we will get, Configuration scavenging and archiving might be implemented as well.
Re: [Pharo-project] Pharo 3.0: how to always use new debugger
On 2013-04-30, at 16:40, Damien Cassou damien.cas...@gmail.com wrote: Is there a way to always use the new debugger, even if Directly open the full debugger is enabled? Is it desirable? we can add a setting for as long as it is in development mode and then once the old one is gone remove the setting again.
Re: [Pharo-project] froze image just
On 2013-04-30, at 23:39, Sven Van Caekenberghe s...@stfx.eu wrote: On 30 Apr 2013, at 22:44, Stéphane Ducasse stephane.duca...@inria.fr wrote: trying to publish a slice on my harddisc without network…. and I could not interrupt anything. No cmd+. no interdiction sign did anything :( So is it normal? Not being able to interrupt something is a pain. I experience similar issues with internet and missing passwords :) Could be networking related, publishing a slice needs many network interactions, most of them are retried at least once; they all have to time out. The default timeout is 30s. On the other hand, I just turned off my wireless network and tried an MC operation and it immediately throws an NameLookupFailure exception, way before the 30s deadline. Sven
[Pharo-project] record system change
How to record a complete system change in Pharo? http://stackoverflow.com/questions/16310736/how-to-record-a-complete-system-change-in-pharo That must have been done somewhere in once of those fancy analysis tools, no?
Re: [Pharo-project] ssl fails on build CI
fixed it: aptitude install libssl0.9.8:i386 On 2013-04-28, at 21:17, Max Leske maxle...@gmail.com wrote: I just discovered that this only affects Pharo20 builds and older Pharo30 On 28.04.2013, at 21:07, Max Leske maxle...@gmail.com wrote: The FileSystem-Git builds on CI generate many test failures because the SSL plugin is missing (apparently) here's the output: https://ci.inria.fr/pharo-contribution/job/FileSystem-Git/6/PHARO=20,VERSION=development,VM=vm/testReport/junit/FileSystem.Git.Remote.Tests/GitDumbHTTPProtocolTest/testNegotiation/. Is that to be expected? I gathered from a recent thread that at least libssl should be present on the CI servers. Or do I need to change something in the configuration? Max
Re: [Pharo-project] ssl fails on build CI
On 2013-04-29, at 00:21, Igor Stasenko siguc...@gmail.com wrote: what you think shall we retarget linux VM to build with newer ssl version? that's gonna be the same mess again and we do not care for the slaves as we manage them by ourselves. for user-level experience we have to advocate the deb package which solves this issue properly.
[Pharo-project] more self documentation
I switched the listing template on the file-server to something smother and started to add a bit more documentation about all the files there: http://updates.pharo.org/pharo3.0/
Re: [Pharo-project] Pharo 3.1 meeting
On 2013-04-26, at 03:46, Sean P. DeNigris s...@clipperadams.com wrote: Does update the monkey refer to Penelope? yes. We're almost there... completely redesigned from scratch with a nice API to add validation rules and generate validation reports. Basically I was sick the last month so there was not as much progress as I hoped ;). 1 or 2 more weeks and we have a shiny new monkey up and running. I was going to ask whether we can start using the Penelope issue urls e.g. in the [update 3.0] posts, but then I checked the Penelope pages for the #30059 issues and: http://bugs.pharo.org/issues/id/10367 http://bugs.pharo.org/issues/id/10389 were two days behind the actual issue And http://bugs.pharo.org/issues/id/10356 reported 'MessageNotUnderstood: receiver of joinUsing: is nil'. Where is the Penelope code? Maybe we could help... didn't see it on sthub... Slightly OT, in the [update 3.0] posts, it'd be helpful to list the diffs under the issue they belong to instead of all together at the end. I.e. url1 diff1a diff1b url2 diff2 url3 diff3 instead of url1 url2 url3 diff? diff? diff? diff? - Cheers, Sean -- View this message in context: http://forum.world.st/Pharo-3-1-meeting-tp4683613p4683644.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Re: [Pharo-project] [ANN] Sqnappy - a fast compressor wrapper
nice work! On 2013-04-26, at 04:50, Masashi UMEZAWA masashi.umez...@gmail.com wrote: Hi all, Recently I've developed Sqnappy - Squeak/Pharo binding of the snappy compressor library. https://github.com/mumez/sqnappy About snappy: https://code.google.com/p/snappy/ Sqnappy is easy to use. You can just send #compress:, #uncompress to SnappyCore: compressed := SnappyCore compress: data. uncompressed := SnappyCore uncompress: compressed. With a simple test, Sqnappy was 10.8x faster than the existing GZipWriteStream/GZipReadStream. Additionally, Sqnappy implements snappy framing format, so that it can treat big data with a small memory allocation. About framing format: https://code.google.com/p/snappy/source/browse/trunk/framing_format.txt Tested from a workspace, 1.3 GB pg_dump file was compressed in around 10 seconds and decompressed in 6.5 seconds . No annoying GCs. It was comfortable. Enjoy! -- [:masashi | ^umezawa]
Re: [Pharo-project] RE : RE : cannot modify class comments on Linux
On 2013-04-26, at 10:45, Pavel Krivanek pavel.kriva...@gmail.com wrote: can you add me to the Pharo30Inbox? (PavelKrivanek) :-) done
Re: [Pharo-project] Issue tracker subscription?
register at bugs.pharo.org and then login at pharo.fogbugz.com partially explained here: https://pharo.fogbugz.com/default.asp?W41 On 2013-04-26, at 10:49, Frank Shearar frank.shea...@gmail.com wrote: Hi, Would some kind soul add me to the Pharo issue tracker? Thanks! frank
Re: [Pharo-project] [3.0] update 30061 needs a fix
thanks :) On 2013-04-26, at 11:25, Marcus Denker marcus.den...@inria.fr wrote: - if you have already 30061, the attached file in fixes it DoItDeclaration-import.st - I added this code to be loaded directly with the 30061 update and have triggered a rebuild on jenkins. So all is good again…
Re: [Pharo-project] Issue tracker subscription?
apparently you're already registered with fr...@angband.za.org. which address do you want? On 2013-04-26, at 11:45, Frank Shearar frank.shea...@gmail.com wrote: On 26 April 2013 10:32, Camillo Bruni camillobr...@gmail.com wrote: register at bugs.pharo.org and then login at pharo.fogbugz.com partially explained here: https://pharo.fogbugz.com/default.asp?W41 Yep, and that works great unless, say, your email address has a dot in the username. Like me. frank On 2013-04-26, at 10:49, Frank Shearar frank.shea...@gmail.com wrote: Hi, Would some kind soul add me to the Pharo issue tracker? Thanks! frank
Re: [Pharo-project] RE : RE : cannot modify class comments on Linux
Issues on fogbugz have 3 global states: 1. OPENED 2. RESOLVED 3. CLOSED OPENED: - add description - reported issue = add a slice information and put the issue on RESOLVED RESOLVED: - workneeded / review needed / fix to include after that the issue might be closed by the integrators On 2013-04-26, at 11:46, Pavel Krivanek pavel.kriva...@gmail.com wrote: can we assign more tags to one issue? And where is some status like fixReviewNeeded? -- Pavel On Fri, Apr 26, 2013 at 11:31 AM, Camillo Bruni camillobr...@gmail.comwrote: On 2013-04-26, at 10:45, Pavel Krivanek pavel.kriva...@gmail.com wrote: can you add me to the Pharo30Inbox? (PavelKrivanek) :-) done
Re: [Pharo-project] RE : cannot modify class comments on Linux
On 2013-04-26, at 12:44, Igor Stasenko siguc...@gmail.com wrote: On 26 April 2013 10:27, Pavel Krivanek pavel.kriva...@gmail.com wrote: The reason is in the optimalizations in the latest glibc. It really does not write the new content to the changes file immediately. We need to call flush at the end of nextChunkPut: yet another reason to get rid of .changes and .sources! :)
Re: [Pharo-project] RE : cannot modify class comments on Linux
On 2013-04-26, at 20:00, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Camillo, this is not the best reason, is it? Quand on veut tuer son chien, on l'accuse de la rage... With this kind of argumentation, I hope you won't find a bug in Integer ;) luckily we live in different universes :) your's doesn't look like mine and I am very happy with it :) PS: have fun inventing the future
Re: [Pharo-project] SqueakSSL problem on Linux
You have to install the correct version of the 32bit libssl. which version do you have installed? On 2013-04-27, at 07:09, jannik.laval jannik.la...@gmail.com wrote: Hi pharoers, I have a problem in Ubuntu with SqueakSSL. I am loading a zip file on google code, and this plugin fails at initialization. It is simple to reproduce: just evaluate: ZdcPluginSSLSession new On windows and MacOS, this works fine. On Ubuntu 12.04 it seems to not find the plugin. I took the pharo-linux.zip on the pharo website. Thank you for your help. Jannik
Re: [Pharo-project] SqueakSSL problem on Linux
which version do you have installed? ||/ Name VersionDescription +++-==-==- ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files and ii libssl-doc 1.0.1-4ubuntu5 SSL development documentation documentation ii libssl1.0.01.0.1-4ubuntu5 SSL shared libraries now I do not remember whether it was 0.9.X or 1.0.X for libssl, but you have it installed.. looks like we have 0.9.8 installed on the build servers. can you try installing the older version (:i386 for 32bit) and try again? distributing a single binary for multiple linuxes does NOT work, hence damien cassou created a nice distribution: sudo add-apt-repository ppa:pharo/stable sudo apt-get update sudo apt-get install pharo-vm caveat: AFAIK it doesn't come with a UI yet
Re: [Pharo-project] SqueakSSL problem on Linux
On 2013-04-27, at 07:52, jannik.laval jannik.la...@gmail.com wrote: On Apr 27, 2013, at 7:40 AM, Camillo Bruni camillobr...@gmail.com wrote: which version do you have installed? ||/ Name VersionDescription +++-==-==- ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files and ii libssl-doc 1.0.1-4ubuntu5 SSL development documentation documentation ii libssl1.0.01.0.1-4ubuntu5 SSL shared libraries now I do not remember whether it was 0.9.X or 1.0.X for libssl, but you have it installed.. looks like we have 0.9.8 installed on the build servers. can you try installing the older version (:i386 for 32bit) and try again? It is not really possible. Other packages in my distrib depend on ssl. They could become instable. you can have multiple versions of the same library installed.. distributing a single binary for multiple linuxes does NOT work, hence damien cassou created a nice distribution: sudo add-apt-repository ppa:pharo/stable sudo apt-get update sudo apt-get install pharo-vm caveat: AFAIK it doesn't come with a UI yet Nice work ! Now I will see if I can do without this plugin. :( Jannik
Re: [Pharo-project] A Pharo launcher
On 2013-04-24, at 09:01, Damien Cassou damien.cas...@gmail.com wrote: On Wed, Apr 24, 2013 at 8:53 AM, Serge Stinckwich serge.stinckw...@gmail.com wrote: Nice initiative ! There was already something similar done by a korean guy: HwaJong Oh (https://twitter.com/Daliot ) called Pharo Launcher that works only for mac os x. yes, there has been many initiatives around that. But I think we should make something more powerful and cross-platform. I want people to click the 'Pharo' icon and get the full power. People should stop thinking about the vm + the image + the changes + the sources... That's too much Exactly! .sources and .changes will be gone pretty soon anyway ;) But yeah, providing premade images (as services) is a necessity! Most people here have scripts to download the latest image and install their presets, that clearly shows that a launcher with template images, much as templates in any other software, really is the way to go!
Re: [Pharo-project] Smart Suggestion Version 1
On 2013-04-24, at 10:10, stephane ducasse stephane.duca...@free.fr wrote: What would be good is that when we get the sender/implementor is to get - the name of the entity as first entry in the menu - get the entity selected in the text. blockClosureValue: aBlockClosure message: aMessage |newMessage| newMessage := Message selector: #valueWithArguments: arguments: (Array with: aMessage arguments). ^self blockClosureValueWithArguments: aBlockClosure message: newMessage when I'm on selector: it works I get selector:arguments: yes please ;), like a real context menu! What would be cool is to have a way to select the enclosing expression but you know it:) just create enough sub-menus (we could even put the old menu as a submenu for now :P so nobody can complain about removed functionality...) In the end, for most pro users, and by that I rely on my experience with very complex 3D software, menus are mostly there to learn the shortcuts. That means they do not have to be super navigable (e.g. one big list) but logically structured (e.g. submenus). When can we push that into 3.0 = push it as early as possible = improve it gradually
Re: [Pharo-project] Call for ESUG 2013 presentations
maybe this one? http://www.esug.org/wiki/pier/Conferences/2013 On 2013-04-24, at 15:28, p...@highoctane.be p...@highoctane.be wrote: http://www.esug.org/wiki/conferences/2013/ looks dead 2013/4/24 Stéphane Ducasse stephane.duca...@inria.fr Please distribute as widely as possible :) 21st International Smalltalk Joint Conference - Call for Contributions Annecy, France from 9 to 13 September 2013 http://www.esug.org/conferences/2013/ This call includes: Developer Forum Smalltalk Technology Award International Workshop http://www.esug.org/Conferences/2013/InternationalWorkshop Student Volunteer http://www.esug.org/Conferences/2013/StudentVolunteers Camp Smalltalk 8 September 2013 -- For the past 21 years, the European Smalltalk User Group (ESUG) has organised the International Smalltalk Conference, a lively forum on cutting edge software technologies that attract people from both academia and industry for a whole week. The attendees are both engineers using Smalltalk in business and students and teachers using Smalltalk both for research and didactic purposes. As every year, this year's edition of the largest European Smalltalk event will include the regular Smalltalk developers conference with renowned invited speakers, a Smalltalk camp that proves fruitful for interactions and discussions. This year will be held the 9th edition of the Innovation Technology Awards where prizes will be awarded to authors of best pieces of Smalltalk-related projects and an international workshop on Smalltalk and dynamic languages (http://www.esug.org/Conferences/2013/InternationalWorkshop) You can support the ESUG conference in many different ways: * Sponsor the conference. New sponsoring packages are described at http://www.esug.org/supportesug/becomeasponsor/ * Submit a talk, a software or a paper to one of the events. See below. * Attend the conference. We'd like to beat the previous record of attendance (170 people at Amsterdam 2008)! * Students can get free registration and hosting if they enrol into the the Student Volunteers program. See below. Developers Forum: International Smalltalk Developers Conference We are looking for YOUR experience on using Smalltalk. You will have 30 min for presentations and 45 min for hand-ons tutorial. The list of topics for the normal talks and tutorials includes, but is not limited to the following: * XP practices, Development tools, Experience reports * Model driven development, Web development, Team management * Meta-Modeling, Security, New libraries frameworks * Educational material, Embedded systems and robotics * SOA and Web services, Interaction with other programming languages Teaching Pearls --- New this year!!! We want two news types of sessions in addition to default talk and show us your projects sessions. - Show your business 10 min session (Get prepared!!) - Teaching pearls : we want some session on how to teach some design aspects. We want your tip and tricks to teach Smalltalk or OOP. We expect to have several 10 to 15 min sessions aggregated. Open Forum: starting with Smalltalk New this year!! The event will be held at IAE Savoie Mont-Blanc - University of Savoie. This is an opportunity for students and local professionals to discover Smalltalk. A room will be freely accessible and we would like to propose some talks and workshop for Smalltalk beginners. The list of topics includes, but is not limited to the following: - Why Smalltalk ? - Panorama of Smalltalk solutions - Getting started with Smalltalk - Success stories How to submit? -- Submissions due on 15st June 2013 Notification of acceptance will be on done on the fly. More information at http://www.esug.org/conferences/2013 Pay attention: the places are limited so do not wait till the last minute to apply. Prospective presenters should submit a request to stephane.duca...@inria.fr AND USE THE following header [ESUG 2013 Developers]. Please follow the template below the email will be automatically processed! Subject: [ESUG 2013 Developers] + your name First Name: Last Name: Email where you can always be reached: Title: Type: Tutorial/Talk/Teaching Pearl/OpenForum Abstract: Bio: Any presentation not respecting this form will be discarded automatically International Workshop on Smalltalk Technologies http://www.esug.org/Conferences/2013/InternationalWorkshop Smalltalk is considered as a design pearl and as a beacon in the realm of programming languages and programming environments. We are proud to invite
[Pharo-project] configuration speed
I checked the issue under 3.0 with the configuration loading speed. Main Performance Issues: Gofer: package-cache always used by Gofer = big shared package-cache is very slow RPackageSet: each method/class change trigger the creation of a new RPackageSet for EACH Monticello working copy What was reported is, that disabling the announcements during configuration loading decreases load time. This is due to the RPackageSet problem. No announcements, no new RPackageSets. For a typical configuration loading CommandShell and Soup + 5 packages I got 518'124 new instances of RPackageSet!! Solutions - Gofer: removing the package-cache from the default repositories seems like a good thing to me. There are 3 tests failing after that, mostly checking if there is a default repository or not. I would add an explicit statement for the package-cache otherwise. RPackageSet: With a basic cache for RPackageSets I cut the load time to a third! It will need some more love when it comes to changing classes, but for now I invalidate it each time an RPackage changes. issue: https://pharo.fogbugz.com/default.asp?10393
Re: [Pharo-project] User account on Jenkins
On 2013-04-23, at 20:15, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: You can register there by yourself, then there is a list of projects, pick the one you are interested in, Admins will then get a mail to add you you can do that here: https://ci.inria.fr/users/new On Apr 23, 2013, at 7:45 PM, Guido Chari cha...@gmail.com wrote: Who can add me to Jenkins server so i can add a project to the infrastructure?
Re: [Pharo-project] [BUG] Fix for MorphTreeMorphupdateList
|( that's what issue trackers are for not mailinglists... On 2013-04-21, at 17:27, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: I know, but I will not do it right now and I don't want to forget it. Hilaire Le 21/04/2013 17:13, Marcus Denker a écrit : Hi, the easiest way to get fixes integrated is: - add a bug tracker entry - Make a SLICE, upload it to the inbox - mention that there is a slice and set the issue in the tracker to review need If the person who did a fix does all that it will be the fastest. Marcus On Apr 21, 2013, at 4:56 PM, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: The scrollbar should be scrolled to the position before update. Fix enclosed. Thanks Hilaire -- Dr. Geo http://drgeo.eu MorphTreeMorph-updateList.st -- Dr. Geo http://drgeo.eu
Re: [Pharo-project] Any wishes for Roassal?
On 2013-04-20, at 09:39, stephane ducasse stephane.duca...@free.fr wrote: We want speed up and less garbage generation (ie do not use collect when do will make it or some stuff like that). May be people here could have a look at it and do a fast code review? there are some code critics for that :)
Re: [Pharo-project] Date comparison broken
yes ;) could you open an issue and possibly add a test that covers this? that would be great. On 2013-04-20, at 19:09, Milan Mimica milan.mim...@gmail.com wrote: I found a bug: in DateAndTime julianDayNumber other julianDayNumber ifTrue: [ ^ true ]. should be: self julianDayNumber other julianDayNumber ifTrue: [ ^ true ]. On 20 April 2013 18:43, Milan Mimica milan.mim...@gmail.com wrote: Actually, please don't ignore me. I knew there was sometime broken: (Date today - 1 day) (Date today - 1 day) evaluates to 'true' On 20 April 2013 18:33, Milan Mimica milan.mim...@gmail.com wrote: Please ignore. I whish there was a 'unsend' button. On 20 April 2013 18:31, Milan Mimica milan.mim...@gmail.com wrote: Hello | yesterday | yesterday := Date yesterday. yesterday yesterday On Phalo 2.0, this evaluates to 'false'. I'ts not a joke. -- Milan Mimica http://sparklet.sf.net -- Milan Mimica http://sparklet.sf.net -- Milan Mimica http://sparklet.sf.net -- Milan Mimica http://sparklet.sf.net
Re: [Pharo-project] canUnderstand: #readFrom:
You are mixing up class and instance side :) #canUnderstand: is send to instances #includesSelector: is sent to classes (Integer canUnderstand: #readFrom) == (Integer class includesSelector: #readFrom:) On 2013-04-20, at 20:01, Milan Mimica milan.mim...@gmail.com wrote: How come this evaluates to false? Integer canUnderstand: #readFrom: -- false Integer includesSelector: #readFrom: -- false However, it does implement the method. Integer readFrom: '1' readStream. -- 1 -- Milan Mimica http://sparklet.sf.net
Re: [Pharo-project] [Athens] A new wave of impressionism
cool! too bad I was not that well yesterday, but I enjoyed our geometry deciphering session on the whiteboard! :) On 2013-04-19, at 06:55, stephane ducasse stephane.duca...@free.fr wrote: :) This is cool that you push athens. Because this is really important for Pharo. Stef Not really impressive (that's why it called new wave) Here is results of 2 days of preparing/implementing and polishing a quadric bezier curve approximation algorithm by series of lines. The red pill.. err fill is polygon consisting purely from lines, the white outline is same quadric bezier, but drawn directly by cairo with stroke width = 5. Cubic bezier , then elliptical arc and then generic parametric functions ahead! :) There is two reasons why i implementing highly inefficient (because of boxed floats) path flattener: - some path segments are not supported by cairo, therefore i am forced to approximate it with something else (and something else is lines ;) - having path geometry turned into silly polygon, there is very easy algorithm to tell if given point inside or outside of polygon so, potentially, this will give use following: - being able to use any kind of curves as path segments (well, it could be a bit slow, but it is up to you, right?) e.g. something like: builder lineTo: 50@50; parametricCurve: [:t | t sin * t squared ] tMin: 0 tMax: 10 to: 20@30 - being able to detect whether mouse hovers over shape or not :) -- Best regards, Igor Stasenko. Screen Shot 2013-04-18 at 10.43.07 PM.png
Re: [Pharo-project] Metacello configuration conventions
On 2013-04-19, at 10:36, Diego Lont diego.l...@delware.nl wrote: Hi all, I just want to add another thought to the convention discussion. In my work process I have two different activities when deploying new code: 1) I want to deploy a patch, that only includes the bugfix. 2) I want to deploy a release, that includes all updates. In the first I usually do not want to upgrade dependencies. If dependencies need upgrading I want to make this decision manually. In the second I usually want to upgrade dependencies. If dependencies need upgrading this should be done automatically. Metacello supports both, but not at the same time. Either you mark your configuration with fixed versions (best for patches) or with symbolic versions (best for releases). Currently we have a baseline, a version, and groups that I can edit. I think I want a third thing: the deployment, where I describe certain deployment strategies. So that I can say: ConfigurationOfMyProject project stableVersion patch load ConfigurationOfMyProject project stableVersion loadRelease or something like this. Cheers, Diego I think you should never hardcode dependencies (well major version number of course)... but otherwise this is exactly what ruby gems's [1] version constraints will do (~ and friends) For the inverse, I think that's what you mention, something like Versionner is the only solution. Since you will have to traverse all dependencies and see which new versions got released and which ones you want to newly depend on... [1] http://docs.rubygems.org/read/chapter/16
Re: [Pharo-project] files.pharo.org: Moving to new server
On 2013-04-19, at 17:58, Marcus Denker marcus.den...@inria.fr wrote: On Apr 19, 2013, at 5:54 PM, Ben Coman b...@openinworld.com wrote: Marcus Denker wrote: 3) enable CDN for the static files. (NEXT WEEK) Marcus and Camillo I have seen mentioned that SmalltalkHub is faster than previous repositories, but I also wonder... is there any consideration (or value) to hooking SmalltalkHub up with a CDN ? All uploaded mcz files are effectively static content. we where thinking about that, too. We should try... yes, let's first see how much speedup we get with the file server :)
Re: [Pharo-project] Metacello configuration conventions
On 2013-04-18, at 18:47, Dale Henrichs dhenr...@vmware.com wrote: - Original Message - | From: Camillo Bruni camillobr...@gmail.com | To: Pharo-project@lists.gforge.inria.fr | Sent: Tuesday, April 16, 2013 3:19:57 PM | Subject: Re: [Pharo-project] Metacello configuration conventions | | I liked ruby-gems approach more than the one in Metacello. You usually | specify | a major version (as under linux) for your dependency. That means the | dependency | might evolve a bit, typically for bugfixes, without you having to update | the configuration manually. | | http://docs.rubygems.org/read/chapter/16 for me is what I'd like to see. | | As you say, #stable and #development are mostly for humans. Cami, I did look at the way ruby-gems worked pretty early on in Metacello development and I've arranged things such that I should be able to add the ability to specify ranges of versions, but the whole mechanics of the ruby-gem universe is different than the smalltalk universe so I'm not sure that Metacello would give you the behavior you are looking for even I did allow version ranges to be specified ... I'd be willing to spend time working through use cases with you to see if there would be benefit for enabling that feature... yes indeed with the global gem server they have a nice central unit which we do not have right now. But Christophe and Erwann are working on a first step towards such a thing for Pharo: - completely automated configuration validation - completely automated tests for loaded configurations But for the version range, I think having that in Metacello would already give very fine-grained control over dependencies. Additionally it would actually give real meaning to the version numbers.
Re: [Pharo-project] [update 3.0] #30044
nice! On 2013-04-17, at 10:54, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Apr 2013, at 10:45, Marcus Denker marcus.den...@inria.fr wrote: 30044 - 10295 Zinc Update April 16th https://pharo.fogbugz.com/f/cases/10295 Thanks. Sven
Re: [Pharo-project] Monitor is DOWN: get.pharo.org (http://get.pharo.org)
On 2013-04-17, at 10:48, Marcus Denker marcus.den...@inria.fr wrote: On Apr 17, 2013, at 10:43 AM, Serge Stinckwich serge.stinckw...@gmail.com wrote: The server is still down apparently. No, what we use here is a URL forward that is provided by the DNS hosting company. This used to work, but the last week it started to fail very very often. We are in the process of moving the files on a server in away that we can have get.pharo.org as a normal DNS entry. Sadly this is (like always) taking *far* longer that we ever thought it would. But it is nearly done. The good news is that we will then, after this works, even put it behind a CDN so that access from Asia will be even faster. But one step at a time. I think we're almost there with the new fileserver. - apache is properly configured (including all subdomains) - ssh access from jenkins is running last steps: - sync again all files over from gforge - try a full upload from jenkins
Re: [Pharo-project] Metacello configuration conventions
On 2013-04-17, at 02:50, Sean P. DeNigris s...@clipperadams.com wrote: Camillo Bruni-3 wrote I liked ruby-gems approach more than the one in Metacello. You usually specify a major version (as under linux) for your dependency. It seems they're using semantic versioning, which is *awesome*, but can we depend on the convention being followed? I've been pushing to get the tools (e.g. Versionner) to use semantic version numbers by default (i.e. new bugfix version, new enhancement version, new incompatible version) Yeah I think we can run all of that on top of versioner/conventions. You can always introduce symbolic versions for releases as well so the old habit of directly referring to a fixed version number will still continue to work.
Re: [Pharo-project] Xtreams's FileDirectory dependence
FileSystemLegacy is your friend: http://smalltalkhub.com/#!/~PharoExtras/FileSystemLegacy On 2013-04-17, at 16:57, Frank Shearar frank.shea...@gmail.com wrote: Xtreams depends on FileDirectory in at least three places, all in the Xtreams-Terminals package. (Three messages on FileUrl, #appending, #reading, #writing; two tests in XTFileReadingWritingTest #setUp and #tearDown) Pharo 2.0 has no FileDirectory. So it seems like the easiest (not necessarily simple, nor right) thing to is to break that out into Xtreams-Terminals-Squeak and Xtreams-Terminals-Pharo packages, and similarly for the tests. After that, we'd need to adjust the ConfigurationOfXtreams. I think I forgot to fulfil a promise to submit an updated version of this that loaded FFI correctly (sorry!). Thoughts? Do any Pharo folk load Xtreams? frank
Re: [Pharo-project] Xtreams's FileDirectory dependence
On 2013-04-17, at 17:12, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Apr 2013, at 17:09, Camillo Bruni camillobr...@gmail.com wrote: FileSystemLegacy is your friend: http://smalltalkhub.com/#!/~PharoExtras/FileSystemLegacy Yes, that is one possibility. But we want a clean loading Xtreams using FileSystem directly, do we not ? yes definitely ;). but for loading it the first time, this is easier.
Re: [Pharo-project] SPy VM
yes, I almost worked on it :P http://dl.acm.org/citation.cfm?id=1482373.1482382coll=DLdl=GUIDECFID=205981062CFTOKEN=26442857 On 2013-04-17, at 18:05, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Did you know that there is smalltalk vm in PyPy? https://bitbucket.org/pypy/lang-smalltalk
Re: [Pharo-project] Jira plugin for Monticello
I don't think that exists... On 2013-04-17, at 20:11, Max Leske maxle...@gmail.com wrote: Hi guys Has anyone ever heard / used a Jira plugin for Monticello commits? Who would be interested in such a plugin? Cheers, Max
Re: [Pharo-project] How to get the AST Node for a Context
I really really like this :) very simple yet powerful! On 2013-04-17, at 21:28, Clément Bera bera.clem...@gmail.com wrote: Yeah this is really cool. Especially now BlockClosure and optimized BlockClosure (to:do:, ifTrue:ifFalse:, ifNil:ifNotNil:, and:, or:) have the same behavior for debugger byte code to source code mapping, for decompilation, ... 2013/4/17 Marcus Denker marcus.den...@inria.fr Hi, We implemented this today: #sourceNode for MethodContext. It returns the AST node of context, as part of the whole AST of the method. thisContext sourceNode Returns: DoIt ^ thisContext sourceNode [ thisContext sourceNode ] value == RBBlockNode([ thisContext sourceNode ]) --- But even for optimized blocks it works: [ true ifTrue:[thisContext sourceNode ]] value RBBlockNode([ thisContext sourceNode ]) The AST is the one used for code generation, with all information of Semantic Analysis *and* the possibility to get the IR with all information, too. So: [ true ifTrue:[|a|thisContext sourceNode ]] value scope === an OCOptimizedBlockScope 4 Marcus -- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
Re: [Pharo-project] [regression reporter]regression occurred
aaah I love to see a response to that :P my vicious plan to spam the pharo list when there are new tests failing seems to work :) On 2013-04-16, at 14:11, Marcus Denker marcus.den...@inria.fr wrote: On Apr 16, 2013, at 2:08 PM, Esteban Lorenzano esteba...@gmail.com wrote: oops... those are a lot of regressions :) This should not happen: This means that somehow Opal is taken as the compiler. (The tests are not compatible between the two, we are going through them one by one, either porting or fixing… but it takes while). If they fail this mean that the wrong compiler is used when running the tests. On Apr 16, 2013, at 2:06 PM, no-re...@ci.inria.fr wrote: https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/58/ 71 regressions found. CompilerTests.ClosureCompilerTest.testBlockDoitDecompilation CompilerTests.ClosureCompilerTest.testDecompiledDoitMethodTempNames CompilerTests.ClosureCompilerTest.testSourceRangeAccessForClosureBytecodeInjectInto CompilerTests.ClosureCompilerTest.testSourceRangeAccessForClosureLongFormBytecodeInjectInto CompilerTests.ClosureCompilerTest.testSourceRangeAccessForInjectInto CompilerTests.CompilerExceptionsTest.testAmbiguousSelector CompilerTests.CompilerExceptionsTest.testUndeclaredVariable CompilerTests.CompilerExceptionsTest.testUndefinedVariable CompilerTests.CompilerExceptionsTest.testUnknownSelector CompilerTests.CompilerExceptionsTest.testUnusedVariable CompilerTests.CompilerNotifyingTest.testATempShadowingAnotherTemp CompilerTests.CompilerNotifyingTest.testAlltogether CompilerTests.CompilerNotifyingTest.testAssignmentOfSelf CompilerTests.CompilerNotifyingTest.testCascadeInASuperSend CompilerTests.CompilerNotifyingTest.testDigitTooLargeForARadix CompilerTests.CompilerNotifyingTest.testEmptyCaseStatement CompilerTests.CompilerNotifyingTest.testExpectedExpressionInBraceArray CompilerTests.CompilerNotifyingTest.testExtraneousStatementAfterAReturnInABlock CompilerTests.CompilerNotifyingTest.testInvalidRadix CompilerTests.CompilerNotifyingTest.testLiteralCharacterMissing ...
Re: [Pharo-project] [update 3.0] #30042
:D On 2013-04-16, at 16:22, Igor Stasenko siguc...@gmail.com wrote: On 16 April 2013 15:32, Esteban Lorenzano esteba...@gmail.com wrote: 30042 - 10028 Integrate Opal https://pharo.fogbugz.com/f/cases/10028 (remove destructive tests) YESSS!! -- Best regards, Igor Stasenko.
Re: [Pharo-project] Metacello configuration conventions
On 2013-04-16, at 23:25, Frank Shearar frank.shea...@gmail.com wrote: On 16 April 2013 19:52, stephane ducasse stephane.duca...@free.fr wrote: Christophe I agree with you As a general purpose reflexion on dependencies conventions, I would say: If you are in development mode, it makes sense to rely on latest versions of dependencies (bleeding edge) to be able to detect integration problems as soon as possible. If you are in a release mode, you should ensure that your code can run at least on fixed dependencies versions (at the best, specify a range of versions you can use with possibly no upper limit if your dependencies ensure backward compatibility). You need reproducible loading of your tool/lib. in my opinion, you shouldn't use #stable for release version as the only thing it ensure (if well tested) is that you will not have a broken version of the dependency. The stable version of your dependency will evolve and then the configuration of your release too. At a time, your version will not be usable at all because of that. Because even if you milestone against a major version, what you mean is that the package may change (and still work on 20 for example, but be incompatible with your software). I will write something in the metacello chapter and see what I wrote on symbolic version. so I would specify a dependency with a versionString for release versions of your lib/tool. It ensures a minimum version. So I wonder when we should use stable. Versionner will solve all these points for us :) Well, #stable is for people, not machines. It's how you decide whether to try Foo 1.3 or Foo 1.4. If you're just using the library, that's one thing - use other people's #stable releases. But if you're writing a library, and other people will use your application (that uses other stuff), that's when tight control over versions pays off. Your users can know the precise things they need to run your software. ... and that is more precisely: tests and continuous integration I liked ruby-gems approach more than the one in Metacello. You usually specify a major version (as under linux) for your dependency. That means the dependency might evolve a bit, typically for bugfixes, without you having to update the configuration manually. http://docs.rubygems.org/read/chapter/16 for me is what I'd like to see. As you say, #stable and #development are mostly for humans.
Re: [Pharo-project] WhatsUp from: 2013-04-15 until: 2013-04-30
On 2013-04-15, at 07:00, seas...@rmod.lille.inria.fr wrote: Hi! We're sending this automatic email twice a month, to give the community an opportunity to easily know what's happening and to coordinate efforts. Just answer informally, and feel free to spawn discussions thereafter! ### Here's what I've been up to since the last WhatsUp: - fixing pharo bugs week - almost finished working on the new monkey ### What's next, until 2013-04-30 (*): - finish the monkey
[Pharo-project] Fuel Serializing Classes
I am hacking on the monkey and I want to pass test results fuelized from one image to another. Fuel does not serialize the classes (for good reason). How can I add that? I did the following approach which didn't work: 1. use a frozen SmalltalkDictionary for the analyzer 2. load some code 3. run some tests 4. serialize the tests results, include newly added classes (since step 1) == serializer := FLSerializer newDefault. freeze the current environment and thus serialize all new classes serializer analyzer globalEnvironment: self class environment copy. == What is the proper way to do this? Thanks in advance, camillo
Re: [Pharo-project] StandardFileStreamforceNewFileNamed: open request window
which pharo version are you using? On 2013-04-15, at 11:31, Fabrizio Perin fabrizio.pe...@gmail.com wrote: Hi, I used the method StandardFileStreamforceNewFileNamed: to create a new file but a window opens all the time telling me that the file doesn't exist and asking what I want to do about it. Is there another way I should use to create a file, and eventually overwrite it if it exists already, without having the system asking me what to do? Thanks, Fabrizio
Re: [Pharo-project] [Pharo-users] Videos: Pharo from the CommandLine
cool :) On 2013-04-15, at 11:18, Stephan Eggermont step...@stack.nl wrote: Not yet combined with the screencast Pharo from the CommandLine https://www.youtube.com/watch?v=T8RNcXD94jk now rendering uploading: Fuel Tanker
Re: [Pharo-project] Fuel Serializing Classes
thanks... I guess I'll bug martin today ;) On 2013-04-15, at 11:17, Max Leske maxle...@gmail.com wrote: CC'ing the Fuel list. I think you'd need to use Fuel-MetaLevel but I haven't used that functionality myself so I can't say right now. Martin or Mariano should be able to help. Cheers, Max On 15.04.2013, at 11:05, Camillo Bruni camillobr...@gmail.com wrote: I am hacking on the monkey and I want to pass test results fuelized from one image to another. Fuel does not serialize the classes (for good reason). How can I add that? I did the following approach which didn't work: 1. use a frozen SmalltalkDictionary for the analyzer 2. load some code 3. run some tests 4. serialize the tests results, include newly added classes (since step 1) == serializer := FLSerializer newDefault. freeze the current environment and thus serialize all new classes serializer analyzer globalEnvironment: self class environment copy. == What is the proper way to do this? Thanks in advance, camillo
Re: [Pharo-project] StandardFileStreamforceNewFileNamed: open request window
ah right, i think that is one of these pieces that I didn't fully port. BTW did the same happen if you use filesystem directly? 'folderA/folderB/file.txt' asFileReference writeStreamDo: [ :stream| stream 'some contents' ]. If so, can you open a bug report for it? On 2013-04-15, at 13:31, Fabrizio Perin fabrizio.pe...@gmail.com wrote: Hi, sorry, I figured that the file I was trying to create contained invalid characters, in particular a doublecolumn. Still, I found the behaviour confusing. If the system cannot create the file I should get a clear error message than potentially a window that ask me what to do. Cheers, Fabrizio 2013/4/15 Fabrizio Perin fabrizio.pe...@gmail.com I'm in a Moose image 4.8 so Pharo2.0 Latest update: #20595 2013/4/15 Camillo Bruni camillobr...@gmail.com which pharo version are you using? On 2013-04-15, at 11:31, Fabrizio Perin fabrizio.pe...@gmail.com wrote: Hi, I used the method StandardFileStreamforceNewFileNamed: to create a new file but a window opens all the time telling me that the file doesn't exist and asking what I want to do about it. Is there another way I should use to create a file, and eventually overwrite it if it exists already, without having the system asking me what to do? Thanks, Fabrizio
Re: [Pharo-project] Stroke of genius
On 2013-04-15, at 15:46, Sven Van Caekenberghe s...@stfx.eu wrote: On 15 Apr 2013, at 15:07, Sean P. DeNigris s...@clipperadams.com wrote: Sven Van Caekenberghe-2 wrote the little fact that it is incremental - it updates and saves the same image based on 1 metacello configuration - is really a stroke of genius. It saves an enormous amount of time as in the past I always did a complete build from scratch. Updating servers is now really a joy. Sounds great! And, I don't exactly understand ;) Can you say more about that feature? Building a new image goes like this $ ./vm.sh Pharo.image save test $ ./vm.sh test.image config http://mc.stfx.eu/XXX ConfigurationOfBetaNineT3 --install=bleedingEdge --username=XXX --password=XXX The Pharo.image is 'empty' as far as your own code is concerned, the config loads lots of dependencies. A build takes 10 minutes or so. But the next time, you can do only the second part $ ./vm.sh test.image config http://mc.stfx.eu/XXX ConfigurationOfBetaNineT3 --install=bleedingEdge --username=XXX --password=XXX The test.image contains all your project specific code, and loading the config just checks all dependencies and only loads what has changed, incrementally. It only takes some 10s of seconds. It never occurred to me that this was the way to go, but the config handler does it by default. Maybe it is just me, but I had the impression that everybody (including CIs) always built from scratch (more or less, there were staged systems), while it is actually quite practical to keep on updating the same image for a much faster turn around. ;)
[Pharo-project] Fwd: Monitor is DOWN: get.pharo.org (http://get.pharo.org)
Begin forwarded message: From: Uptime Robot al...@uptimerobot.com Subject: Monitor is DOWN: get.pharo.org (http://get.pharo.org) Date: 15. April 2013 16:00:23 MESZ To: camillobr...@gmail.com Hi, The monitor get.pharo.org (http://get.pharo.org) is currently DOWN (Connection Timeout). Uptime Robot will alert you when it is back up. Cheers, Uptime Robot http://www.uptimerobot.com http://twitter.com/uptimerobot (sent from new engine)
Re: [Pharo-project] Please comment on a bug fix for Nautilus
On 2013-04-10, at 21:42, stephane ducasse stephane.duca...@free.fr wrote: On Apr 10, 2013, at 8:12 PM, Igor Stasenko siguc...@gmail.com wrote: On 10 April 2013 13:21, Damien Cassou damien.cas...@gmail.com wrote: We need you to give your opinion on a bug fix for Nautilus. No need to load any code in your image, just look at the screenshots and comments at: https://pharo.fogbugz.com/default.asp?10139 and give us your opinion // Often, especially with Morphs i need to go to superclass and i think it would be nicer to keep it one-line above in the list close to selected class i am working with. If it is about extensions or extended classes which not belongs to your package they can be in any order. But if you really want to separate them (gray / black) then i would even go further and put them into separate list widget, so there will be no confusion that those lists are independent (and no need to invent some strange ordering scheme) No We want to see packages extensions with the classes defined in the package. No separated list! I DO want to have them clearly separated = add an option! once the algorithm works for mixed packages that should be no problem to make it work both ways.