Re: [Pharo-users] is it related to Freetype or Athens?

2017-06-07 Thread Peter Uhnak
On Tue, Jun 06, 2017 at 07:33:04PM +0200, Hilaire wrote: > Hi there, > > A Dr. Geo user on Ubuntu 64bits 16.04 got that buggy rendering of the > canvas, then on some situation the rendering completely stop on a red > screen, with a stack showing may be a zero divide error. I did not get > access t

Re: [Pharo-users] Wiring objects, IoC and Service Locator

2017-06-07 Thread Peter Uhnak
> I don't see what is special about this. You can easily arrange instance > creation order with methods on the class-side of your domain classes. I will not use the term "class", but rather a "service" (service can be just a single class, but that is not always the case). The point of inversion

Re: [Pharo-users] About patterns, UML and documentation

2017-06-08 Thread Peter Uhnak
> > with the tool and layout and stuff rather than concentrate on what is Well there are tools such as PlantUML that generate it for you, you can provide some hints, but generally it tends to be good enough to not be worried about layout. I have a Pharo -> PlantUML generator for class, object,

Re: [Pharo-users] Wiring objects, IoC and Service Locator

2017-06-08 Thread Peter Uhnak
On Thu, Jun 08, 2017 at 08:46:15AM -0300, Vitor Medina Cruz wrote: > This is true for IoC DI containers, but I don't think it applies for > service locator, which, I think, could not be considered a framework > approach. Actually, I think being a framework is the big problem of the of > the former

Re: [Pharo-users] Wiring objects, IoC and Service Locator

2017-06-08 Thread Peter Uhnak
On Thu, Jun 08, 2017 at 08:02:04AM -0700, Attila Magyar wrote: > Vitor Medina Cruz wrote > > This is exactly my concern! Sure, for small stuff that is not a problem, > > but what if you have a big app? > > I don't think it makes any difference. Scale can make all the difference. Imagine the compl

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2017-06-19 Thread Peter Uhnak
at is the question to the author of original script - Peter Uhnak. > > The goal is to avoid contacting server (takes alot of time and blocks the > image) every time you save a package to a filetree repo. As I understand > repositories in question are kind of special and are always chec

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-07 Thread Peter Uhnak
Hi, I had similar issues when using gitfiletree... and in the end I've ended up with this https://github.com/peteruhnak/pharo-scripts/blob/master/config/5.0/openponk-autoload.st it is not the prettiest thing, however it is automated so I didn't bother improving it. * automatically loads GitF

[Pharo-users] integrating FileDialog into Pharo 7

2017-07-10 Thread Peter Uhnak
Hi, some people expressed interest in integrating File Dialog https://github.com/peteruhnak/file-dialog into Pharo as the default file dialog. Is it something people are interested in, or is the current solution sufficient for them? Peter

Re: [Pharo-users] [Pharo-dev] integrating FileDialog into Pharo 7

2017-07-10 Thread Peter Uhnak
Done. What next? Peter On Mon, Jul 10, 2017 at 12:46:50PM +0200, Pavel Krivanek wrote: > We should work on integration of it. Firstly please move tests to a > separate package. > > Cheers, > -- Pavel > > 2017-07-10 12:34 GMT+02:00 Peter Uhnak : > > > Hi,

Re: [Pharo-users] Mysterious problem in loading Pharo

2017-07-16 Thread Peter Uhnak
I had this problem for several months (and still do), and so far I didn't manage to figure out what is the actual cause. Sometimes it fixes itself (close Pharo and open again), sometimes opening it with different VM (and then reopen with the original) helps, and sometimes I have to restart syst

Re: [Pharo-users] Mysterious problem in loading Pharo

2017-07-17 Thread Peter Uhnak
; From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of > Peter Uhnak > Sent: 16 July 2017 15:40 > To: Any question about pharo is welcome > Subject: Re: [Pharo-users] Mysterious problem in loading Pharo > > I had this problem for several months (and still do),

Re: [Pharo-users] Iceberg + github without github account

2017-07-21 Thread Peter Uhnak
In Iceberg (Version Control) settings, there should be an option "enable Metacello (or Monticello?) integration" that should disable this iirc. On Fri, Jul 21, 2017 at 08:35:23PM +0200, Herby Vojčík wrote: > Hello! > > I use Iceberg with metacelloIntegration: true to have gitlocal:// protocol >

[Pharo-users] best naming practices for (file) format reading/writing

