Re: [Pharo-users] Problem Loading Roassal 2 development in Pharo 4

2015-09-21 Thread Peter Uhnák
> I do not think this is possible. The development of Roassal2 happens in Pharo > 5. It's missing GTExampleFinder even in Pharo5, because the development happens in Moose ;) (Unless Pharo 5 has been updated in the meantime and the problem fixed itself.) In any case, this just breaks Roassal exam

Re: [Pharo-users] Rectangle center rounding

2015-09-21 Thread Peter Uhnák
On Mon, Sep 21, 2015 at 11:07 PM, Alexandre Bergel wrote: > Hi! > > Any program on that front? > There was no progress on this and I don't think that from our (me and Jan) perspective this is even direction we should go. (Jan is probably enjoying summer so I don't know when or even if he will wor

Re: [Pharo-users] Integrating a custom spotter, reusing current code

2015-09-22 Thread Peter Uhnák
> Also, how do I get to a list > of the implementers/senders/references/etc of the method/class? > What is the improved and approved way to do this :) ? do you mean sending them #senders and #implementors? Or am I missing something? aCompiledMethod senders. (Morph>>#drawOn:) implementors. Morph a

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-22 Thread Peter Uhnák
> I made it work nicer with the dark theme. Thanks! > Anyone know how to get a good result for the package name that > is shown above the method name? Nautilus is using this for extension methods (interestingly it ignores Theme, but it works for both) ~~~ AbstractNautilus

Re: [Pharo-users] Trying DynaCASE in Pharo 5

2015-09-22 Thread Peter Uhnák
Hi Hernán, could you please try the latest build https://ci.inria.fr/pharo-contribution/job/DynaCASE/lastSuccessfulBuild/PHARO=50,VERSION=development,VM=vm/artifact/DynaCASE.zip I'm in the process of integrating FAMIX model so it's bit unstable. Peter On Wed, Sep 23, 2015 at 1:32 AM, Hernán Mor

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-22 Thread Peter Uhnák
ents could be reused. Peter On Wed, Sep 23, 2015 at 1:48 AM, Alexandre Bergel wrote: > Yes, in the world menu > > Alexandre > > >> On Sep 22, 2015, at 8:02 PM, Peter Uhnák wrote: >> >>> I made it work nicer with the dark theme. >> >> Thanks! >&

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-23 Thread Peter Uhnák
On Wed, Sep 23, 2015 at 4:21 AM, Alexandre Bergel wrote: > I have not tried, but can you compile methods? Not yet.

Re: [Pharo-users] Trying DynaCASE in Pharo 5

2015-09-23 Thread Peter Uhnák
> Do you plan to add a code generator? Unfortunately right now I am fully focusing on UML Class Diagrams, and I have limited resources (my time), and has only 26 hours. I will start writing a code generator for UML next month, but that has somewhat different semantics to FSM. > I am writing a Cod

[Pharo-users] FM(Null)(Multi)MultivalueLink has confusing printOn:

2015-09-23 Thread Peter Uhnák
Hi, FM*MultivalueLink has a very confusing printOn: method ~~~ FM*MultivalueLink>>printOn: aStream self asArray printOn: aStream ~~~ Converting it to array means that when I see a variable in the inspector it describes itself as array whic

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-28 Thread Peter Uhnák
On Mon, Sep 28, 2015 at 4:25 PM, Offray Vladimir Luna Cárdenas < off...@riseup.net> wrote: > Peter, Could you share a link to a bigger screenshot of your workflow with > code cards? Just curious about this feature. > Hmm, what email client are you using? Because the image was not resized. world.

[Pharo-users] not yet / should be implemented

2015-09-28 Thread Peter Uhnák
What is the difference? — *ShouldBeImplemented* I am ShouldBeImplemented, an exception signaled when some method should have been implemented but was not. This is more like a placeholder during development. — *NotYetImplemen

Re: [Pharo-users] not yet / should be implemented

2015-09-28 Thread Peter Uhnák
On Mon, Sep 28, 2015 at 9:36 PM, Thierry Goubier wrote: > Le 28/09/2015 21:09, Peter Uhnák a écrit : > >> What is the difference? >> >> — >> *ShouldBeImplemented* >> * >> * >> I am ShouldBeImplemented, an excepti

Re: [Pharo-users] not yet / should be implemented

2015-09-28 Thread Peter Uhnák
> > Oh, so it's actually ShouldHaveBeenImplemented (past tense --- as in: "it > was supposed to be already done"). > quoting from the comment "exception signaled when some method *should have been implemented* but was not" So I guess I'm blind because I read it several times but the brain didn't

