Re: [Pharo-users] Spotlight Demo

2013-12-31 Thread Nicolai Hess
What is this "New-Pharo-IDE"? 2013/12/30 Benjamin > Cool :P > > Did you had a look at: > https://ci.inria.fr/pharo-contribution/job/New-Pharo-IDE/ > There is also a Spotlight thingy there :) > > Ben > > On 30 Dec 2013, at 15:23, Sean DeNigris wrote: > > I needed an entry completion with group

Re: [Pharo-users] Submorph centering

2014-01-07 Thread Nicolai Hess
wrapCentering: #center; instead of cellPositioning:#center; I don't understand anything of this Morphic Layout stuff. This is just what have seen in MenuMorph code Nicolai 2014/1/7 Sean P. DeNigris > labelMorph := Morph new. > > "labelCenteringMorph := Morph new > beTransparent; >

Re: [Pharo-users] Pharo 3 beta impressions : SystemBrowser on first visit to new install

2014-01-10 Thread Nicolai Hess
2014/1/10 Robert Shiplett > 1) on first open after install on Windows, the SystemBrowser shows a list > of class names in LastModified classes - but I have modified no classes in > this image > This list is from Recent Messages List (World Menu / Tools / Recent Messages). Not only your changes.

Re: [Pharo-users] Relative path

2014-01-17 Thread Nicolai Hess
Dr. Geo http://drgeo.eu > > > hi, you can create a relative path with Path class>>* p:=Path * 'fruits' / 'apples.png'. If you want to create an absolute path or the full filename you need a FileReference for that directory and call #resolve: (for example wit hth current directory) FileSystem workingDirectory resolve:p regards Nicolai Hess

Re: [Pharo-users] Nautilus error

2014-02-03 Thread Nicolai Hess
which pharo version? Yes, in Pharo2 this does not work anymore. And in Pharo3 there is not even a HierarchyBrowser anymore. In both versions, you can - use Nautilus to browse the class and select the "Hierarchy"-Button or - SystemNavigation default browseHierarchy:Boolean or - Boolean browseHier

Re: [Pharo-users] Which one should I download?

2014-02-26 Thread Nicolai Hess
I tried a fresh Pharo-30782.image but I can not reproduce this errors. I am on a Windows 7 machine. When I am at home I can try to run this image on an older Windows XP machine. 2014-02-26 11:07 GMT+01:00 Robert Shiplett : > I did a fresh 3.0 install when I got the latest walkback ... I had

Re: [Pharo-users] Multiple Browsers

2014-02-27 Thread Nicolai Hess
This is unexpected ! Open two browsers on the same class with opened comment pane. changing the comment in one class updates the text in the other. changing the super class, or the instance variables does *not* update the other browser. I was sure this works for all changes. 2014-02-27 20:56

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-16 Thread Nicolai Hess
Rounding error? This may be the reason, igor's version is working with cos = (a dot b)^2 / (|ab|^2) while you are using cos = (a dot b) / |ab| 2014-03-16 17:01 GMT+01:00 MartinW : > Hello, > i probably made some embarassing mistake, but as i cannot find it, i ask > you > to have a look at th

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-17 Thread Nicolai Hess
This was of course wrong, I don't know what the other method computes, but not the angle between two vectors. Now the question is, why do you think your method is wrong / the boids behave wrong? 2014-03-16 18:41 GMT+01:00 Nicolai Hess : > Rounding error? > > This may be the

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-17 Thread Nicolai Hess
till 1@0. 2014-03-17 10:07 GMT+01:00 Nicolai Hess : > This was of course wrong, I don't know what the > other method computes, but not the angle between two vectors. > > Now the question is, why do you think your method is wrong / the boids > behave wrong? > >

Re: [Pharo-users] What's wrong whith this code?

2014-03-19 Thread Nicolai Hess
2014-03-19 8:17 GMT+01:00 Friedrich Dominicus : > Bernat Romagosa writes: > > > ouch, I added a . in the middle, sorry! > > > > elements := #('eins' 'zwei' 'drei' 'vier'). > > elements > > do: [ :element | (Delay forSeconds: 2) wait ] > > displayingProgress: [ :element | 'Working on', element asS

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-19 Thread Nicolai Hess
2014-03-19 8:49 GMT+01:00 MartinW : > Nicolai Hess wrote > > This was of course wrong, I don't know what the > > other method computes, but not the angle between two vectors. > > Yes i also wrote a test and i think my method is right. > > > Nicolai Hess wrote

Re: [Pharo-users] What's wrong with this code?

2014-03-19 Thread Nicolai Hess
I think the ProgressNotification was only used in older pharo version (like 1.4, where this displayProgress: ... with progress title worked) 2014-03-19 16:46 GMT+01:00 Ben Coman : > Friedrich Dominicus wrote: > > Bernat Romagosa > writes: > > > > ouch, I added a . in the middle, sorry! > >

Re: [Pharo-users] question about primitives