2017-07-22 Thread Peter Uhnak
Hi, I've seen (and I use) different naming conventions when reading/writing from files/streams... e.g. MyReader new readFromStream: aStream. "-> aModel" MyWriter new writeToStream: aModel. "-> aStream" or (MyReader new on: aStream) upToEnd. "-> aModel" (MyWriter new on: aStream) nextPut: aMod

[Pharo-users] NeoCSV change proposal

2017-07-22 Thread Peter Uhnak
Hi, this is a continuation of an older thread about quoting fields only when necessary. ( http://forum.world.st/NeoCSVWriter-automatic-quotes-td4924781.html ) I've attached fileouts of NeoCSV packages with the addition (I don't know if Metacello can file-out only changesets). The change doesn

Re: [Pharo-users] NeoCSV change proposal

2017-07-22 Thread Peter Uhnak
attached On Sat, Jul 22, 2017 at 02:12:10PM +0200, Peter Uhnak wrote: > Hi, > > this is a continuation of an older thread about quoting fields only when > necessary. ( > http://forum.world.st/NeoCSVWriter-automatic-quotes-td4924781.html ) > > I've attached fileouts o

[Pharo-users] is Renraku general purpose rule checker?

2017-07-22 Thread Peter Uhnak
Hi, I'm looking at Renraku and I wonder, would Renraku be a good start for general-purpose checking? E.g. I have a domain, where Person cannot drink if they are underage. So I've created a simple ReAbstractRule subclass that does basic check SomeRule>>basicCheck: anEntity ^ anEntity ag

Re: [Pharo-users] NeoCSV change proposal

2017-07-22 Thread Peter Uhnak
[ ByteString findFirstInString: s10 inCharacterSet: ',"', String crlf startingAt: 1 ] bench. "'1,187,324 per second'" [ ByteString findFirstInString: s100 inCharacterSet: ',"', String crlf startingAt: 1 ] bench. "'165,526 per second

Re: [Pharo-users] NeoCSV change proposal

2017-07-23 Thread Peter Uhnak
s10 includesAny: { $,. $". Character cr. Character lf } ] bench. > > "'2,819,416 per second'" > > [ s100 includesAny: { $,. $". Character cr. Character lf } ] bench. > > "'2,200,668 per second'" > > > > [ ByteString findFirst

Re: [Pharo-users] NeoCSV change proposal

2017-07-23 Thread Peter Uhnak
Thank you Sven! Peter On Sun, Jul 23, 2017 at 01:59:41PM +0200, Sven Van Caekenberghe wrote: > > > On 23 Jul 2017, at 09:55, Peter Uhnak wrote: > > > > Ah, ByteArrayMap, I was trying ByteArray. > > ByteArrayMap is not a class, it is still a ByteArray, but of size

Re: [Pharo-users] Iceberg and removing packages

2017-07-30 Thread Peter Uhnak
This was supposedly fixed in April https://github.com/pharo-vcs/iceberg/issues/317 however I had the same issue ~two months ago, so I had to delete the packages by hand. P On Sun, Jul 30, 2017 at 11:04:20AM -0300, Esteban A. Maringolo wrote: > Hi, > > I'm playing around with Iceberg in Pharo

Re: [Pharo-users] How to export critics from Critic Browser?

2017-07-31 Thread Peter Uhnak
Hi, I did a small experiment on Travis short while ago that collects the QAs and prints them to output log. Script (you would be interested only in the Smalltalk part of the code): https://github.com/peteruhnak/ugly-pharo-code/blob/master/qa-testing.sh Travis output (expand line 400): https:/

Re: [Pharo-users] step-by-step trace of object creation and messaging?

2017-08-01 Thread Peter Uhnak
Hi David, > I am new to Pharo As in you've never seen Pharo before, or that you have only limited knowledge? All the examples are just methods in the system. E.g. the simple example is defined in class-side of BormExampleDiagrams in method #exampleDataFlows. So you could run it from playground

Re: [Pharo-users] Compiling lots of method source without debugger

2017-08-04 Thread Peter Uhnak
Hi, > This is my first time here so I hope this is the right place to ask > questions. It is. :) > I want to be able to compile these methods programatically without > interruptions (using method source strings only) and gather all compiler > errors that occur. What would be the best way to go a

Re: [Pharo-users] Lazy-initialization patterns

2017-08-05 Thread Peter Uhnak
Personally I prever to avoid long lazy initializations, so I have it nice and tidy in a single method. MyClass>>#property ^ property ifNil: [ property := self bar collect: #food ] If I want to initialize the value in a separate method (typically for testing or reuse), then I prefer to a

[Pharo-users] sharing context/variables between multiple playgrounds

2017-08-07 Thread Peter Uhnak
Hi, is there a way to share context/variables between multiple playgrounds? E.g. in Playground window 1 I declare ``` factor := 70. ``` and in Playground window 2 I do (without declaring `factor`) ``` 5 * factor. "-> 350" ``` Thanks, Peter

[Pharo-users] Playground doesn't respect LF endings

2017-08-07 Thread Peter Uhnak
Hi, when I paste a text into the playground with line endings containing just LF (unix-style), then navigation to beginning/end of a line instead jumps to the beginning/end of the text. (I guess it is hardcoded to CR only). Right now I have to execute `Clipboard clipboardText withSqueakLineEndi

[Pharo-users] including Pillar in Pharo image by default

2017-08-11 Thread Peter Uhnak
Hi, I would like to propose including Pillar in the Pharo image by default. My reasoning: Since we are moving to git, and most people will use github, gitlab, and the likes, it is expected to include a README.md file (or possibly more extensive documentation) alongside the code. Which means t

Re: [Pharo-users] including Pillar in Pharo image by default

2017-08-11 Thread Peter Uhnak
think about Pharo 70 as the core and birth of a new generation of > imageS > > I will restart to revisit Pillar once I'm done with the Lecture at Prague. > > Stef > > On Fri, Aug 11, 2017 at 6:52 PM, Peter Uhnak wrote: > > Hi, > > > > I would

Re: [Pharo-users] including Pillar in Pharo image by default

2017-08-11 Thread Peter Uhnak
On Fri, Aug 11, 2017 at 09:14:01PM +0200, Esteban Lorenzano wrote: > > > On 11 Aug 2017, at 21:10, Esteban Lorenzano wrote: > > > > hi, > > > >> On 11 Aug 2017, at 18:57, Cyril Ferlicot D. >> > wrote: > >> > >> Another step would be to get a minimal parser no

Re: [Pharo-users] including Pillar in Pharo image by default

2017-08-11 Thread Peter Uhnak
A long time issue with Markdown was that there was no standardization (and when I used Pillar's MD export ~2 years ago it didn't work well). However CommonMark ( http://spec.commonmark.org/0.28/ ) has become the de-facto standard, so it would make sense to support it bidirectionally with Pillar.

Re: [Pharo-users] Preference to for not showing hidden files in the FileBrowser?

2017-08-17 Thread Peter Uhnak
There's no such option. I've created File Dialog ( https://github.com/peteruhnak/file-dialog ) which will be in P7 when I find the time to go through the incorporation process... which practically means September... Peter On Thu, Aug 17, 2017 at 01:05:25PM +0200, Guillermo Polito wrote: > On

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread Peter Uhnak
hes (dictionaries), > - a dictionary of dictionaries (nested to arbitrary depths), > - multi-line comments > > > --Hannes > > On 8/16/17, H. Hirzel wrote: > > Are there any news about a YAML parser for Pharo 5 / 6.1? > > > > --Hannes > > > > On 5/

Re: [Pharo-users] Installation done last week: Do I have Pharo 6.0 or Pharo 6.1?

2017-08-18 Thread Peter Uhnak
I don't know what was the exact reasoning why it was chosen to stay this way... 60505 is still 6.0, so somewhere between 60506 and 60510 is the split. :-) Peter On Fri, Aug 18, 2017 at 04:21:24PM +0200, H. Hirzel wrote: > Hello > > Pharo 6.1 was released on the 24th July 2017. > Thread [Pharo-d

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread Peter Uhnak
t; my purposes. > > On 8/18/17, Peter Uhnak wrote: > > Hi, > > > > Phil Back has kindly fixed the PetitYAML so it mostly works now. > > The only problem I've encountered was some weird misparsing of strings > > containing slashes, e.g. "5/".

Re: [Pharo-users] Installation done last week: Do I have Pharo 6.0 or Pharo 6.1?

2017-08-18 Thread Peter Uhnak
On Fri, Aug 18, 2017 at 07:16:30PM +0200, H. Hirzel wrote: > Thank you, Bernhard and Markus for confirming that Pharo is not > reporting the correct version number. > > But do you think I probably got 6.1 when I installed it on the 9th August > with > > curl get.pharo.org | bash Yes, you

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread Peter Uhnak
All my tests are green, so maybe you need to update PetitParser too to the latest (PetitParser-JanKurs.290) It is probable that Pillar loaded older version of PetitParser. Peter On Fri, Aug 18, 2017 at 10:56:30PM +0200, H. Hirzel wrote: > Hello again > > On 8/18/17, Peter Uhn

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread Peter Uhnak
On Sat, Aug 19, 2017 at 02:45:28PM +0200, H. Hirzel wrote: > Peter, thanks for the confirmation that in your installation of the > PetitYAML grammar all tests are green. > > I wonder how you did it. As I've said, you need to update PetitParser; if there's no appropriate catalog entry, then Confi

Re: [Pharo-users] Spec "bindings"

2017-09-09 Thread Peter Uhnak
Hi Rob, I'm making a note to look at your proposals and I will discuss it with Stef later. > > he has more and younger braincells than me But not enough connections between them. The cells just sit there alone and are not talking to anyone. :( Peter

Re: [Pharo-users] UI framework&design options

2015-01-25 Thread Peter Uhnak
Hi, what is in Deep into Pharo is describing Roassal1, but now we have Roassal2. Also the book is still work in progress... I believe Alex mentioned releasing it in mid 2015. Right now also the pharo and moose mailing list is good source of information, since roassal was discussed a lot in the

Re: [Pharo-users] Pillar multiline comment

2015-03-08 Thread Peter Uhnak
H If pillar is line based, how I can make code examples? Actually, maybe this could work, I'll try it later. {{{comment: My Multiline Comment }}} -Original Message- From: "stepharo" Sent: ‎3/‎8/‎2015 8:21 AM To: "Any question about pharo is welcome" Subject: Re: [Pharo-users] Pillar mu

Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Peter Uhnak
I also experience this daily, it happens when I start typing immediately, so maybe it isn't fully initialized yet? As a sidenote this sometimes happens to me with spec windows, so maybe some problem in rendering loop. Peter -Original Message- From: "Christophe Demarey" Sent: ‎3/‎31/‎2

Re: [Pharo-users] Request to put up my under-development applicationfor automated build

2015-07-13 Thread Peter Uhnak
Has your registration to pharo-contribution been approved yet? An admin needs to manually approve it, so it make take couple of hours. Peter -Original Message- From: "Jigyasa Grover" Sent: ‎7/‎13/‎2015 1:48 PM To: "pharo-users@lists.pharo.org" Subject: Re: [Pharo-users] Request to put

[Pharo-users] Class side vs instance side

2015-07-22 Thread Peter Uhnak
Hi, I am trying to figure out where to best place some mapping/data/stable methods. For example imagine method ~ MyRectangle>>oppositeSides ^ { #top -> #bottom. #bottom -> #top. #topLeft -> #bottomRight } asDictionary And then the class might hav

Re: [Pharo-users] [Moose-dev] Re: Script of the day

2015-07-30 Thread Peter Uhnak
You should be able to specify all layouts available in roassal... b layout tree. b layout cluster. b layout force. ... Peter -Original Message- From: "H. Hirzel" Sent: ‎7/‎30/‎2015 8:40 PM To: "Moose-related development" ; "pharo-users@lists.pharo.org" Subject: Re: [Pharo-users] [Moos

Re: [Pharo-users] interview on .Net Rocks! about Moose, humaneassessment, Pharo and GT

2015-07-30 Thread Peter Uhnak
Thank you, I've really enjoyed it! Peter -Original Message- From: "Tudor Girba" Sent: ‎7/‎30/‎2015 9:35 PM To: "moose-dev" ; "Discusses Development of Pharo" ; "Any question about pharo is welcome" Subject: [Pharo-users] interview on .Net Rocks! about Moose, humaneassessment, Pharo a

[Pharo-users] Custom type inference and RoelTyper

2015-09-30 Thread Peter Uhnak
Hi, Moose/FAMIX uses RoelTyper for type inference, how this does not seem to be maintained (last version 2013), and for my purposes is lacking. So do we have something more advanced, even at the expense of speed? Other alternative would be to either extend RoelTyper or write something custom t

[Pharo-users] Code completion in comment pane and Pillar

2015-09-30 Thread Peter Uhnak
Hi, Some time ago I ran into a problem with typing left brackets into comment pane. As you know, code blocks in Pillar are marked with [[[ However comment pane is subject to regular code completion of NECController, which means that every time I type '[' NEC converts it into '[ ]'. So if I type

Re: [Pharo-users] Custom type inference and RoelTyper

2015-09-30 Thread Peter Uhnak
ething ready for public consumption soon... Alexandre > On Sep 30, 2015, at 8:28 PM, Peter Uhnak wrote: > > Hi, > > Moose/FAMIX uses RoelTyper for type inference, how this does not seem to be > maintained (last version 2013), and for my purposes is lacking. > > So do we

Re: [Pharo-users] Pillar for 30 gone the way of the dodo on the CI

2015-10-01 Thread Peter Uhnak
In Jenkins you specify configuration matrix (versions of pharo versus type (development, stable, ...)).. So it will run development for all versions, even pharo 30 (which is now permanently broken) -Original Message- From: "Stephan Eggermont" Sent: ‎10/‎1/‎2015 9:47 AM To: "pharo-users@

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Peter Uhnak
On Mon, Nov 23, 2015 at 04:25:28PM +0100, Skip Lentz wrote: > Hi everyone, > > As part of my internship I am creating bindings to the GitHub API in Pharo. > As a prototype and demo, I have created a small tool last week to do some > basic versioning, namely checking out a version, committing a ve

[Pharo-users] piping output from shell process to transcript

2015-11-23 Thread Peter Uhnak
Hi, how can I pipe output from PipeableOSProcess to Transcript? I tried doing: (PipeableOSProcess command: 'my-command.sh') outputOn: Transcript. However `#outputOn:` doesn't send `#endEntry` so I don't see anything, and even if it would, the output is delivered there at the end anyway. I woul

Re: [Pharo-users] piping output from shell process to transcript

2015-11-24 Thread Peter Uhnak
> On Mon, Nov 23, 2015 at 6:42 PM, Peter Uhnak wrote: > > > Hi, > > > > how can I pipe output from PipeableOSProcess to Transcript? > > > > I tried doing: > > > > (PipeableOSProcess command: 'my-command.sh') outputOn: Transcript. > > &

[Pharo-users] Pillar tables with multiline cells

2015-11-24 Thread Peter Uhnak
Hi, is it possible to have table with multiline cells in Pillar? For example in markdown I can embed a piece of HTML, unfortunately Pillar requires {{{html: to start at a new line which doesn't work with tables. Is there another solution? Thanks, -- Peter

Re: [Pharo-users] Pillar tables with multiline cells

2015-11-24 Thread Peter Uhnak
On 11/24, Peter Uhnak wrote: > Hi, > > is it possible to have table with multiline cells in Pillar? > > For example in markdown I can embed a piece of HTML, unfortunately > Pillar requires {{{html: to start at a new line which doesn't work with > tables. Or I can use

[Pharo-users] graph library in Pharo

2015-11-29 Thread Peter Uhnak
Hi, is there any graph library for pharo with algorithms for planarity testing, spanning trees, flow costs, etc.? Thanks, -- Peter

Re: [Pharo-users] How I can tell to a startup script to target specific images

2015-12-02 Thread Peter Uhnak
On 12/02, Dimitris Chloupis wrote: > I have a startup script that loads the libraries and project I mostly use, > including my own, but I want that script to target specific folders and its > subfolders , is this possible ? You can test values of `SmalltalkImage current`... for example (Smalltal

[Pharo-users] About GTSpotter matching

2015-12-05 Thread Peter Uhnak
Hi, are there some wildcards in GTSpotter matching? Currently it searches anywhere in the (method) name, which makes it hard for shorter names, because it will match a lot of junk. I've also discovered (by accident), that I can use '>>#selector' to anchor the start of the selection. ('#selector'

[Pharo-users] OrderedSet?

2015-12-05 Thread Peter Uhnak
Hi, what would be the equivalent of an OrderedSet? 1. all elements are unique 2. they are ordered 3. adding an existing element moves it so myOrderedSet addLast: x. "<- x is added as last" myOrderedSet addFirst: x. "<- x is moved from last to first" Thanks, -- Peter

Re: [Pharo-users] where is save export setting file

2015-12-06 Thread Peter Uhnak
On 12/06, Hilaire wrote: > Hello > > Where export setting save the prefrence in the host file system, on Linux. Linux config is normally in '~/.config/pharo/' > > I am stuck with it and need to delete it > > Thanks > > Hilaire > > -- > Dr. Geo > http://drgeo.eu > http://google.com/+DrgeoEu

Re: [Pharo-users] About GTSpotter matching

2015-12-07 Thread Peter Uhnak
here are many variations, but wildchars... > > > On Dec 5, 2015, at 20:40, Peter Uhnak wrote: > > > > Hi, > > > > are there some wildcards in GTSpotter matching? > > > > Currently it searches anywhere in the (method) name, which makes it hard > >

Re: [Pharo-users] Roassal Performance Issues when applying layout

2015-12-07 Thread Peter Uhnak
On 12/07, Alejandro Infante wrote: > Hi, > It is really difficult to help you just with a profile and without looking at > your code. > Even though, I have noticed that most of the time is used on calculating > properties related to CompositeShapes (like position and encompassing > rectangle). >

[Pharo-users] code coverage tools

2015-12-09 Thread Peter Uhnak
Hi, do we have any code coverage tools? -- Peter

Re: [Pharo-users] code coverage tools

2015-12-09 Thread Peter Uhnak
On 12/09, p...@highoctane.be wrote: > I came across this: > > http://objectprofile.com/Hapao.html This looks great! Thanks > > but never used or even digged into. > > Phil > > On Wed, Dec 9, 2015 at 9:25 AM, Peter Uhnak wrote: > > > Hi, > &

Re: [Pharo-users] How to detect wheter the computer is connected to the internet ?

2015-12-13 Thread Peter Uhnak
On 12/14, Sven Van Caekenberghe wrote: > Hi Dimitris, > > > On 14 Dec 2015, at 07:02, Dimitris Chloupis wrote: > > > > Hey guys I try to make a way to detect whether my project is up to date and > > if not to update it from the github repo automagically. This part works > > fine , but I will a

Re: [Pharo-users] Keymapping, shift vs non-shift

2015-12-14 Thread Peter Uhnak
On 12/14, Guillermo Polito wrote: > > > On 14 dic 2015, at 11:23 a.m., Nicolai Hess wrote: > > > > > > > > 2015-12-14 11:16 GMT+01:00 Stephan Eggermont > >: > > On my keyboard I have '+' in two positions: once over the '=' in the > > alphanumeric part,and once as a s

Re: [Pharo-users] adding credentials to a repo via a playgroundscript

2016-03-06 Thread Peter Uhnak
I use QuickAccess to store these things ( http://forum.world.st/ANN-QuickAccess-for-Pharo-5-td4859265.html ) but I still have to figure out a good way to keep it in sync across images. QuickAccess gets autoloaded from a startup script. Peter -Original Message- From: "stepharo" Sent: ‎

[Pharo-users] Installing a metalink on a subclass not overriding a method

2016-03-26 Thread Peter Uhnak
Imagine the following: I have a class ‘Parent’ which has the following method Parent>>name: aString name := aString I also have a subclass of a Parent called Child. Now I would like to attach some behavior via MetaLinks for the method ‘name:’ but only for the Child method, is that possible?

[Pharo-users] library for comparing semver versions

2016-05-27 Thread Peter Uhnak
Hi, is there any library available that can compare versions according to SemVer? http://semver.org/ Thanks, Peter

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-05-29 Thread Peter Uhnak
On Sat, May 28, 2016 at 10:48:47PM +0200, Holger Freyther wrote: > Hi, > > every time I save a local package using gitfiletree:// it tries to download > from the pharo5 inbox. Is this to be expected? I do not have the inbox > associated with that package though? Can the version number resolving

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-05-29 Thread Peter Uhnak
On Sun, May 29, 2016 at 11:21:21AM +0200, Thierry Goubier wrote: > Le 29/05/2016 11:15, Peter Uhnák a écrit : > > > All this is so that my .5 would not conflict with someone else .5 > > > > How is this a problem? Because it will be "Me.5" and "You.5", so there > > can't be any conflict. > > Me.5

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-05-30 Thread Peter Uhnak
check the repos, and I don't see what is the actual trigger. Peter On Sun, May 29, 2016 at 02:28:48PM +0200, Thierry Goubier wrote: > Le 29/05/2016 14:04, Peter Uhnak a écrit : > > On Sun, May 29, 2016 at 11:21:21AM +0200, Thierry Goubier wrote: > > > Le 29/0

Re: [Pharo-users] What should I name my nested packages?

2016-05-30 Thread Peter Uhnak
Hi, are you referring to tags? If you right-click a package, you see options such as "Add tag...", "Promote as package", "Demote to package with tag". Peter On Mon, May 30, 2016 at 02:10:38PM -0400, Evan Donahue wrote: > Hello, > > Just a quick question as I work on refactoring and cleaning

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-06-03 Thread Peter Uhnak
On Wed, Jun 01, 2016 at 10:28:12PM -0700, Dale Henrichs wrote: > > FWIW, I've found that if I manually flush the cache for each package before > I save it, I don't have to wait the minute or so for all of the repos to be > refreshed ... > How can I do that? Peter

Re: [Pharo-users] problem getting moose

2016-06-05 Thread Peter Uhnak
On Sun, Jun 05, 2016 at 04:13:16PM +0800, Ben Coman wrote: > Final thing... > after loading, the following packages are dirty... > AST-Core > - removal of NumberParser>>#isNumber: > Collections-Abstract > - but when checked ==> no changes > Famix-Core > - but when chec

[Pharo-users] synchronized return from asynchronous message block

2016-06-06 Thread Peter Uhnak
Hi, is it possible to return "synchronously" even if I have an asynchronous message? For example: SomeObject>>someMethod ^ UIManager default chooseFrom: #(a b c) When the above method is executed, it will open a popup and block the execution until I select something, then it will retur

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-07 Thread Peter Uhnak
It's strange that I was using GitFileTree over OSProcess for a long time without issue and yet every time I tried to use OSProcess directly I had this locking up. > So I am asking polite to the pharo developers team if there are plans to > provide a stable solution for calling external program

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-07 Thread Peter Uhnak
On Tue, Jun 07, 2016 at 01:22:04PM +0200, Thierry Goubier wrote: > 2016-06-07 11:47 GMT+02:00 Peter Uhnak : > > > It's strange that I was using GitFileTree over OSProcess for a long time > > without issue and yet every time I tried to use OSProcess directly I

Re: [Pharo-users] Smalltalkhub & Squeaksource3

2016-06-15 Thread Peter Uhnak
On Wed, Jun 15, 2016 at 01:06:08PM -0400, Mark Bratcher wrote: > A couple of easy ones: > > 1) Does smalltalkhub.com support private projects (used, e.g., for CI)? > I've seen a couple of posts on random forums dating back a couple of years > indicating that it did, but when I went to create a pro

[Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Peter Uhnak
Hi, is it possible to accept a method without creating instance variable? E.g. ~~ Object subclass: #MyObject slots: { } classVariables: { } category: 'Category' ~~ ~~ MyObject>>addValue: aValue

Re: [Pharo-users] change which browser opens when browsing senders/implementors

2016-07-20 Thread Peter Uhnak
On Wed, Jul 20, 2016 at 03:00:01PM +0200, Denis Kudriashov wrote: > It was like that in some Pharo version Only shortly, because people preferred consistency over convenience, so it was changed back. (Note that there is no correct answer here.) Peter > > 2016-07-20 2:45 GMT+02:00 Mariano Marti

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Peter Uhnak
Hi Juraj, I've finally forced myself to finish a guide on using gitfiletree: https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/ so hopefully it will be of some use to you. Couple of notes: * GitFileTree loaded from Catalog still doesn't work in Pharo 6, so

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Peter Uhnak
On Mon, Jul 25, 2016 at 10:49:41PM +0200, Nicolas Passerini wrote: > On Mon, Jul 25, 2016 at 7:28 PM, Peter Uhnak wrote: > > > IceBerg, which is hopefully the future of git in Pharo ( > > https://github.com/npasserini/iceberg ) > > > > Well, I hope so :) > &g

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Peter Uhnak
On Mon, Jul 25, 2016 at 06:33:48PM -0400, Sean Glazier wrote: > Thank you, Peter for documenting that :-). While I think git tools are OK, > my opinion though is that Smalltalk hub should be moved forward as well. While SmalltalkHub works for code storage, it is also just that, a storage. Trying t

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Peter Uhnak
On Mon, Jul 25, 2016 at 08:08:49PM -0300, Hernán Morales Durand wrote: > 2016-07-25 19:33 GMT-03:00 Sean Glazier : > > > Thank you, Peter for documenting that :-). While I think git tools are OK, > > my opinion though is that Smalltalk hub should be moved forward as well. At > > cincom the Store e

[Pharo-users] switching to metadata-less gitfiletree

2016-07-29 Thread Peter Uhnak
Hi, I've followed this thread http://forum.world.st/How-do-I-convert-a-FileTree-project-to-Metadataless-GitFileTree-project-td4903920i20.html to switch to metadata less format, Specifically: 1. change `.filetree` file, 2. load the repo to a clean image 3. make a change to each package and comm

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Peter Uhnak
Can you show the full trace? Because I am regularly doing something similar without any problems. In fact if I copy/paste your code (and just change the classes that I have) it works fine. Btw. did you override such methods in your system? Peter On Fri, Jul 29, 2016 at 07:05:04AM -0700, Brad S

Re: [Pharo-users] switching to metadata-less gitfiletree

2016-07-29 Thread Peter Uhnak
On Fri, Jul 29, 2016 at 06:58:02PM +0200, Thierry Goubier wrote: > Hi Peter, > > Le 29/07/2016 à 18:05, Peter Uhnak a écrit : > > Hi, > > > > I've followed this thread > > http://forum.world.st/How-do-I-convert-a-FileTree-project-to-Metadataless-GitFil

Re: [Pharo-users] How can I save a project on GitHub to SmalltalkHub?

2016-08-01 Thread Peter Uhnak
> >>> On 27 Jul 2016, at 23:26, Juraj Kubelka wrote: > >>> > >>> Hi, > >>> > >>> How can I save (from time to time) project packages hosted on GitHub to > >>> SmalltakHub? > >>> > >>> The reason is that I do not want to force people to install GIT when they > >>> want to install a project. >

Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS

2016-08-02 Thread Peter Uhnak
On Tue, Aug 02, 2016 at 12:51:12AM -0700, Davide Varvello via Pharo-users wrote: You could try to install pharo from the PPA sudo add-apt-repository ppa:pharo/stable sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install pharo-vm-core I am not sure if it's up to date (I don'

Re: [Pharo-users] Script to migrate all mcz packages to git?

2016-08-02 Thread Peter Uhnak
On Tue, Aug 02, 2016 at 01:04:10PM +0200, Nicolas Passerini wrote: > There is this script from Peter Uhnak > https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository > > but it will not be able to preserve commit date. At the time

[Pharo-users] generating function keys

2016-08-08 Thread Peter Uhnak
Hi, how can one generate function keys? (F1 to F12) I've made a morph for testing ~~ c := Morph subclass: #MyKeyMorph. c compile: 'handlesKeyboard: evt ^ true'. c compile: 'handleKeystroke: evt self logCr: evt'. c compile: 'handl

[Pharo-users] hooking into GTInspector tags

2016-08-13 Thread Peter Uhnak
Hi, how can one hook into the GTInspector tags that can be filtered? Apparently I can assign a presentation to a tag with ``, however this works only if the tag name was already added. As this was done in GTInspector>>initialize, it makes the whole filtering idea quite useless (unless I explici

[Pharo-users] changing theme colors of windows without closing them

2016-08-14 Thread Peter Uhnak
Hi, I fairly often switch themes (sometimes daily), and the fact that windows don't properly switch is quite annoying as I have to close literally everything and start over. Is there a way to force-reload the colors without closing the windows? For Nautilus I could probably script something li

Re: [Pharo-users] 64bit support

2016-08-16 Thread Peter Uhnak
On Tue, Aug 16, 2016 at 03:51:30PM +0200, Clément Bera wrote: > The 64 bits linux and mac VM have been working for more than 6 months. > They've been in production in a company since April or something like that. > Latest product are built by Travis and available here: > https://bintray.com/opensma

Re: [Pharo-users] standalone/runtime executable

2016-08-18 Thread Peter Uhnak
On Thu, Aug 18, 2016 at 10:36:50AM +0200, Gour wrote: > Hello, > > there are some Smalltalks like Dolphin, VisualWorks..which can, afaict, > create stand-alone executable for easier deployment to end users. > > I'm aware that Pharo probably has more important tasks to tackle first, > but just cur

Re: [Pharo-users] standalone/runtime executable

2016-08-18 Thread Peter Uhnak
On Thu, Aug 18, 2016 at 11:25:45AM +0200, Gour wrote: > On Thu, 18 Aug 2016 11:07:23 +0200 > Peter Uhnak wrote: > > > If you only target Mac and/or Win, it should be easy. If you aim for > > linux, then good luck… > > If I'd use some other compiled language

Re: [Pharo-users] standalone/runtime executable

2016-08-18 Thread Peter Uhnak
On Thu, Aug 18, 2016 at 12:14:35PM +0200, Gour wrote: > On Thu, 18 Aug 2016 11:55:40 +0200 Peter Uhnak > wrote: > > > I am not sure what you mean by "not seeing any end-user app written > > in Pharo". > > Afaics, there are no applications written using

Re: [Pharo-users] BlueInk formatting (line length) Pharo5

2016-08-19 Thread Peter Uhnak
On Thu, Aug 18, 2016 at 10:50:41PM -0700, Davide Varvello via Pharo-users wrote: > Date: Thu, 18 Aug 2016 22:48:44 -0700 (PDT) > From: Davide Varvello > To: pharo-users@lists.pharo.org > Subject: Re: BlueInk formatting (line length) Pharo5 > > Hi Nicolai, > Thanks for your reply. > > Wow, 70 is

[Pharo-users] is there live preview for pillar?

2016-08-20 Thread Peter Uhnak
Hi, is there any editor extension for Pillar that would show me the result version side by side with what I am typing, as I am typing it? (Also it has to be desktop editor, nothing online). Thanks, Peter

[Pharo-users] renaming packages with iceberg or metadata-less gitfiletree

2016-08-27 Thread Peter Uhnak
Hi, is it now possible to rename package without losing history with iceberg or metadata-less gitfiletree? Normally git can easily handle this, but it seems that on pharo-side it needs to be handled explicitly? Thanks, Peter

  1   2   3   >