[Pharo-users] TestAsserter>>assertCollection:hasSameElements:

2015-09-28 Thread Peter Uhnák
How practical it is to do set-based comparison in TestAsserter>>assertCollection:hasSameElements: ? For example #(1 1 2) has same elements as #(1 2) which may make sense for sets, but not for bags. The main reason I was using it is that in tests the expected collection may be created by hand, whi

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-28 Thread Peter Uhnák
erbird. I will see what's > happening. Cheers, > > Offray > > > On 28/09/15 09:55, Peter Uhnák wrote: > > On Mon, Sep 28, 2015 at 4:25 PM, Offray Vladimir Luna Cárdenas < > off...@riseup.net> wrote: > >> Peter, Could you share a link to a bigger scre

Re: [Pharo-users] Accessors vs instance variables

2015-10-02 Thread Peter Uhnák
> > Nobody has shown me a good reason for their existence and I never use them > except where I'm forced to use them in Spec How so? Spec requires only read accessor for your (sub)components.

Re: [Pharo-users] Rubric events

2015-10-02 Thread Peter Uhnák
On Fri, Oct 2, 2015 at 8:54 AM, Marcus Denker wrote: > This mails arrived here empty. > Interesting. Gmail says for that mail "{no text body}", but if I click on it I see the content: --- From: Alain Plantec To: Any question about pharo is welcome Cc: Date: Fr

[Pharo-users] Spec LabelModel's #font: and other styles

2015-10-02 Thread Peter Uhnák
Does it make sense to be able to specify font and similar at Spec-level? And not just font, also the size, color, or emphasis (which currently only emphasis is supported). >From one perspective it's handy, because I can change it at a whim, however I wonder whether this shouldn't be responsibili

[Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Peter Uhnák
Hi, What options do we have in terms of type annotations in Pharo? I stumbled upon TypePlug this https://marcusdenker.de/talks/08ParisTypes/08ParisTypePlug.pdf (or rather this http://scg.unibe.ch/archive/masters/Hald07a.pdf ) which enabled type annotation for Squeak such as Frui

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Peter Uhnák
till unsure which types system to use. Probably I will > use the one of Dart for now. It is easy to implement but it is unsound. I > think having a Gradual Type checker for Pharo would be fantastic, but this > is seriously more complicated to have. > > All in all, there is a fair am

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-10-05 Thread Peter Uhnák
not in the catalog browser? Do you feel it's not production-ready (missing editing)? Because I am very happy consumer even in this state. :) Peter On Tue, Sep 29, 2015 at 9:33 PM, Stephan Eggermont wrote: > On 29-09-15 01:28, Peter Uhnák wrote: > >> As for changing/updating th

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Peter Uhnák
> (did you know, that there is a shortcut to jump from one message send argument to another (not related to completion, but very helpful). Sadly this is gone or I couldn't find it in rubrics shortcut handling). maybe this is related to Settings > Code Browsing > AST navigation? (I've never actuall

Re: [Pharo-users] Better Code Completion

2015-10-07 Thread Peter Uhnák
obbes/p/JASE-completion.pdf there is a > paper about ocompletion by the same author that explains ocompletion and > with that paper ocompletion is easily understandable. > werner > > This is different paper, I've posted accessible link earlier: On Mon, Oct 5, 2015 at 9:59 PM, Peter

Re: [Pharo-users] Problem with Copy-and-Paste on Google Chrome in Ubuntu

2015-10-07 Thread Peter Uhnák
Yes, this is well known issue (with pending fix https://github.com/pharo-project/pharo-vm/pull/80 ). Also note that if you use pharo launcher you will have to modify the launch method. Peter On Wed, Oct 7, 2015 at 4:22 PM, Thierry Goubier wrote: > Hi Fabio, > > for the copy paste to work from

Re: [Pharo-users] Text Field With Entry Completion Via Tab

2015-10-07 Thread Peter Uhnák
On Thu, Oct 8, 2015 at 3:14 AM, Sean P. DeNigris wrote: > Nicolai Hess wrote > > you can select an entry with arrow up/down and the enter key should > accept > > the selected completion entry. > > Ah, yes I see that now. I wanted tab completion, but it's not worth the > effort. I did a spike and

Re: [Pharo-users] How do I run Pharo on Debian?

2015-10-08 Thread Peter Uhnák
This should work just fine (not sure if the zip contains "pharo" or "pharo-ui" but that doesn't matter) ./pharo(-ui) Pharo.image can you add result of "ls" command and the error you are receiving when you try to run it? "isn't an executable command" is not very useful (doesn't tell me anything)

Re: [Pharo-users] Problem with Copy-and-Paste on Google Chrome in Ubuntu

2015-10-08 Thread Peter Uhnák
On Thu, Oct 8, 2015 at 4:16 PM, Ben Coman wrote: > On Wed, Oct 7, 2015 at 10:22 PM, Thierry Goubier > wrote: > > Hi Fabio, > > > > for the copy paste to work from Chrome, you need to start your Pharo with > > the --textenc utf8 command line option. > > Just curious why we should not default to

Re: [Pharo-users] Multiple method deletion

2015-10-10 Thread Peter Uhnák
I've been experiencing something similar, but I am using older Pharo ( 50287 ) and I wasn't quite able to precisely observe the reason for the error. There the problem was that I deleted a method, but the previously selected method was actually deleted, so there were some selection inconsistencies.

[Pharo-users] ifNotEmpty(Do):

2015-10-10 Thread Peter Uhnák
Collection>>ifNotEmpty: comment says "If the block has an argument, eval with the receiver as its argument, but it might be better to use ifNotEmptyDo: to make the code easier to understand" yet when I do that, Code Critic complains: ifNotEmptyDo: should not be used as ifNotEmpty: works for block

Re: [Pharo-users] ifNotEmpty(Do):

2015-10-11 Thread Peter Uhnák
On Sun, Oct 11, 2015 at 1:11 PM, monty wrote: > Not only isn't it easier to understand, it's harder. With collections > "do:" normally means enumeration (do:, allButLastDo:, reverseDo:), but > ifNotEmptyDo: doesn't enumerate the receiver. > But in Morphic/Spec/Bloc #widgetDo: is used very common

Re: [Pharo-users] [ANN] Windows support for GitFileTree

2015-10-13 Thread Peter Uhnák
On Tue, Oct 13, 2015 at 8:11 AM, Thierry Goubier wrote: > Hi Hernàn, > > I'm not familiar with the use of ssh-agent. Could it interfere with > someone using his own keys (i.e. without ssh-agent)? Would this be > necessary for linux or mac use of ssh-agent, or is ssh / git correctly done > on thos

Re: [Pharo-users] [ANN] Windows support for GitFileTree

2015-10-13 Thread Peter Uhnák
On Tue, Oct 13, 2015 at 9:36 AM, Thierry Goubier wrote: > > > 2015-10-13 9:29 GMT+02:00 Peter Uhnák : > >> On Tue, Oct 13, 2015 at 8:11 AM, Thierry Goubier < >> thierry.goub...@gmail.com> wrote: >> >>> Hi Hernàn, >>> >>> I&#x

[Pharo-users] CiteZen and Pharo 5 / Pharo4 tests

2015-10-16 Thread Peter Uhnák
Hi, I wanted to use CiteZen, but there's no Pharo 5 version (wouldn't even load), so I tried Pharo 4 instead but the tests are not passing: all CZBibTest fail on MessageNotUnderstood: Metaclass>>allMethodsInCategory: is this known problem? Do I need to use a very specific build of Pharo 4? Than

Re: [Pharo-users] CiteZen and Pharo 5 / Pharo4 tests

2015-10-17 Thread Peter Uhnák
On Fri, Oct 16, 2015 at 6:50 PM, Stephan Eggermont wrote: > On 16-10-15 13:17, Peter Uhnák wrote: > >> Hi, >> >> I wanted to use CiteZen, but there's no Pharo 5 version (wouldn't even >> load), >> >> so I tried Pharo 4 instead but

Re: [Pharo-users] Thanks for Pharo

2015-10-17 Thread Peter Uhnák
On Sat, Oct 17, 2015 at 3:35 PM, Hilaire wrote: > Le 17/10/2015 00:14, Jimmie Houchin a écrit : > > Sometimes conversations revolve around perceived deficiencies in > > Pharo. What Pharo is missing. Or what Pharo doesn't do as well as my > > previous language, my favorite language, my other langu

Re: [Pharo-users] Feedback on #assert: vs. #assert:equals:

2015-10-22 Thread Peter Uhnák
This is why I pretty much stopped using #assert: altogether, however note that sometimes it is better to avoid boolean completely, because the feedback of it is low Imagine: self assert: collection isEmpty versus self assert: collection size equals: 0 versus self assert: collection asArray eq

[Pharo-users] #collect:as:Dictionary

2015-10-22 Thread Peter Uhnák
Hi, is this intentional behavior? #(a b c) collect: [ :each | each -> each first asciiValue ] as: Dictionary. "a Dictionary(1->#a->97 2->#b->98 3->#c->99 )" (#(a b c) collect: [ :each | each -> each first asciiValue ]) asDictionary. "a Dictionary(#a->97 #b->98 #c->99 )" I would expect that coll

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Peter Uhnák
It's also possible that it is simply bugged. PackageRemotesManager doesn't use TreeModel, it uses different widget (whose API looks cleaner). I'll try to look at this tomorrow (unless someone else beats me to it) how this could be done (and maybe even take a stab at cleaning the API a bit...). P

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Peter Uhnák
> > Waiting for the FT-based rewrite is the thing to do. If by waiting you mean doing FT-based rewrite, then sure. :) Unless Cyril is going to do the rewrite himself. P

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-24 Thread Peter Uhnák
> > > Unless Cyril is going to do the rewrite himself. > Wasn't that the plan? I'm confused :) Oh? I do not remember anyone mentioning on the mailing list that someone will change Spec to use FT. Or was this from some internal discussion at Inria/Synectique? Peter