2014-03-23 Thread Nicolai Hess
There was an issue for pharo 1.3 http://code.google.com/p/pharo/issues/detail?id=3701 but it looks like it never found its way into any pharo version. 2014-03-23 18:45 GMT+01:00 Sven Van Caekenberghe : > I think this is an oversight, but I know nothing about that plugin or its > history. So th

Re: [Pharo-users] example does not work

2014-03-29 Thread Nicolai Hess
2014-03-29 16:36 GMT+01:00 p...@highoctane.be : > Get the morph examples in the pharoextras smalltallhub repo. > > Some please point the correct location as I am on a mobe. > http://smalltalkhub.com/#!/~PharoExtras/MorphExamplesAndDemos Install with: Gofer new url:'http://smalltalkhub.com/mc/

Re: [Pharo-users] lasergame question

2014-04-01 Thread Nicolai Hess
Hi Roelof 2014-04-01 14:52 GMT+02:00 Roelof Wobben : > Hello, > > Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html > > I do not understand one thing. > > Where do I put the initialize "script" > What do you mean with "script", the method? > > When I put it on the initia

Re: [Pharo-users] lasergame question

2014-04-01 Thread Nicolai Hess
2014-04-01 16:21 GMT+02:00 Roelof Wobben : > Camille Teruel schreef op 1-4-2014 15:08: > > On 1 avr. 2014, at 14:52, Roelof Wobben wrote: >> >> Hello, >>> >> Hello, >> >> Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html >>> >>> I do not understand one thing. >>> >>> Wher

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Nicolai Hess
2014-04-02 13:21 GMT+02:00 Roelof Wobben : > Hello, > > On the first part I have to make a class named BlankCell which is a > subclass of TestCase. > So far no problem. > No, firstly, all cells are just subclasses of Object ( http://squeak.preeminent.org/tut2007/html/015.html). And in step http:

Re: [Pharo-users] leansleft problem

2014-04-02 Thread Nicolai Hess
2014-04-02 16:40 GMT+02:00 Roelof Wobben : > If I understood everything well on page 26 my Cell initialize must look > like this: > > initialize > super initialize. > self initializeActiveSegments. > self initializeExitSides. > self leanleft. > > The Blankcell initialize must look

Re: [Pharo-users] Use of FileDialogWindow : getting the result

2014-04-07 Thread Nicolai Hess
2014-04-07 17:58 GMT+02:00 Thomas Bany : > Okey so I only needed to select a directory and needed to shrink the size > of the widget anyway. So I opted for the sublass solution, got rid of the > file pane and added an action block on the #ok method. > > > 2014-04-07 16:12 GMT+02:00 Thomas Bany : >

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-05 Thread Nicolai Hess
2014-05-05 19:13 GMT+02:00 Ben Coman : > > Thanks. That info made it much easier to try. Sorry I didn't end up with > an answer for you, but I confirm there is some issue here, or something new > I can learn when other chip in. > > Here is what I tried. > > * Installed XMLParser (monty.58) from C

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-06 Thread Nicolai Hess
2014-05-06 1:17 GMT+02:00 Carlo : > Hi > > The problem seems to be due to the use of an internal collection class of > OrderedCollection which has restrictions on use of #at:put:. This means > that certain methods will have to delegate to the internal collection class > to be ’safe’; in this scena

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-06 Thread Nicolai Hess
2014-05-06 17:49 GMT+02:00 : > Nicolai Hess wrote: > > > > > 2014-05-06 1:17 GMT+02:00 Carlo : > >> Hi >> >> The problem seems to be due to the use of an internal collection class >> of OrderedCollection which has restrictions on use of #at:put:. Th

Re: [Pharo-users] Minimal browser

2014-05-15 Thread Nicolai Hess
With Spec, it is really easy to make some simple widgets: "you have a class and a method?" class:=Morph. method:=class>>#openInWorld. "want some textmorp?" code := TextModel new. code text:method sourceCode. "with styling?" code aboutToStyle:true. "in context of the class" code behavior:class. "do

Re: [Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-17 Thread Nicolai Hess
2014-06-13 15:38 GMT+02:00 Thushar G R : > Can anyone confirm this > > 1) Open fresh Pharo3 image in Windows. > 2) Go to *TextEditor>> buildTextEditorShortcutsOn:* > 3) Change the last line from > > *(aBuilder shortcut: #cursorEnd)* > * category: #TextEditor* > * default: Character end ctrl

Re: [Pharo-users] [ANN] DrGeo 14.07 "Athens landing"

2014-06-18 Thread Nicolai Hess
2014-06-18 21:17 GMT+02:00 Hilaire Fernandes : > Hello, > > Finally, somethings I can share with you, not exactly the final one but > something one can play with: > https://dl.dropboxusercontent.com/u/21633199/DrGeo.app-14.07a.zip > > Please Mac OS X users, test the DrGeo.app installation, it may

Re: [Pharo-users] Athens and ellipse drawing

2014-06-22 Thread Nicolai Hess
in (pure) cairo it is possible to stroke a path, after restoring the current state/transformation: cairo_set_line_width (cr, 0.1); cairo_save (cr); cairo_scale (cr, 0.5, 1); cairo_arc (cr, 0.5, 0.5, 0.40, 0, 2 * M_PI); cairo_restore (cr); cairo_stroke (cr); So we can scale the circle arc to a

Re: [Pharo-users] Pharo by visualization: Adding a title to a Roassal map visualization

2014-06-24 Thread Nicolai Hess
2014-06-24 19:57 GMT+02:00 Offray Vladimir Luna Cárdenas : > Hi, > > First sorry for the crossposting I don't know where list is better to post > this question. > > I think that I have found my way to learning Pharo/Smalltalk and to keep > it relevant in my day to day life and is through visualiz

Re: [Pharo-users] Programming Puzzles & Code Golf: What color is this?

2014-06-25 Thread Nicolai Hess
2014-06-25 18:53 GMT+02:00 MartinW : > Hi, > i entered a Pharo version to this Code Golf contest: > http://codegolf.stackexchange.com/a/32535/26615 > > "Given three number values - being the Red, Green, and Blue elements of a > colour (eight bits per channel, 0 to 255) - your program must output t

Re: [Pharo-users] [Pharo-dev] spec question

2014-06-26 Thread Nicolai Hess
2014-06-26 23:13 GMT+02:00 Pablo R. Digonzelli : > > Hi all, two questions about Spec. > > 1) How can i change the font for a ListModel or TextModel? > > 2) I try , but nothing happend . I does not work but there is no error > also > > l := ListModel new. > l backgroundColorBlock: [ Color red ].

