Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 7 participants
- 50354 messages
Re: [Pharo-users] Create maps from an SVG file in Roassal
by Peter Uhnák
On Fri, Jul 31, 2015 at 6:31 PM, François Stephany <
tulipe.moutarde(a)gmail.com> wrote:
> Hi there,
>
> I'm trying to import an SVG file describing the provinces of Belgium in
> Roassal.
> I've cleaned an SVG file found on wikipedia and trying to import it.
>
> I'm trying to imitate the way it is done with Countries. So:
>
> RTMapBuilder class>>provincesOfBelgium
>> ^ #(#antwerp #brussels #eastFlanders #flemishBrabant #hainaut #liege
>> #limburg #luxembourg #namur #walloonBrabant #westFlanders)
>>
>
> and implemented to corresponding SVG paths. Here's one example:
>
> RTSVGPath class>> antwerp
>> ^'m 177.419,25.0693 1.379,-3.5593 -2.986,-1.3778 -3.33,0.5742
>> -0.114,-3.1001 -4.019,-4.0187 1.492,-5.9704 -2.181,-2.8706 -1.952,-0.2298
>> -1.034,-1.2628 -2.411,5.1667 -3.673,3.7892 -3.101,-2.067 -5.396,1.378
>> -2.068,-1.8371 4.479,-0.9188 0.345,-5.1667 -6.2,-2.1815 -4.938,5.741
>> 0.114,2.8704 -8.611,-0.574 1.264,-5.5112 -5.397,0 -6.43,3.4444 1.263,4.5929
>> 2.411,2.7555 -1.492,2.6409 -4.478,-0.6891 0.115,-2.7555 -6.43,0.3443
>> 0,2.4112 2.296,0.5743 -0.345,5.5112 3.904,1.0336 -3.1,3.3295 3.056,7.4863
>> 0.504,5.9475 -7.923,0.2296 -2.985,3.1002 1.722,1.837 -0.114,3.5595
>> 2.889,0.4893 3.352,-0.9423 7.038,4.5375 3.704,-0.5553 1.759,1.7593
>> 3.149,-1.7593 4.075,2.1297 2.963,-3.6118 11.112,-1.7592 0.092,3.3337
>> 11.576,-3.6113 1.204,-3.0562 5.001,-0.8332 2.129,-3.8894 4.723,-0.7409
>> 0.741,-1.9448 2.223,0.8336 1.481,-0.8336 0.186,-4.9079 -4.075,-2.0373
>> 1.605,-5.4063 z'.
>
>
Apparently the path parser doesn't conform to specs?
in the code I see a nice comment "The description of SVG path, says that M
and m may accept more than one coordinates. In practices, this is rarely
the case. "
This also applies for other commands that should support multiple
coordinates.
anyway, try this (I made all line-to commands explicit):
'm 177.419,25.0693 l 1.379,-3.5593 l -2.986,-1.3778 l -3.33,0.5742 l
-0.114,-3.1001 l -4.019,-4.0187 l 1.492,-5.9704 l -2.181,-2.8706 l
-1.952,-0.2298 l -1.034,-1.2628 l -2.411,5.1667 l -3.673,3.7892 l
-3.101,-2.067 l -5.396,1.378 l -2.068,-1.8371 l 4.479,-0.9188 l
0.345,-5.1667 l -6.2,-2.1815 l -4.938,5.741 l 0.114,2.8704 l -8.611,-0.574
l 1.264,-5.5112 l -5.397,0 l -6.43,3.4444 l 1.263,4.5929 l 2.411,2.7555 l
-1.492,2.6409 l -4.478,-0.6891 l 0.115,-2.7555 l -6.43,0.3443 l 0,2.4112 l
2.296,0.5743 l -0.345,5.5112 l 3.904,1.0336 l -3.1,3.3295 l 3.056,7.4863 l
0.504,5.9475 l -7.923,0.2296 l -2.985,3.1002 l 1.722,1.837 l -0.114,3.5595
l 2.889,0.4893 l 3.352,-0.9423 l 7.038,4.5375 l 3.704,-0.5553 l
1.759,1.7593 l 3.149,-1.7593 l 4.075,2.1297 l 2.963,-3.6118 l
11.112,-1.7592 l 0.092,3.3337 l 11.576,-3.6113 l 1.204,-3.0562 l
5.001,-0.8332 l 2.129,-3.8894 l 4.723,-0.7409 l 0.741,-1.9448 l
2.223,0.8336 l 1.481,-0.8336 l 0.186,-4.9079 l -4.075,-2.0373 l
1.605,-5.4063 z'
Is there a README somehwere or the original file that was used to generate
> the world map of the examples?
>
The chapter for MapBuilder hasn't been done yet, but it is planned. :)
Peter
July 31, 2015
Re: [Pharo-users] Does RBImplementedButNotSent result in any critics for any of you?
by Paul DeBruicker
Uko2 wrote
>> On 31 Jul 2015, at 16:00, Paul DeBruicker <
> pdebruic@
> > wrote:
>>
>> It seems like its not testing for the right conditions any more and
>> therefore not finding any messages that are implemented but not sent.
>>
>>
>> I think this and the problem I was having the other day is from removing
>> the use of the RBSmallLintContext class from checking criitcs issues.
>> Why did you decide to do that?
>
>
> This happened during case 15724[1]. Shouldnât be hard to fix but requires
> tests.
>
> As for context removal: Because we have 100500 contexts in Pharo and
> everyone uses itâs own. Another thing is that âwhy should every rule care
> about the context?â. I wan to check a single class, and the rule needs
> some kind of context. I donât have a context I have a class.
>
> Another issues that we still have is that you cannot see whether your
> method/class is violating a rule. You have to go to a result, which is a
> context, query somethingâ¦
>
> [1]: https://pharo.fogbugz.com/f/cases/15724/
Thanks for the pointer to the bug. I'll take a look.
Re contexts, there are 539,103 Arrays in Pharo and everyone uses its own.
Are there plans to remove them?
Did you consider adding hooks #methodCheckWithContext: &
#checkClassWithContext: for those that worked and used contexts so that for
the ones that profited from the use of contexts could continue without
continuing to be poorly named methods?
For querying/viewing is there a way contexts could be made polymorphic with
rules?
--
View this message in context: http://forum.world.st/Does-RBImplementedButNotSent-result-in-any-critics-fo…
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
July 31, 2015
Create maps from an SVG file in Roassal
by François Stephany
Hi there,
I'm trying to import an SVG file describing the provinces of Belgium in
Roassal.
I've cleaned an SVG file found on wikipedia and trying to import it.
I'm trying to imitate the way it is done with Countries. So:
RTMapBuilder class>>provincesOfBelgium
> ^ #(#antwerp #brussels #eastFlanders #flemishBrabant #hainaut #liege
> #limburg #luxembourg #namur #walloonBrabant #westFlanders)
>
and implemented to corresponding SVG paths. Here's one example:
RTSVGPath class>> antwerp
> ^'m 177.419,25.0693 1.379,-3.5593 -2.986,-1.3778 -3.33,0.5742
> -0.114,-3.1001 -4.019,-4.0187 1.492,-5.9704 -2.181,-2.8706 -1.952,-0.2298
> -1.034,-1.2628 -2.411,5.1667 -3.673,3.7892 -3.101,-2.067 -5.396,1.378
> -2.068,-1.8371 4.479,-0.9188 0.345,-5.1667 -6.2,-2.1815 -4.938,5.741
> 0.114,2.8704 -8.611,-0.574 1.264,-5.5112 -5.397,0 -6.43,3.4444 1.263,4.5929
> 2.411,2.7555 -1.492,2.6409 -4.478,-0.6891 0.115,-2.7555 -6.43,0.3443
> 0,2.4112 2.296,0.5743 -0.345,5.5112 3.904,1.0336 -3.1,3.3295 3.056,7.4863
> 0.504,5.9475 -7.923,0.2296 -2.985,3.1002 1.722,1.837 -0.114,3.5595
> 2.889,0.4893 3.352,-0.9423 7.038,4.5375 3.704,-0.5553 1.759,1.7593
> 3.149,-1.7593 4.075,2.1297 2.963,-3.6118 11.112,-1.7592 0.092,3.3337
> 11.576,-3.6113 1.204,-3.0562 5.001,-0.8332 2.129,-3.8894 4.723,-0.7409
> 0.741,-1.9448 2.223,0.8336 1.481,-0.8336 0.186,-4.9079 -4.075,-2.0373
> 1.605,-5.4063 z'.
Very naively, I've tried:
provinceExample
> "self new provinceExample"
> | b |
> b := RTMapBuilder new.
> b countries: RTMapBuilder provincesOfBelgium.
> b color: Color lightGrey.
> b open.
Which does not display anything.
I suspect the problem lies in the coordinates of my paths. Is there a
README somehwere or the original file that was used to generate the world
map of the examples?
Cheers,
Francois
July 31, 2015
Re: [Pharo-users] Does RBImplementedButNotSent result in any critics for any of you?
by Yuriy Tymchuk
> On 31 Jul 2015, at 16:00, Paul DeBruicker <pdebruic(a)gmail.com> wrote:
>
> It seems like its not testing for the right conditions any more and therefore not finding any messages that are implemented but not sent.
>
>
> I think this and the problem I was having the other day is from removing the use of the RBSmallLintContext class from checking criitcs issues. Why did you decide to do that?
This happened during case 15724[1]. Shouldnât be hard to fix but requires tests.
As for context removal: Because we have 100500 contexts in Pharo and everyone uses itâs own. Another thing is that âwhy should every rule care about the context?â. I wan to check a single class, and the rule needs some kind of context. I donât have a context I have a class.
Another issues that we still have is that you cannot see whether your method/class is violating a rule. You have to go to a result, which is a context, query somethingâ¦
[1]: https://pharo.fogbugz.com/f/cases/15724/
July 31, 2015
Does RBImplementedButNotSent result in any critics for any of you?
by Paul DeBruicker
It seems like its not testing for the right conditions any more and therefore not finding any messages that are implemented but not sent.
I think this and the problem I was having the other day is from removing the use of the RBSmallLintContext class from checking criitcs issues. Why did you decide to do that?
July 31, 2015
Re: [Pharo-users] interview on .Net Rocks! about Moose, humane assessment, Pharo and GT
by Alexandre Bergel
:-)
I am also convinced about that!
Alexandre
> On Jul 30, 2015, at 5:32 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>
> Hi,
>
> Roassal is not (yet :)) loaded in Pharo. Only GT. But, indeed that is the point. Among others, GT also makes it possible to embed visualizations directly in your natural workflow.
>
> I keep on saying that GT is a marketplace for Roassal :).
>
> If you want to have the service of a full data analysis platform, including Roassal, PetitParser and other convenient data manipulation tools, you can use the Moose distribution.
>
> Cheers,
> Doru
>
>
> On Thu, Jul 30, 2015 at 10:23 PM, H. Hirzel <hannes.hirzel(a)gmail.com> wrote:
> This basically means that Pharo 4.0 is no longer a Smalltalk IDE only.
> Together with Roassal it is a data analysis application ...!
>
> In a sense something like a spreadsheet but for general data, not only
> data in tables.
>
> --Hannes
>
> On 7/30/15, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> > Hi,
> >
> > Indeed, GTSpotter, GTPlayground and GTInspector come with Pharo 4.
> >
> > The GTDebugger is available in the Moose 5/5.1/6.0 images.
> >
> > Thanks for the notification. I will update the page.
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On Thu, Jul 30, 2015 at 10:12 PM, H. Hirzel <hannes.hirzel(a)gmail.com>
> > wrote:
> >
> >> Doru,
> >>
> >> Thank you for the links
> >>
> >> Is the glamorous Toolkit preinstalled in Pharo 4?
> >>
> >> In any case
> >>
> >> http://gt.moosetechnology.org/
> >>
> >> needs to mention Pharo 4.
> >>
> >> --Hannes
> >>
> >> On 7/30/15, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> >> > Hi,
> >> >
> >> > I had the pleasure of giving an interview for the .Net Rocks! podcast.
> >> > It
> >> > was quite fun and I managed to mention Moose, humane assessment, Pharo
> >> and
> >> > GT in 45 minutes. It was not as smooth as a presentation but I still
> >> think
> >> > it's a useful advertisement.
> >> >
> >> > Let me know what you think, and feel free to promote it further:
> >> >
> >> > https://dotnetrocks.com/default.aspx?showNum=1172
> >> >
> >> http://www.tudorgirba.com/blog/dotnetrocks-interview-moose-humane-assessmen…
> >> >
> >> > Cheers,
> >> > Doru
> >> >
> >> > --
> >> > www.tudorgirba.com
> >> >
> >> > "Every thing has its own flow"
> >> >
> >>
> >>
> >
> >
> > --
> > www.tudorgirba.com
> >
> > "Every thing has its own flow"
> >
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
July 31, 2015
Re: [Pharo-users] Personal wiki / information manager
by stepharo
Le 28/7/15 01:44, Evan Donahue a écrit :
> Ah, yes, by 'offline' I did mean outside of the mailing list, but that
> was purely out of consideration for the list. If the list wants to
> hear it, far be it from me to keep it from them.
>
> For my part, I am a graduate student working on my dissertation, and I
> have been trying to build tools to facilitate that as I go, from
> taking and sharing notes, to visualizing primary material, to
> (eventually) organizing and writing the dissertation. I have been
> following Offray's updates with interest, as I think my goals are very
> much allied, but I am starting in a slightly different place, if I
> have understood correctly (research and organizing, and not yet
> writing, sharing, or publishing). My efforts thus far have been
> concentrated in two repositories:
This is really great to share this with us
>
> Chancery (http://smalltalkhub.com/#!/~EvanDonahue/Chancery
> <http://smalltalkhub.com/#%21/%7EEvanDonahue/Chancery>) is an early
> prototype for a note taking system. I am coming from taking notes in
> emacs org-mode, and so Chancery right now is the most straightforward
> collapsable tree outliner/note taker that could give me functionality
> basically equivalent to what I had in org-mode, and serve as a
> platform to co-evolve my research methods and their supporting
> technology. The near-term goals for this involve adding metadata
> (authors, dates, etc) to the sources I am annotating and using that
> for various kinds of historical visualization (and further, attendant
> annotation) eg who wrote what when, referencing who, influenced by
> what, etc), and can I edit all that directly in its graphical form.
> The status of this project is that it is usable by myself and those I
> have worked with on it (and I use it as my primary note taking
> system), but I'm not sure what it would look like to someone loading
> it at the moment (no real intro/docs, as it was just a quick prototype
> to provoke further design discussion).
>
> Trantor (http://smalltalkhub.com/#!/~EvanDonahue/Trantor
> <http://smalltalkhub.com/#%21/%7EEvanDonahue/Trantor>) is a
> disttributed p2p system for incrementally keeping data structures in
> sync between multiple, asynchronously connected pharo instances across
> the internet without requiring human attention to resolve merge
> conflicts (think laptos where data is edited offline and then
> automatically synced when they connect to one another); it is my
> answer to sharing and collaboration for things created in Chancery
> (although it is a more general purpose project). Functionally, Trantor
> provides a set of common datatypes (set, dict, text blob, etc) and a
> means to run nodes and peer them for synchronization of said
> datatypes. The goal with respect to Chancery/personal information
> management is being able to easily grab some structured set of notes
> or writing out of the note taking system and share it with
> collaborators or colleagues with a button click, and without having to
> go through the whole export/send/manage versions dance. This project
> is about 85% complete, the proof of concept works, it just needs a big
> refactor to make it usable and quash some bugs.
For the p2p is it all in pharo because jordi delgado told me that he was
working on p2p with Pharo.
>
> I guess my observations on using Pharo thus far are first, that it is
> absolutely ideal for evolving prototypes, since you get a sort of poor
> man's gui and persistance (object inspector + image serialization)
> basically for free, which is 90% of the work of such a simple
> information management app prototype. I have a fully functional tree
> outliner at a point when in another language I would still be trying
> to hack a low functionality command line interface. The other thing
> I've found refreshing is that my application can live as one among
> many within the image, sharing data with other programs by passing
> objects around in a way that is impossible to do with a standalone
> application running on a modern operating system. the dream of the web
> is, I think, heading more in this direction, but working with the
> browser (as I was before I came to pharo) requires coordinating a
> separate server process, compressing everything into http/html/json,
> and a host of other problems that vanish when you can just serialize
> objects between pharo instances. In short, I'm getting a lot done in
> this language and I expect I'll be around for a while.
>
> Cheers,
> Evan
July 30, 2015
Re: [Pharo-users] troubles with JNIPort on Pharo 5 / Java 8
by Tudor Girba
Hi again,
I continued with experimentation in Pharo 3. Specifically, I would like to
get a callback working, but something does not work out.
Could you take a look below? Perhaps you can spot what I am doing wrong.
Here is what I did:
1. I downloaded:
https://sites.google.com/site/jniport/file-cabinet/JNIPort30_Extras.zip
2. I created the following Java class:
package com.tudorgirba.jniport.callback;
import jniport.RequestNotHandedException;
import jniport.SmalltalkNotification;
public class SimpleNotifier {
private static final Object notifyTag = new String("sendNotification()");
public static Object notifyTag () { return notifyTag; }
public void sendNotification() throws RequestNotHandedException
{
new SmalltalkNotification(notifyTag, this).send();
}
}
3. Then I ran this code in a Pharo 3.0 image:
"---"
Gofer new
smalltalkhubUser: 'JNIPort' project: 'JNIPort';
configuration;
loadVersion: '3.0-baseline'.
JNIPortJNIInterface libraryFile:
'/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libclient.dylib'.
jvmSettings := JVMSettings new.
jvmSettings usesGhosts: true.
jvmSettings supportsCallbacks: true.
jvmSettings jniPortSettings useJNIHelperLibrary: false.
jvmSettings ghostClassSettings retainMethodSource: true.
jvmSettings runtimeSettings classpath:
'.:/Users/girba/Work/Code/moose/JNIPort30.jar:/Users/girba/Work/Code/moose/JNIPort30-Tests.jar:/Users/girba/Work/Code/moose/jniport/jniport-callbacks/bin/'.
Cursor execute showWhile: [JVM newWithSettings: jvmSettings].
notifierClass := JVM current findClass:
#'com.tudorgirba.jniport.callback.SimpleNotifier'.
JVM current callbackRegistry
setCallback: notifierClass notifyTag
handler: [:this :param | *self halt*].
notifier := notifierClass new.
notifier *sendNotification*.
"---"
Everything executes without error, but the *self halt* part is not reached.
I would expect that when the #sendNotification is executed, the
corresponding handler gets executed and the debugger appears.
(I thought that perhaps something is wrong with the classpath, but the
notifierClass and the notifier objects look just fine)
Any idea of what is wrong?
Cheers,
Doru
On Wed, Jul 29, 2015 at 10:47 AM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> Hi Joachim,
>
> Thanks for the answer.
>
> Unfortunately, I am stuck at the moment too, and I have no idea how to
> proceed. I would really benefit from your, or someone else's, help :).
>
> Cheers,
> Doru
>
>
> On Tue, Jul 28, 2015 at 9:57 PM, Joachim Geidel <
> joachim.geidel(a)onlinehome.de> wrote:
>
>> Hi Tudor,
>>
>> unfortunately I havenât had much time to work on JNIPort for a while. I
>> have started to simplify some of the code, but this isnât finished yet, and
>> I have not yet looked into Pharo 4 and 5. The latest Pharo version I have
>> worked with was 3, because I was waiting for the VM and NativeBoost changes
>> which were announced but not finished the last time I looked (which is a
>> long time ago). So currently, I canât tell what is wrong. Obviously,
>> something has changed in the class building mechanism since Pharo 3. The
>> other problem might be related to NativeBoost or the VM, but of course I am
>> speculating for now.
>>
>> Cheers,
>> Joachim
>>
>> Am 28.07.2015 um 16:10 schrieb Tudor Girba-2 [via Smalltalk] <[hidden
>> email] <http:///user/SendEmail.jtp?type=node&node=4839859&i=0>>:
>>
>> Hi Joachim,
>>
>> Thanks for the answer.
>>
>> I did not have Java 1.6 anymore on my Yosemite, but I installed it now.
>> For reference, here is how to get it:
>> https://support.apple.com/kb/DL1572?locale=en_US
>>
>> I still have problems in Pharo5.
>>
>> I am trying the following script:
>> http://ws.stfx.eu/CHS8KCAGWGO2
>>
>> I tried in Pharo 3, and the script worked fine.
>>
>> I also tried with Pharo4 and Pharo5, but it does not work because I get a
>> MNU for GhostClassBuilder>>#client:.
>>
>> I fixed it in a Pharo5 image by using #installer: instead, but the
>> computation of "JVM newWithSettings: jvmSettings" does not seem to finish
>> and it blocks the VM.
>>
>> Any idea of what goes wrong?
>>
>> Cheers,
>> Tudor
>>
>>
>>
>> ------------------------------
>> View this message in context: Re: troubles with JNIPort on Pharo 5 /
>> Java 8
>> <http://forum.world.st/troubles-with-JNIPort-on-Pharo-5-Java-8-tp4836922p483…>
>> Sent from the Pharo Smalltalk Users mailing list archive
>> <http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html> at
>> Nabble.com.
>>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
--
www.tudorgirba.com
"Every thing has its own flow"
July 30, 2015
Re: [Pharo-users] Pillar and Beamer
by stepharo
Cyril
do you have a deck.js or whatever other format working.
I'm still producing new lectures (so boring but it has to be done)
and I would love to have more sexy style than beamer... because it is so
dry...
Stef
Le 29/7/15 10:49, Ferlicot D. Cyril a écrit :
> Le 29/07/2015 10:40, Peter Uhnák a écrit :
>> Hi,
>>
>> there was a presentation (or show us your project) about Pillar and
>> (LaTeX/)Beamer at ESUG if I am not mistaken. However I don't think there
>> are videos available from the uni, so is more information available
>> somewhere?
>>
> Hello!
> Yes this is possible with the last version of Pillar.
> There is no documentation for now but I'm updating it. I'll include the
> presentation generation to the Pillar chapter on the 'Pharo for The
> Enterprise' Book this week or next week.
>
> For now you can have a look at the Pharo Mooc:
> https://github.com/SquareBracketAssociates/PharoMooc
>
> There is a Slide folder and a compile-slide script.
>
> I'll tell you when I'll finish the documentation.
>
>> Thanks,
>> Peter
> Cyril
>
>
July 30, 2015
Re: [Pharo-users] [Moose-dev] Re: Script of the day
by Tudor Girba
Of course, it is. In fact, a treemap is a better suited representation for
understanding the size of a file system.
Here it is:
http://ws.stfx.eu/C9RM2EURHKMI
[image: Inline image 1]
Cheers,
Doru
On Thu, Jul 30, 2015 at 8:40 PM, H. Hirzel <hannes.hirzel(a)gmail.com> wrote:
> Is it possible to use a tree map?
>
> --Hannes
>
> On 7/30/15, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
> > I gave a try, and I did not find anything weird.
> > I guess your document folder contains many files, as Doru said
> >
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >> On Jul 30, 2015, at 5:51 AM, Dimitris Chloupis <kilon.alios(a)gmail.com>
> >> wrote:
> >>
> >> Frankly I dont mind big images or big data , neither I share the
> obsession
> >> to shrink things down to few mbs in a time that we are talking in TBs .
> >>
> >> Anyway you asked for the image and this is a link to it
> >>
> >>
> https://www.dropbox.com/s/wh1071xgoo54fq7/1%20Ephestos%2027-05-15.zip?dl=0
> >> <
> https://www.dropbox.com/s/wh1071xgoo54fq7/1%20Ephestos%2027-05-15.zip?dl=0
> >
> >>
> >> I dont think you will find anything abnormal about it though.
> >>
> >> I was wondering whether it would worth the effort beyond the unit tests
> >> that check for behaviour of the code to have also benchmark tests that
> >> will have to pass specific standards so that specific method must
> perform
> >> under a strict timetable specific tasks, this way CI may alert not only
> >> unit tests that fail but also benchmarks that fail , automagically.
> >>
> >> Maybe some food for thought.
> >>
> >> Personally I am far more worried how much CPU Pharo consumes than how
> much
> >> RAM.
> >>
> >> On Wed, Jul 29, 2015 at 11:54 PM Peter Uhnák <i.uhnak(a)gmail.com
> >> <mailto:i.uhnak@gmail.com>> wrote:
> >> Not sure if there is any downside (I've been using it for a long time
> >> without problems), but image cleanup often does wonders for me.
> >>
> >> Moose image
> >> 410 MB => cleanup (World -> System -> Do Image Cleanup) => save => 237
> >> MB
> >> and I even had situations where it went from ~600 MB to ~60 MB.
> >> (As to why my images are so massive... right now there are 19 windows
> >> opened inside most of them with opened roassal visualization... and I am
> >> saving like every five minutes... but that is just a guess.)
> >>
> >> But image cleanup is supposed to break things, so better to backup the
> >> folder first.
> >> Plus is cache really necessary? I mean it's a cache. .image + .changes
> >> should usually suffice.
> >>
> >> Peter
> >>
> >> On Wed, Jul 29, 2015 at 10:45 PM, Dimitris Chloupis <
> kilon.alios(a)gmail.com
> >> <mailto:kilon.alios@gmail.com>> wrote:
> >> Tudor I dont know if you received my message but I already answered that
> >> with this:
> >>
> >> "ah ok then its normal. Yes the structure is extensive, its 13 folders
> >> (the rest 71 are files some of them very big), I would not be surprised
> if
> >> each contains 100 files in its own subfolders."
> >>
> >>
> >>
> >> On Wed, Jul 29, 2015 at 11:30 PM Tudor Girba <tudor(a)tudorgirba.com
> >> <mailto:tudor@tudorgirba.com>> wrote:
> >> Hi,
> >>
> >> But, do you confirm that you have many files under the mentioned folder?
> >>
> >> Cheers,
> >> Doru
> >>
> >>
> >>
> >> On Wed, Jul 29, 2015 at 10:25 PM, Dimitris Chloupis <
> kilon.alios(a)gmail.com
> >> <mailto:kilon.alios@gmail.com>> wrote:
> >> the image is 180 mb, changes are another 15, there are several other
> >> folders that raise the total size to 250 mb, monticello-cache and
> >> github-cache prodominately.
> >>
> >> Hmm ok my bad, the size of the zip is 89 MB not 200 mb. Still will take
> me
> >> 1-2 hours to upload on this connection. So if you guys still need the
> >> image i can upload tommorow from work, though it seems my slow down is
> >> normal.
> >>
> >> Afterall I am sure you can test it yourselves on complex file structures
> >> to see if it has delays as long as 20 minutes.
> >>
> >>
> >>
> >> On Wed, Jul 29, 2015 at 11:01 PM Sven Van Caekenberghe <sven(a)stfx.eu
> >> <mailto:sven@stfx.eu>> wrote:
> >>
> >> > On 29 Jul 2015, at 21:33, Dimitris Chloupis <kilon.alios(a)gmail.com
> >> > <mailto:kilon.alios@gmail.com>> wrote:
> >> >
> >> > well i can send you the image tommorow because its huge (200 MB ziped)
> >> > for my pathetically slow internet connection at home. I will send it
> >> > from work which is 8 times faster.
> >>
> >> If the image is 200 MB zipped, how large is it in its normal state ?
> >>
> >> For me, a 100 MB image file is already quite large, that would compress
> to
> >> maybe 20/30 MB.
> >>
> >> This doesn't sound right to me, unless you explicitly tried to store a
> lot
> >> of data.
> >>
> >> Maybe something else is wrong that would explain the slowness.
> >>
> >> > I can tell you that I am on MacOS Yosemite , I get my image with
> >> > pharolauncher, the image was dowloaded at 27-07-15 some of the 84
> items
> >> > are folders that contain many sub folders. No idea if that matters.
> >> >
> >> > I got Roassal 2 using the Package Browser in Pharo 5 (the new
> >> > configuration browser).
> >> >
> >> > On Wed, Jul 29, 2015 at 8:17 PM Alexandre Bergel
> >> > <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>> wrote:
> >> > Are you using windows? I know it may has problems regarding the source
> >> > code. You have 84 items and the visualization is slow? How is this
> >> > possible.
> >> >
> >> > Can I have a look at your image?
> >> >
> >> > Cheers,
> >> > Alexandre
> >> > --
> >> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> > Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
> >> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >> >
> >> >
> >> >
> >> >> On Jul 29, 2015, at 12:26 PM, Dimitris Chloupis <
> kilon.alios(a)gmail.com
> >> >> <mailto:kilon.alios@gmail.com>> wrote:
> >> >>
> >> >> thats ok it unfroze after 20 minutes or so . I managed to inspect
> the b
> >> >> but its incredible slow to navigate and use . Even moving the
> inspector
> >> >> around is incredible slow. My Documents folder contains 84 items,
> maybe
> >> >> it cant handle so well this amount of datea ?
> >> >>
> >> >> On Wed, Jul 29, 2015 at 5:55 PM Alexandre Bergel
> >> >> <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>> wrote:
> >> >> Oh⦠sorry. Was not my intention
> >> >>
> >> >> Alexandre
> >> >> --
> >> >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> >> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
> >> >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >> >>
> >> >>
> >> >>
> >> >>> On Jul 29, 2015, at 11:24 AM, Dimitris Chloupis <
> kilon.alios(a)gmail.com
> >> >>> <mailto:kilon.alios@gmail.com>> wrote:
> >> >>>
> >> >>> that was a nice way to freeze my image, thank you :D
> >> >>>
> >> >>> On Wed, Jul 29, 2015 at 4:27 PM Alexandre Bergel
> >> >>> <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>> wrote:
> >> >>> Hi!
> >> >>>
> >> >>> Just to share a couple of experiment. I have tried the following in
> a
> >> >>> playground:
> >> >>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >> >>> b := RTMondrian new.
> >> >>>
> >> >>> b shape rectangle
> >> >>> if: [ :aFile | aFile path basename beginsWith: '.' ] color:
> Color
> >> >>> red.
> >> >>> b nodes: FileLocator documents allChildren.
> >> >>> b edges connectFrom: #parent.
> >> >>> b normalizer
> >> >>> normalizeSize: #size using: #sqrt.
> >> >>> b layout tree.
> >> >>> b
> >> >>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >> >>>
> >> >>> It shows a tree of the file system. Thanks to GT, simply clicking
> on a
> >> >>> file may show you the content and other things.
> >> >>> <Screen Shot 2015-07-29 at 10.23.51 AM.png>
> >> >>>
> >> >>> You can also use the cluster layout:
> >> >>> <Screen Shot 2015-07-29 at 10.25.11 AM.png>
> >> >>>
> >> >>> I have tried this on OS X, since the pointed folder is ~/Documents.
> >> >>>
> >> >>> Cheers,
> >> >>> Alexandre
> >> >>> --
> >> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> >>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
> >> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >> >>>
> >> >>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> Moose-dev mailing list
> >> >>> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> >>> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >> >>
> >> >> _______________________________________________
> >> >> Moose-dev mailing list
> >> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >> >> _______________________________________________
> >> >> Moose-dev mailing list
> >> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >> >
> >> > _______________________________________________
> >> > Moose-dev mailing list
> >> > Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >> > _______________________________________________
> >> > Moose-dev mailing list
> >> > Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >>
> >>
> >>
> >>
> >> --
> >> www.tudorgirba.com <http://www.tudorgirba.com/>
> >>
> >> "Every thing has its own flow"
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev(a)iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
>
>
--
www.tudorgirba.com
"Every thing has its own flow"
July 30, 2015