Re: [Pharo-users] #collect:as:Dictionary

2015-10-24 Thread Peter Uhnák
wrote: > > > 2015-10-23 8:33 GMT+02:00 Marcus Denker : > >> >> > On 23 Oct 2015, at 07:12, Peter Uhnák wrote: >> > >> > Hi, >> > >> > is this intentional behavior? >> > >> > #(a b c) collect: [ :each | each -> e

Re: [Pharo-users] TestAsserter>>assertCollection:hasSameElements:

2015-10-24 Thread Peter Uhnák
bump? :) On Tue, Sep 29, 2015 at 12:57 AM, Peter Uhnák wrote: > How practical it is to do set-based comparison > in TestAsserter>>assertCollection:hasSameElements: ? > > For example #(1 1 2) has same elements as #(1 2) which may make sense for > sets, but not for bags. >

[Pharo-users] fast subclassing/class creation in tests

2015-10-24 Thread Peter Uhnák
Hi, is it possible to do fast, non-system wide class subclassing in tests? Currently I would do something like ~ MyTest>>testSomething cls := SomeParent subclass: #Something. "... do some tests ..." cls removeFromSystem

Re: [Pharo-users] [Pharo-dev] TestAsserter>>assertCollection:hasSameElements:

2015-10-25 Thread Peter Uhnák
> > > assert:equals: it's just more typing than #= with no additional outcome > I also disagree, but that may be also because maybe we write tests for different purpse. If you write tests just to test your code, then whatever... I don't do that so I can't comment on that. However if you do TDD,

Re: [Pharo-users] A stopwatch tool with calendar support

2015-10-25 Thread Peter Uhnák
I use regular Spreadsheet for this... although my problem is that if I quickly switch between tasks or if I drown in some big problem I forget to update it... But having it in pharo would be interesting. P On Sun, Oct 25, 2015 at 12:33 PM, Dimitris Chloupis wrote: > So my story goes a bit like

Re: [Pharo-users] How to store an image file as a method source

2015-10-26 Thread Peter Uhnák
I use IconFactory (which I wrote for this purpose) ( http://smalltalkhub.com/#!/~peteruhnak/IconFactory or Catalog Browser ), it works in the same way as Pharo icons (base64 representation of the image which is then converted to a Form object). Catalog browser offers also ExternalIconFamily but I

Re: [Pharo-users] fast subclassing/class creation in tests

2015-10-26 Thread Peter Uhnák
1'. ] ] bench. "'2063 per second'" ~~ Peter On Sun, Oct 25, 2015 at 12:29 AM, Robert Withers wrote: > Extend Pharo byte codes to support Newspeak namespaces. #justsayin > > --- > robert > > On Oct 24, 2015, at 6:22 PM

Re: [Pharo-users] TestAsserter>>assertCollection:hasSameElements:

2015-10-26 Thread Peter Uhnák
On Mon, Oct 26, 2015 at 8:27 AM, jtuc...@objektfabrik.de < jtuc...@objektfabrik.de> wrote: > Am 25.10.15 um 16:33 schrieb Peter Uhnák: > > > assert:equals: it's just more typing than #= with no additional outcome >> > > I also disagree, but that may be al

Re: [Pharo-users] What is your preferred way for storing ByteArray's as text?

2015-10-29 Thread Peter Uhnák
> > >>> Option A) The printString of ByteArray, it is #[23 12 253 ...] >>> Option B) A Base64 encoded version of the ByteArray > I like this one, because it is not Pharo-specific format. ByteArray is not pharo-specific, but the syntax is --- I can copy paste base64 from/to outside world. Plus bas