Re: [Pharo-users] Athens and ellipse drawing

2014-06-29 Thread Nicolai Hess
Igor, what do you think. Is it possible or should it be possible to draw a non-uniform scaled path with an unscaled (stroke-)paint? Nicolai 2014-06-25 21:35 GMT+02:00 Juraj Kubelka : > I have understood it is not possible. > > Cheers, > Juraj > > > > -- > View this message in context: > http:/

Re: [Pharo-users] functions keys

2014-06-30 Thread Nicolai Hess
Yes, no function keys. 2014-07-01 0:06 GMT+02:00 Pablo R. Digonzelli : > > After exploring the image I believe functions keys (F1,F2, etc ) are not > handling by KeyboardEvent class. > I think it is very common use that function keys in business applications. > Someone know if i am true about

Re: [Pharo-users] Fwd: drgeo on linux

2014-07-04 Thread Nicolai Hess
If the installation of libcairo2:i386 did work. Try to find the libcairo2 library and do ldd pathtolibcairolibrary this shows you on what other libraries this one depends on, and if they can be found or not. Nicolai 2014-07-03 22:26 GMT+02:00 Damien Cassou : > How old is the Debian installa

Re: [Pharo-users] drawing morphs with athens

2014-07-06 Thread Nicolai Hess
2014-07-06 9:54 GMT+02:00 stepharo : > Hi peter > > I hope that igor will see your mail now I will try to reply and this may > be a bit wrong :) > > > Hello, >> >> I'm currently working on drawing engine (à la Squeak Connectors) as a >> part of school project and have a couple of questions about

Re: [Pharo-users] SVG creation within pharo

2014-07-07 Thread Nicolai Hess
2014-07-07 14:59 GMT+02:00 Max Bareis : > Hi, > > is there a SVG-Canvas-API within Pharo? Is it possible to create and > manipulate SVG Graphics on object level? > > Regards > > Max > There is an SVG importer for Athens http://smalltalkhub.com/#!/~Pharo/Athens But it is unfinished As far as I k

Re: [Pharo-users] [Article] Elegant Pharo Code

2014-07-09 Thread Nicolai Hess
2014-07-09 16:13 GMT+02:00 Sven Van Caekenberghe : > Hi Hernán, > > On 09 Jul 2014, at 09:11, Hernán Morales Durand > wrote: > > > Hello Sven, > > > > I will try to give some feedback for you. > > It is good to talk about the contents, the essence. > > > My major issue is that the objects you use

Re: [Pharo-users] Should I be reporting bugs in Pharo 3.0?

2014-07-09 Thread Nicolai Hess
2014-07-09 21:48 GMT+02:00 Tim Mackinnon : > I've also noticed I keep getting re-prompted to enter my username when I > save > source (this is a very fresh image) - I think it may be because I've just > saved comments and class methods so far - but its prompted me several times > now for my name?

Re: [Pharo-users] Should I be reporting bugs in Pharo 3.0?

2014-07-09 Thread Nicolai Hess
2014-07-09 23:08 GMT+02:00 Tim Mackinnon : > Just to clarify - should I just submit for 4.0 and make a note that it > applies to 3.0 and then you guys can make a duplicate? > > Or should I make a duplicate? If its me - how do I duplicate a bug in > fogbugz - I can't see an option to do it (and wou