Re: [Pharo-users] fast subclassing/class creation in tests

2015-10-29 Thread Peter Uhnák
> > yes, I already felt that test runs involving unlogged code generation is > very slow… can you add an entry on the issue tracker? > I can, but I am not sure for what. :) a) speed up regular class operations (class creation, removal, compilation) b) speed up unlogged class ops c) modify code ge

[Pharo-users] Change multiple inspector tabs at once

2015-11-02 Thread Peter Uhnák
Is it possible/planned to change multiple GTInspector tabs at once? For example: ​ I would like to click on the next item in the leftmost pane, but keep the middle and right panes opened, just update the data to reflect the newly selected item. I imagine there could be a "pin" button on each tab

Re: [Pharo-users] Change multiple inspector tabs at once

2015-11-02 Thread Peter Uhnák
Ignore that... I can just #collect: :) Peter On Mon, Nov 2, 2015 at 11:06 PM, Peter Uhnák wrote: > Is it possible/planned to change multiple GTInspector tabs at once? > > For example: > > ​ > I would like to click on the next item in the leftmost pane, but keep the > m

Re: [Pharo-users] Roassal and custom morphs

2015-11-10 Thread Peter Uhnák
On Tue, Nov 10, 2015 at 9:56 PM, Dimitris Chloupis wrote: > Am I correct to assume that I can easily embed Roassal visualizations > inside morphs ? Also where is the official documentation ? is this still it > ? > > http://agilevisualization.com/#book > Yes. Roassal itself is embedded inside a

[Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Peter Uhnák
Hi, currently to open a Playground via shortcut one has to type +o+w, that's because it used to open Workspace. However since it now opens Playground the shortcut is no longer appropriate. So can we change it to +o+p? (This shortcut is currently occupied by Monticello Browser, but that can be mov

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Peter Uhnák
On Wed, Nov 11, 2015 at 11:46 AM, Tudor Girba wrote: > I actually think we should disable those shortcuts. > > The reason is that they “pollute" the global shortcut space: Well they are global shortcuts, so that's to be expected. > for example, you can now not use Cmd+o for any custom action i

Re: [Pharo-users] EPUB anyone

2015-11-13 Thread Peter Uhnák
For the same reason why Pillar supports export to LaTeX, HTML and Markdown...why not just one and use pandoc to convert it to everything? Because control and customizations. (And that's not even mentioning that some of the powers of Pharo stems from it's self-centeredness.) There's open issue for

[Pharo-users] typers in Pharo

2015-11-15 Thread Peter Uhnák
Hi, apparently neither RoelTyper nor RefactoryTyper is capable of doing elementary type inference for methods, such as [[[ cls := Object subclass: #Something. cls compile: 'method ^ 1'. typer := RBRefactoryTyper new. typer guessTypeFromAssignment: (Something>>#method) ast body "Object " all := (T

[Pharo-users] RewriteTool not working in latest Pharo

2015-11-17 Thread Peter Uhnák
Hi, RewriteTool is not working in latest pharo, complaining about #MNU CheckboxMorph>>hShrinkWrap when opening RewriteRuleBrowser, and #MNU LabelMorph>>hShrinkWrap for RewriteRuleBuilder. I am not familiar with Morphic enough and I don't know why the morphs are accessed directly from Spec to fix

Re: [Pharo-users] RewriteTool not working in latest Pharo

2015-11-17 Thread Peter Uhnák
ark Rizun : > >> Hi Peter! >> >> In any case if you just remove #hShrinkWrap message sends from >> #initializeWidgets, it will only change UI a bit, you will be able to work >> with tool. >> But soon I'll fix it. >> Thanks for reporting :) >&g

Re: [Pharo-users] RewriteTool not working in latest Pharo

2015-11-17 Thread Peter Uhnák
On Tue, Nov 17, 2015 at 1:25 PM, Thierry Goubier wrote: > > > 2015-11-17 13:20 GMT+01:00 Peter Uhnák : > >> Thanks! >> >> One more question though: is it possible to somehow reference the >> method's name? >> >> For example I would like to rew

[Pharo-users] editable droplist

2015-11-18 Thread Peter Uhnák
Hi, do we have an editable droplist control? Something like html5 datalist https://developer.mozilla.org/en/docs/Web/HTML/Element/datalist where you can both select from a list of predefined values, or specify your own. Peter

Re: [Pharo-users] editable droplist

2015-11-18 Thread Peter Uhnák
On Thu, Nov 19, 2015 at 12:38 AM, webwarrior wrote: > EditableDropListMorph. > I'm blind like a bat... thanks! > Although it doesn't show suggested options when you type in the field like > you would expect from this type of control. > That's fine, I don't need that. Peter

Re: [Pharo-users] graph library in Pharo

2015-11-29 Thread Peter Uhnák
I need at least (mixed/upward)-planarity testing, embedding, spanning tree, flow, assignment, ... I've seen the Moose-Algos, but from what I need it contains only Kruskal (spanning tree). So ideally I would like to just load a project instead having to implement them all by myself, because most o

Re: [Pharo-users] [Moose-dev] Re: graph library in Pharo

2015-11-30 Thread Peter Uhnák
to continue on that front. This is very important. > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > On Nov 29, 2015, at 9:42 PM, Peter Uhnák wrot

Re: [Pharo-users] [Moose-dev] graph library in Pharo

2015-11-30 Thread Peter Uhnák
> With Guillaume Larcheveque, we tried to implement in Pharo the graph > algorithm implemented in Graphiz. Do you have some WIP code? Maybe I could salvage something? > Would you consider implementing it as part of the Moose-Algos project I will make it a separate project for now, but I can mov

Re: [Pharo-users] [IMPORTANT] Starting migration to Spur VM

2015-12-17 Thread Peter Uhnák
Johan, what error are you getting? Because that script is downloading latest image and vm, which is already spur, so the CI should keep working without any changes. At least my CI job (at pharo-contrib) corrently launches the new image with new vm. Peter On Thu, Dec 17, 2015 at 4:26 PM, Cyril F

Re: [Pharo-users] [IMPORTANT] Starting migration to Spur VM

2015-12-17 Thread Peter Uhnák
RL of the job: > https://ci.inria.fr/pharo-contribution/job/LiveRobotProgramming/ ) > >> On Dec 17, 2015, at 13:20, Peter Uhnák wrote: >> >> Johan, >> >> what error are you getting? >> Because that script is downloading latest image and vm, which is &

Re: [Pharo-users] [IMPORTANT] Starting migration to Spur VM

2015-12-17 Thread Peter Uhnák
> What about jobs that also target older Pharo images? > Duplicate the job? Do you use multiproject? Because there you can setup a build matrix.

Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-04 Thread Peter Uhnák
a) Spec ~~~ tm := TextModel new. tm autoAccept: true. "otherwise you would have to pres ctrl+s to 'save' the result in memory" tm openWithSpec. "this will open text window "and then you can do" tm text. "retrieve current text from the TextModel (returns an instance of Text)" tm text: 'new

Re: [Pharo-users] Interogation about recursivity or sequential

2016-01-04 Thread Peter Uhnák
Wouldn't it be better to improve the current (Double)LinkedList instead of creating new ones? DLL had some improvements recently and I am not aware that it's missing something. On Mon, Jan 4, 2016 at 10:34 PM, Sven Van Caekenberghe wrote: > Hi Yann, > > > On 04 Jan 2016, at 22:11, Yann Dubois w

Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-05 Thread Peter Uhnák
> Out of curiosity, is it possible to access any other data on the clipboard. At least for linux this is most likely not possible, as the underlying VM code requests unicode string (that's what I remember when I was debugging it about a year ago). In X11 clipboard, the client must explicitly reque

Re: [Pharo-users] [Moose-dev] gtdebugger - icons with text and a couple of others

2016-01-11 Thread Peter Uhnák
On Sun, Jan 10, 2016 at 11:48 PM, Tudor Girba wrote: > Hi, > > Andrei and I took your feedback into account, and now we have this in the > last version: > - actions have text (this is a feature introduced in Glamour now) > Excellent! No mouse mouse hovering and hand-written guides. :) One more

Re: [Pharo-users] Fogbuz issues

2016-01-18 Thread Peter Uhnák
* you can easily review configuration of all filters and their exact meaning here https://pharo.fogbugz.com/default.asp?pg=pgManageFilters * FogzBugz offers a rich ad-hoc filtering capability, so if you wan't something specific, it's easy to get. * any complex tool will be usually confusing to newc

Re: [Pharo-users] how to add a class via programatic refactoring

2016-02-09 Thread Peter Uhnák
What's the practical difference between calling ``` (RBAddClassRefactoring addClass: #SomeClass superclass: #Object subclasses: {} category: #Category) primitiveExecute; changes. ``` and ``` Object subclass: #SomeClass instanceVariabl

[Pharo-users] state of pharo on tablets

2016-02-10 Thread Peter Uhnák
Hi, does anyone knows what is the current state of Pharo on tablets / state of touchscreen? I'm considering buying a new tablet and I would like to play with Pharo there, if that is currently possible (I've seen some videos, but I am not sure if that was special hardware or whatnot). So are tabl

[Pharo-users] syntax highlighting / editing STON files

2016-02-12 Thread Peter Uhnák
Hi, is there syntax highlighting/validation for STON files? I'm currently editing STON file like this one https://github.com/hpi-swa/smalltalkCI#minimal-smalltalkston-template and obviously I would prefer if I knew that I forgot comma/typo/whatever when editing the file and not when the CI build

Re: [Pharo-users] Getting whether specific key is currently pressed

2016-02-13 Thread Peter Uhnák
Mouse and keyboard events are usually captured by TRMorph and then converted into Roassal events, so check there. Peter On Sat, Feb 13, 2016 at 4:06 PM, Jan Blizničenko wrote: > Hello > > I would like to ask whether is there any way to directly find out if > specific key (shift in my case) is c

[Pharo-users] Monticello reverse project dependency

2016-02-13 Thread Peter Uhnák
Hi, I have the following situation: I have ProjectMain, and ProjectPlugin, now normally the Plugin depends on Main, however I would like to load Plugin as part of Main. The problem is that I can't specify to load Plugin after Main has been already fully loaded, if I do something like this Basel

Re: [Pharo-users] Metacello reverse project dependency

2016-02-16 Thread Peter Uhnák
ellos #includes: method? > from https://code.google.com/archive/p/metacello/wikis/APIReference.wiki : > "When 'Example-AddOn' is loaded, load 'Example-UI'" > includes: #('Example-UI' ); > werner > > On 02/13/2016 11:26 PM, Peter

Re: [Pharo-users] Metacello reverse project dependency

2016-02-16 Thread Peter Uhnák
1st example, are you sure, that the > new baselines of ex2 are loaded? > werner > > > On 02/16/2016 09:33 AM, Peter Uhnák wrote: > >> Unfortunately #includes: doesn't seem to matter and I still get errors. >> >> I tried to somehow summarize my findings with minimal code & results >> here http://peteruhnak.com/metacello/ >> >> >

[Pharo-users] Getting error reason on command line

2016-02-17 Thread Peter Uhnák
Hi, is it possible to get error description on stdout similarly to warning? ​ Currently only the return value is changed but no output is produced. Thanks, Peter

[Pharo-users] cleaning up Pharo images

2016-02-18 Thread Peter Uhnák
Hi, is there a way to minimize/clean up Pharo image/changes files after an application has been installed into it? Currently I have the base image sitting at 65MB and changes at 36MB, which is massive considering only source code was added. I've tried running 'Smalltalk cleanUp: true', which I c

Re: [Pharo-users] Line end convention in method source

2016-02-19 Thread Peter Uhnák
Or be platform-independent and store it in an array, and retrieve on demand? MyStorage>>strings ^ #('string1' 'string2' 'string3' ...) MyStorage>>stringsSeparated ^ self stringsSeparatedBy: String lf MyStorage>>stringsSeparatedBy: aSeparator ^ self string joinUsing: aSeparator On F

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2016-02-19 Thread Peter Uhnák
On Fri, Feb 19, 2016 at 5:38 PM, stepharo wrote: > I still do not get why a tool like spotter does not focus first one > working on the key scenarios we all want: > - sender > - implementor > - open a class > - class refs > > Because this is what we do 95% of the time. > Spotter

Re: [Pharo-users] [Pharo-dev] Who is using Pharo Launcher and for what

2016-02-20 Thread Peter Uhnák
Hi, I use it as primary go-to for organizing my images (although for some images created by the launcher I have direct shortcuts in PATH); Apart from downloading latest Pharo I also use the Jenkins Templates to download Moose builds. On Sat, Feb 20, 2016 at 11:49 AM, Damien Cassou wrote: > For

[Pharo-users] embedding images inside Playground

2016-02-20 Thread Peter Uhnák
Hi, is it possible to somehow embed images (Form) inside Playground? The use case is a kind of in-image help or guide where one could also execute code, but there would be also example images. Or maybe have a container Morph that would contain Playground? Is that possible? Thanks, Peter

Re: [Pharo-users] embedding images inside Playground

2016-02-20 Thread Peter Uhnák
On Sun, Feb 21, 2016 at 12:15 AM, Tudor Girba wrote: > Hi, > > > > On Feb 21, 2016, at 12:06 AM, Peter Uhnák wrote: > > > > Hi, > > > > is it possible to somehow embed images (Form) inside Playground? > > > > The use case is a kind of in-imag

Re: [Pharo-users] [Moose-dev] Re: Call for action for Roassal

2016-02-24 Thread Peter Uhnák
On Wed, Feb 24, 2016 at 10:28 AM, Anne Etien wrote: > Hi Alexandre, > > In a wonderful world, I would like: > - a real graph layout (like in graphviz) that can take into account around > hundred nodes and several hundred of edges and place the nodes in order to > see something. Currently, I have

Re: [Pharo-users] [Moose-dev] Re: Call for action for Roassal

2016-02-24 Thread Peter Uhnák
On Wed, Feb 24, 2016 at 11:03 AM, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote: > Excerpts from Peter Uhnák's message of 2016-02-24 10:35:05 +0100: > > In any case, I wrote a simpler layout delegator in Roassal that delegates > > the layouting to graphviz and it works reasonably well, so

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-25 Thread Peter Uhnák
> > Maybe this should be documented in the class comment of > TextInputFieldModel? > This is a feature of AbstractWidgetModel, so it applies to all widgets (buttons, texts, selects, ...). Peter

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-25 Thread Peter Uhnák
> holding not-editable multi-line text I have to use > > TextInputFieldModel and use #enabled: message... > > But maybe there is already documentation about that? > > Julien > > > > On 25/02/16 09:58, Peter Uhnák wrote: > >> Maybe this should be documented i

Re: [Pharo-users] Pb with the CI @ INRIA?

2016-02-26 Thread Peter Uhnák
Hi Chris, for example https://ci.inria.fr/moose/job/roassal2/2253/testReport/junit/Roassal2GT-Test/xml/_failed_to_read_/ On Fri, Feb 26, 2016 at 2:47 PM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > Hi Alex, > > Could you provide the link to the job providing this output? > > Le 26

[Pharo-users] Library for shell interfacing on Mac

2016-02-29 Thread Peter Uhnák
Hi, what is the recommended way to execute shell commands on Mac from Pharo? Apparently NBMacShell is not supported anymore. Thanks, Peter

[Pharo-users] missing project from Pharo Catalog Browser

2016-03-01 Thread Peter Uhnák
Hi, I've noticed that my IconFactory is missing in both Catalog Browser and http://catalog.pharo.org/ Yet I can clearly see it in MetaRepoForPharo50, and the following also works (loaded from MetaRepo) Metacello new configuration: 'IconFactory'; smalltalkhubUser: 'Pharo' project: 'MetaRepoForPh

[Pharo-users] Pharo Contributors & Consultants

2016-03-02 Thread Peter Uhnák
Hi all, we are currently updating the pages for Pharo Contributors and Consultants. https://consultants.pharo.org/ and https://contributors.pharo.org/ if you want to add or update your record (info, mail, image, ...), you can do so by sending us a pull request on GitHub in the appropriate reposi

[Pharo-users] CollectionValueHolder ValueAdded ValueRemoved

2016-03-03 Thread Peter Uhnák
This is something that was discussed some time ago but never resolved. To summarize: When working with CollectionValueHolder one can only see whether the collection as a whole changed and not how, e.g. ~~ col := OrderedCollection new asValueHolder.

[Pharo-users] PharoLauncher eventual slowdown

2016-03-03 Thread Peter Uhnák
Hi, I've been using Pharo Launcher for quite a while and problem that I am constantly encountering is that launching of it becomes slower and slower. Up until now I've solved it by writing a bash script that downloads the launcher fresh and reconfigures it. And then I've executed the script about

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Peter Uhnák
Yeah I saw that when he was in Prague (incidentally that's where my launcher slowdown started :)). I've removed write access and will report back in couple of days. :) Thanks, Peter On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou wrote: > Hi Peter, > > Peter Uhnák writes:

Re: [Pharo-users] Nautilus code panel unsynchronized with 4.0

2016-03-04 Thread Peter Uhnák
Indeed, there's an old issue for that https://pharo.fogbugz.com/f/cases/13111/Browser-with-no-method-selected-does-not-follow-changes On Fri, Mar 4, 2016 at 3:56 PM, Hilaire wrote: > Hello, > > I noted, twice since yesterday, Nautilus can have code panel contents > unsynchronized between two ins

[Pharo-users] Rubric docs

2016-03-04 Thread Peter Uhnák
Hi, the (new) code box in Nautilus has some visual cool stuff: ​ my question is: is this documented somewhere? Can I mold it for my own purposes? Peter

<    1   2   3   4   5   6   7   8   >