Re: [Pharo-users] Should I be reporting bugs in Pharo 3.0?

2014-07-10 Thread Nicolai Hess
2014-07-09 22:51 GMT+02:00 Tim Mackinnon : > OK - will do. > > I am finding that Nautilus in Pharo 3 is very flakey - its very easy to get > into a position where you cant select anything in the package or class pane > - and you just get walkbacks making it unusable. I'm surprised its not been > n

Re: [Pharo-users] How pragma works to create menu?

2014-07-10 Thread Nicolai Hess
2014-07-10 15:45 GMT+02:00 Mark Rizun : > In the NautilusRefactoring class we have a method on a class side: > > sourceCodeRefactoringMenu: aBuilder > > | target | > target := aBuilder model. > target selectedClass ifNotNil: [:selectedClass | selectedClass > source

Re: [Pharo-users] Should I be reporting bugs in Pharo 3.0?

2014-07-11 Thread Nicolai Hess
2014-07-11 12:15 GMT+02:00 Tim Mackinnon : > Nicolai - I have just seen that you have a fix for one of the Nautilus > issues > I raised (awesome). > > Forgive me - but I don't yet know how to load up a slice and test it (but > am > willing to learn, so I can perhaps help more in the future). > > I

Re: [Pharo-users] What should I do when I get a fogbugz "Fix review needed"?

2014-07-22 Thread Nicolai Hess
2014-07-22 17:10 GMT+02:00 Tim Mackinnon : > If I report a bug in fogbugz and it later gets fixed, I get an email with > the slice its fixed in. > > So I’ve loaded the slice into the latest image - then I’ve done “merge” > (I’m still not clear on whether I should do merge or load? I think I > unde

Re: [Pharo-users] New chapter of AgileVisualization

2014-08-01 Thread Nicolai Hess
2014-08-01 4:27 GMT+02:00 Alexandre Bergel : > Dear All, > > The chapter “QuickStart” is now online on http://agilevisualization.com > This chapter comes with some examples about using Roassal. > This looks so great, and very promising! nicolai > > It would really help us if some could read

Re: [Pharo-users] Updatable trees in Moose browsers (It was Re: Rephrasing my question on Stackoverflow ...)

2014-08-13 Thread Nicolai Hess
Hi Offray, some notes about your code: browser act: [:newNode | newNode := UbakyeNode header: 'nuevoNodo' body: ''. mainTree addNode: newNode.] this would change the block parameter "newNode",

Re: [Pharo-users] Updatable trees in Moose browsers (It was Re: Rephrasing my question on Stackoverflow ...)

2014-08-14 Thread Nicolai Hess
; >act: [:treePresentation | treePresentation selectionPath inspect ] > entitled: 'Inspect selection path' > > > Cheers, > Doru > > > > On Thu, Aug 14, 2014 at 1:32 AM, Nicolai Hess wrote: > >> Hi Offray, >> >> some notes

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Nicolai Hess
Don't use fontName: fontName size: fontSize as it only creates StrikeFont font, where the max size is 24 (I think). This works font := LogicalFont familyName: 'Open Sans' pointSize: 70. tMorph := StringMorph new. tMorph contents: 'Hello World'; font: font;

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-05 Thread Nicolai Hess
2014-09-05 8:43 GMT+02:00 p...@highoctane.be : > Yes there is that annoying thing with windows that set things bacl to > white. Why is that indeed? > > Phil > I can not reproduce this with this code: Morph new color:Color red; hResizing: #shrinkWrap; addMorph: ( 'Hello World' asM

Re: [Pharo-users] gtInspectorPresentation:, TreeModel, pragmas, visitors and polluting protocols

2015-06-18 Thread Nicolai Hess
2015-06-18 7:23 GMT+02:00 Peter Uhnák : > Hi, > > I would like to describe some additional behavior for objects when they > are interacting with another objects. > > The prime example is GTInspector; by default to add presentation you > implement a method with "gtInspectorPresentationOrder:". This

Re: [Pharo-users] gtInspectorPresentation:, TreeModel, pragmas, visitors and polluting protocols

2015-06-18 Thread Nicolai Hess
2015-06-18 8:37 GMT+02:00 Peter Uhnák : > The worry is caused by the fact that I do not want to pollute the > protocol; this is not just about GTInspector, but also about other classes > such as the TreeModel. > > So, imagine following hierarchy; there are some "base" classes and then > unlimited

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Nicolai Hess
2015-06-22 12:03 GMT+02:00 Peter Uhnák : > Hi, > > there was a long discussion about the meaning of example* methods and > pragmas, however I do not know what was the final resolution. > > Basically I am interested in two use-cases > > 1. executable example (the one where Nautilus shows nice play

Re: [Pharo-users] how to get all the send to super?

2015-06-28 Thread Nicolai Hess
2015-06-28 17:25 GMT+02:00 stepharo : > Hi > > I would like to study the use of super. > Any idea how I can query them? > > Stef > > | rule result | rule := CodeSearchingRule new matcher: (RBParseTreeSearcher new matches: 'super' do: [ :node :an

Re: [Pharo-users] [Ann] DragPanels: Floating palette windows with drag-and-drop in Morphic

2015-06-29 Thread Nicolai Hess
2015-06-29 10:26 GMT+02:00 Hannes Hirzel : > Thank you, Stephan, for providing a well worked out example continuing > where > Morphic tutorials normally end. This is a real need to unearth functions > which have been there fore years but mostly unused. > > The two video clips document the use case

Re: [Pharo-users] [Ann] DragPanels: Floating palette windows with drag-and-drop in Morphic

2015-06-29 Thread Nicolai Hess
2015-06-29 12:16 GMT+02:00 Stephan Eggermont : > On 29-06-15 10:26, Hannes Hirzel wrote: > >> Thank you, Stephan, for providing a well worked out example continuing >> where >> Morphic tutorials normally end. This is a real need to unearth functions >> which have been there fore years but mostly u

Re: [Pharo-users] [Ann] DragPanels: Floating palette windows with drag-and-drop in Morphic

2015-06-29 Thread Nicolai Hess
2015-06-29 14:52 GMT+02:00 H. Hirzel : > On 6/29/15, Nicolai Hess wrote: > > 2015-06-29 12:55 GMT+02:00 Peter Uhnák : > > > >> > >> > >> On Mon, Jun 29, 2015 at 12:16 PM, Stephan Eggermont > >> wrote: > >> > >>> On 2

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-29 Thread Nicolai Hess
2015-06-29 21:17 GMT+02:00 Volkert : > I am trying to load the old chess game from Squeak [1] into Pharo 4.0. > > The game depends on the class "UpdatingStringMorph", but this is not part > of Pharo. > > What happened to it? Was it renamed? > removed, but I don't know why: 11492

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-06-29 Thread Nicolai Hess
2015-06-30 3:17 GMT+02:00 Clément Bera : > What about "1 tinyBenchmarks" ? > > Just to know if the VM is slower as a whole or only compilation / source > access ? > most time is spend on primitives FilePrimitives are slow on windows. > > 2015-06-30 0:36 GMT+02:00 Jan Blizničenko : > >> And one

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-29 Thread Nicolai Hess
2015-06-29 20:10 GMT+02:00 Sean P. DeNigris : > Peter Uhnák wrote > > It seems that > > > > is then the go-to naming for now > > I agree with Ben that from a native English perspective, exemplar doesn't > quite sound right. > > Sample and Example are the two words that most clearly capture the i

Re: [Pharo-users] Pharo image processing library

2015-06-29 Thread Nicolai Hess
2015-06-25 18:41 GMT+02:00 Peter Uhnák : > Hi, > > is there any image (as in picture) processing library in the likes of > Python's PIL(http://effbot.org/imagingbook/image.htm), > > or even (highly unlikely) something like OpenCV (http://opencv.org/)? > Not that I know of. Juan Vuletich had a nic

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-06-30 Thread Nicolai Hess
2015-07-01 0:39 GMT+02:00 Mariano Martinez Peck : > Then the only thing I can think of is a vm primitive that is implemented > differently in linux/mac than windows vm... > Yes, the vm primitives, like I already told some messages above. FilePrimitives ARE slow on windows. We may get better perf

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-07-01 Thread Nicolai Hess
ourse *if* this solves the problem, we can not just disable call to flush in the image, but have to change the windows file plugin). > > > Nicolai Hess wrote > > Yes, the vm primitives, like I already told some messages above. > > FilePrimitives ARE slow on windows. >

Re: [Pharo-users] Slow compilation on one of my Windows PCs

2015-07-02 Thread Nicolai Hess
2015-07-02 19:01 GMT+02:00 Sven Van Caekenberghe : > #flush on a stream means pushing all data to the final destination, > clearing buffers, doing actual network transfers. > > What can happen when you disable that ? > > That some data does not arrive where it should I guess. > > Mind that #close

Re: [Pharo-users] Athens and radial gradient

2015-07-05 Thread Nicolai Hess
2015-06-18 14:49 GMT+02:00 Matthieu Lacaton : > Hello, > > I wanted to use Athens API to define a radial gradient and I saw that the > class RadialGradientPaint only had one radius as instance variable and it > seemed to me it was passed as the end radius while the start radius was set > to 0. > D

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread Nicolai Hess
2015-07-06 9:55 GMT+02:00 Matthieu Lacaton : > Hello, > > I would just like to report something that happened to me today. > > As I was working on a project, I tried inserting an instance variable to > one of my classes. > Starting from this moment something became very weird. First, some > subcla

Re: [Pharo-users] SubscriptOutOfBounds: 0 in blocks evaluating nil

2015-07-14 Thread Nicolai Hess
Hi Jose, 2015-07-14 8:59 GMT+02:00 Jose San Leandro : > Hi, > > I'm experiencing an issue when using whileFalse:, in Pharo 4. > > I've just looking for opened bugs in pharo.fogbugz.com but I don't see > any matching my problem, apparently. > > In the following example, I get a SubscriptOutOfBound

Re: [Pharo-users] Saving image sometimes corrupts it

2015-07-14 Thread Nicolai Hess
2015-07-14 11:38 GMT+02:00 Jan Blizničenko : > Hello > > I come with another probably-only-mine-windows-related problem which I am > unable to reproduce from a clean image. I use latest image 50170, latest > (9th July 2015) Windows VM, Windows 7 64bit. So there is my vague > description: > When I

Re: [Pharo-users] GL inspector, editing attribute

2015-07-16 Thread Nicolai Hess
If you want to change an attribute of a "subelement" in the tree - this does not work. only the attributes of the top/root node can be changed that way. As I understand the comments in this issue, this will not be changed. 14584 GTInspector: explore on

Re: [Pharo-users] [Pharo-dev] Seeking help on morphs : expander and scrolls

2015-07-17 Thread Nicolai Hess
what about "newTextEditorFor:" *dialog newRow: {* *(* * (* * dialog newExpander: r title asString* * forAll: { dialog newTextEditorFor: yourTextModel getText:#getTextSelector setText:#setTextSelector. }* * )minWidth:600; minHeight: 10* *)cellInset: 0;* * borderStyle: (BorderStyle inset ba

Re: [Pharo-users] Rectangle center rounding

2015-07-19 Thread Nicolai Hess
2015-07-18 10:25 GMT+02:00 Peter Uhnák : > The discussion was that Rectangle is used by Morphic which uses integer > coordinates so rounding is required. I think the idea was to split the two > classes? > > Peter > > On Sat, Jul 18, 2015 at 9:50 AM, Stephan Eggermont > wrote: > >> On 17/07/15 18:

Re: [Pharo-users] Class side vs instance side

2015-07-23 Thread Nicolai Hess
2015-07-23 14:33 GMT+02:00 Peter Uhnák : > Cache of the mapping is just an implementation detail. > > I was referring to the instance of the ==MyRectangle== object; > so I am more interested in this from outside perspective --- other objects > that will have to use the API... > > So whether I woul

Re: [Pharo-users] Glamour Oddness with Tabs and Tables

2015-07-28 Thread Nicolai Hess
This is a bit tricky if the entities have the same name (row column:'one'/'two' ... is called two times, for every row ('first'/'second')) This may work: |browser aCollection aDictionary| Transcript clear. aCollection := OrderedCollection new add: 'one'; add: 'two'; add: 'three'; add: 'four'; you

Re: [Pharo-users] Recoverying a crashed Moose image/Pharo5

2015-07-30 Thread Nicolai Hess
2015-07-30 8:10 GMT+02:00 Hilaire : > Hello, > > I have a Moose 6.0 image with several Playgrounds. > Since this morning, exactly when I want to make a demo[1], it crashes > immediately. I remember yesterday I got an error when saving, Pharo said > something like 'This error should not happen'. >

Re: [Pharo-users] VM Crash after adding ram

2015-07-30 Thread Nicolai Hess
Hm, I updated my Ubuntu 14.04 64 machine (just a normal update). Now I can not start any pharo vm. (not that one that from pharo launcher, no get.pharo.org/40 .. /50) ( they all were working some days ago). It crashes right after startup and not at the same call, the crash dumps show different stac

Re: [Pharo-users] VM Crash after adding ram

2015-08-01 Thread Nicolai Hess
Thanks for the info. Am 01.08.2015 2:03 vorm. schrieb "Ramon Leon" : > On 07/30/2015 11:43 AM, Esteban Lorenzano wrote: > >> Hi, >> >> did you try a fresh Pharo image (without loaded code)? ExternalObject and >> ExternalAddress are FFI so… problem*could* be there… no idea what can be >> happening

[Pharo-users] issue with large file path on windows

2015-08-23 Thread Nicolai Hess
For those who had problems with pharo on windows and github based repositories, I built a windows vm with support for long paths: https://drive.google.com/file/d/0B8yEahnuIem2bmxwdzJuUXFxVGM/view?usp=sharing For browsing directories with large paths (FileList or Inspect), you may need one additi

Re: [Pharo-users] issue with large file path on windows

2015-08-23 Thread Nicolai Hess
And If you want to review the changes: https://github.com/nicolaihess/pharo-vm/compare/master...nicolaihess:win-long-filename 2015-08-23 13:44 GMT+02:00 Nicolai Hess : > For those who had problems with pharo on windows and github based > repositories, > I built a windows vm with su

Re: [Pharo-users] issue with large file path on windows

2015-08-24 Thread Nicolai Hess
2015-08-24 13:34 GMT+02:00 Henrik Johansen : > > On 23 Aug 2015, at 6:09 , Nicolai Hess wrote: > > And If you want to review the changes: > > > https://github.com/nicolaihess/pharo-vm/compare/master...nicolaihess:win-long-filename > > > 2015-08-23 13:44 GMT+02:00

Re: [Pharo-users] http://pharo.org/documentation --> List of dialog windows in Pharo 4.0?

2015-08-25 Thread Nicolai Hess
And there are some examples in class WidgeExample WidgeExample class >>exampleDialogs WidgeExample class >>exampleBasicControls WidgeExample class >>exampleOtherControls 2015-08-25 9:36 GMT+02:00 Stephan Eggermont : > On 25-08-15 09:09, H. Hirzel wrote: > >> Hello >> >> I am looking for a list of

Re: [Pharo-users] Pharo 4.0 -- Inspecting a recursive data structure is slow

2015-08-29 Thread Nicolai Hess
No this doesn't even fully work for the GTInspector (even not in Pharo 5.0). It is the same issue Ben discovered when working with the pointer explorer. (http://forum.world.st/Proposal-for-LiteralArray-class-tp4803015.html and http://forum.world.st/Fwd-14827-ProtoObject-pointersTo-failing-circular

Re: [Pharo-users] Where do selected morphs get their emphasizing frame from

2015-09-03 Thread Nicolai Hess
The SelectionMorph itself uses the default border width. You can change that by adding for example borderWidth := 4 in the initialization method. the thin border around the selected elements is created by the a 4 times shifted drawing (in drawOn:) (0@0) fourNeighbors do: [:d | form1 displayOn:

Re: [Pharo-users] [ANN] MessageFlowBrowser

2015-09-09 Thread Nicolai Hess
2015-09-09 14:07 GMT+02:00 Torsten Bergmann : > A new tool to browse and dive deep into the flow of messages > using a tree representation (messages, senders, implementors, ...) > and further on. I know such a tool from Smalltalk/MT and it is really > helpful to trace a message flow without runnin

Re: [Pharo-users] Long text entry field

2015-09-15 Thread Nicolai Hess
2015-09-15 14:55 GMT+02:00 Offray Vladimir Luna Cárdenas : > Hi all, > > Thanks to the Stephan's advices, I'm making progress in my small planning > application and hopefully today I will have a working prototype. Now I > would like to add some properties to the PlanColumn class, one of them is

Re: [Pharo-users] UI Question

2015-09-23 Thread Nicolai Hess
2015-09-23 12:53 GMT+02:00 Fabian Boucsein via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Fabian Boucsein > To: pharo-users@lists.pharo.org > Cc: > Date: Wed, 23 Sep 2015 11:59:00 +0200 > Subject: UI Question > Hello Pharo Hackers, >

[Pharo-users] NeoCSV and special handling for some columns

2015-09-28 Thread Nicolai Hess
Hi, I have two problems I could not solve: 1. I would like to read only some columns: I have a large file with ~30 colums, but I am only interested on ~5 columns (not that important, I could pre-process the file) but anyway it would be nice to do it in smalltalk. 2. some columns will

Re: [Pharo-users] printing

2015-09-28 Thread Nicolai Hess
2015-09-28 14:29 GMT+02:00 Ben Coman : > What options do we have for hardcopy printing from Pharo? > That is, functionality for an application File > Print... > > cheers -ben > > No options anymore. There was a class TextPrinter (I swa it some years ago in squeak) but it is not there in pharo. Th

Re: [Pharo-users] NeoCSV and special handling for some columns

2015-09-28 Thread Nicolai Hess
> ifTrue: [ 0 ] ifFalse: [ NeoNumberParser parse: string ] ]; > Yes this helps > > Actually there is NeoCSVReader>>#emptyFieldValue: which you can use the > configure the reader (but it counts for all fields). > > > > Hope this helps. > > > >

Re: [Pharo-users] NeoCSV and special handling for some columns

2015-09-28 Thread Nicolai Hess
2015-09-28 17:33 GMT+02:00 Sven Van Caekenberghe : > > > On 28 Sep 2015, at 17:21, Nicolai Hess wrote: > > > > Thanks Mariano, Sven > > > > > > > > 2015-09-28 16:42 GMT+02:00 Sven Van Caekenberghe : > > > > > On 28 Sep 2015, at 15:04, M

Re: [Pharo-users] Morph: event handler on wrong morph/submorph

2015-09-28 Thread Nicolai Hess
2015-09-28 18:59 GMT+02:00 Federico.Balaguer : > Hello, > > I found a problem with BotArena > (http://smalltalkhub.com/#!/~FedericoBalaguer/BotArena) on Pharo 4. > > BotArena is an interactive robot simulation environment that we use in my > university to teach OOP basics. BotArena was developed a

Re: [Pharo-users] Is RubMethodEditingExample supposed to work?

2015-10-01 Thread Nicolai Hess
2015-10-01 20:52 GMT+02:00 Stephan Eggermont : > Is that supposed to be able to make changes to methods? > Maybe it was supposed to work but isn't finished? There is another example RubPluggableTextMorphExample That one can save changes. > > Stephan > > >

Re: [Pharo-users] Nautilus>>openOnClass: gives back a debugger

2015-10-05 Thread Nicolai Hess
2015-10-06 8:06 GMT+02:00 stepharo : > Hi federico > > in which version because we cleaned a lot of bad code in nautilus in 5.0 > alpha > > > Le 6/10/15 01:10, Federico.Balaguer a écrit : > > Hello, >> >> I found a problem when evaluating something like: >> >> Nautilus openOnClass: Object >> >> Th

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Nicolai Hess
Am 04.10.2015 23:53 schrieb "Peter Uhnák" : > > This is both rant and list of questions/notes/observations... > > ...but first of all: > do Smalltalkers not like code completion? Because the one in Pharo is really poor and not only that nobody is doing anything about it, but also nobody is complain

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Nicolai Hess
2015-10-06 10:31 GMT+02:00 Yuriy Tymchuk : > > On 06 Oct 2015, at 09:09, Nicolai Hess wrote: > > > Am 04.10.2015 23:53 schrieb "Peter Uhnák" : > > > > This is both rant and list of questions/notes/observations... > > > > ...but first of all: >

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Nicolai Hess
2015-10-06 11:57 GMT+02:00 Werner Kassens : > On 10/06/2015 09:09 AM, Nicolai Hess wrote: > >> > Since Object has almost 500 methods whatever I will start typing >> Object/TClass/TBehavior/... will have a list of answers... >> >> I think this is difficult, eve

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Nicolai Hess
2015-10-06 13:46 GMT+02:00 Henrik Johansen : > > On 06 Oct 2015, at 1:33 , Nicolai Hess wrote: > > > > 2015-10-06 11:57 GMT+02:00 Werner Kassens : > >> On 10/06/2015 09:09 AM, Nicolai Hess wrote: >> >>> > Since Object has almost 500 methods w

Re: [Pharo-users] Better Code Completion

2015-10-06 Thread Nicolai Hess
2015-10-06 15:28 GMT+02:00 Esteban Lorenzano : > > On 06 Oct 2015, at 15:23, Nicolai Hess wrote: > > > > 2015-10-06 13:46 GMT+02:00 Henrik Johansen : > >> >> On 06 Oct 2015, at 1:33 , Nicolai Hess wrote: >> >> >> >> 2015-10-06 11:57

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

2015-10-06 Thread Nicolai Hess
2015-10-06 15:56 GMT+02:00 Sean P. DeNigris : > With all the new tools - Spec, Brick, Tx, etc - what is the easiest way to > do > this in Pharo 4.0? I don't have a preference for the tool as long is it > works in Morphic. > > My naive attempt failed: > > applicants := PaPerson list collect: #name.

Re: [Pharo-users] Renaming a Class triggers debugger

2015-10-13 Thread Nicolai Hess
Hi Lyn 2015-10-13 21:36 GMT+02:00 Lyn Headley : > Hello, > > I'm running pharo 4 and I'm having a problem. I recently renamed a > class using the rename: menu item in the standard system browser (I > believe it's called Nautilus) and now I am getting uncaught exceptions > whenever I add or remove

Re: [Pharo-users] Renaming a Class triggers debugger

2015-10-14 Thread Nicolai Hess
2015-10-14 21:12 GMT+02:00 Lyn Headley : > Hi Ben, > > Thanks for looking into this. I've gone through your steps on my > machine (the image filename is Pharo-40622.image so I assume that is a > build number) and I get the same error you do. As you say, the errors > are not identical but hopefully

Re: [Pharo-users] Pharo 4 debugger

2015-10-14 Thread Nicolai Hess
2015-10-14 20:28 GMT+02:00 bsselfri...@gmail.com : > In Pharo 3.0 there was a Add/Remove breakpoint (experimental) method popup > menu option. I do not see this capability in version 4.0. Is this feature > still available or has it been removed? No, it was removed. (we moved from "old" compiler

Re: [Pharo-users] Question when reading UPBE

2015-10-19 Thread Nicolai Hess
Hi Andy, on the page before, you see the Figure 3.14, the bottom panel is the code panel. If you select class LOGame in the second left pane, and for example "-- all --" in the category panel, every code you put in the code panel, becomes a method of your class "LOGame". 2015-10-19 19:31 GMT+02:0

Re: [Pharo-users] crashed image ?

2015-10-20 Thread Nicolai Hess
2015-10-20 7:27 GMT+02:00 Marcus Denker : > > > On 20 Oct 2015, at 00:26, Jean Baptiste Arnaud < > jbaptiste.arn...@gmail.com> wrote: > > > > Hi, maybe a useful question :-) > > > > I crashed a image :-) > > And I ask myself: > > - There are a more advance (thinking bout maybe epicea) change

<    1   2   3   4   5   >