[Pharo-users] NeoNumberParser and localization

2016-07-05 Thread Peter Uhnák
Hi, is there any plan for NeoNumberParser do add localization support? e.g. NeoNumberParser new thousandsSeparator: $,; "common in us data" parse: '12,230' => 12230 NeoNumberParser new decimalSeparator: $,; "common in eu data" parse: '12,230' => 12.230 Thanks, Peter

Re: [Pharo-users] NeoNumberParser and localization

2016-07-05 Thread Peter Uhnák
ther parser. > > Now, I can understand where/how your suggestions would make sense. Maybe > you can try subclassing and make your own variant (first) ? BTW, you not > only need to set the thousands separator, but the decimal separator too, I > guess. > > Sven > > > On 0

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread Peter Uhnák
> Smalltalk isn't that popular anymore nowadays... anymore => yet :) But the resources should be available http://forum.world.st/Pharo-Mooc-after-the-19th-of-june-tp4900406p4900498.html We need someone to find a place to host all this iirc. On Wed, Jul 6, 2016 at 2:57 PM, Cyril Ferlicot Delbecq

Re: [Pharo-users] Disabling welcome window

2016-07-10 Thread Peter Uhnák
oWelcomePage title ] > >] > >thenDo: [ :window | window delete ]. > > > > Best regards, > > Henrik > > > > *From:* Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] *On > Behalf Of *Peter Uhnák > *Sent:* Wednesday, May 18, 2016 12:20

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

2016-07-10 Thread Peter Uhnák
As this is a real nuisance, I might have a partial solution — remove the repos :) Apart from contributing to pharo (which is done in clean images) I never needed reference to those repositories, so I don't see why I would need them there. So a startup script to the rescue StartupPreferencesLoade

Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-14 Thread Peter Uhnák
scussions about this, it could make a great > addition to Pharo. > > Sven > > > On 11 Jun 2016, at 02:45, Peter Uhnák wrote: > > > > Hi, > > > > last week I stitched together a simple file dialog replacement and today > I managed to somewhat finish it.

Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-16 Thread Peter Uhnák
On Fri, Jul 15, 2016 at 2:00 PM, Sven Van Caekenberghe wrote: > > On 14 Jul 2016, at 23:49, Peter Uhnák wrote: > > Hi Sven, > > What I am missing in the UI is some indication of the path that leads to > the current selected file. Right now, I am wondering where exactly I am

[Pharo-users] how to update monticello cypress repository downloaded from github?

2016-07-16 Thread Peter Uhnák
Hi, how can one update a cypress github repository? e.g. I install it like this Metacello new baseline: 'FileDialog'; repository: 'github://peteruhnak/file-dialog/repository'; load. And then later I want to pull latest changes as the repo itself doesn't contain commits I cannot do

Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-17 Thread Peter Uhnák
On Sat, Jul 16, 2016 at 11:04 PM, Johan Fabry wrote: > > This is excellent !!! > > We should change the default file browser to be this one ! > I wonder… does Pharo support such workflow that it would pull the code from github? I.e. the development would continue on GitHub and Pharo would just p

Re: [Pharo-users] Spec, Icons in subclasses of ComposableModel

2016-07-18 Thread Peter Uhnák
pec fixes, this is really important! Peter On Mon, Jul 18, 2016 at 2:12 PM, Marion Noirbent < ms.noirb...@etudiant.univ-lille1.fr> wrote: > Hi, > > In the issue 18742 add class to manage focusorder, Peter Uhnák says: > > " > The idiomatic way of creating icons shoul

Re: [Pharo-users] What's the equivalent of Smalltalk osVersion in Pharo????

2016-07-25 Thread Peter Uhnák
You mean "OSPlatform current" ? Peter On Mon, Jul 25, 2016 at 7:29 PM, Casimiro - GMAIL < casimiro.barr...@gmail.com> wrote: > Hello, > > What's the equivalent of Smalltallk osVersion in pharo? > > > >

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

2016-08-02 Thread Peter Uhnák
On Tue, Aug 2, 2016 at 9:07 PM, Thierry Goubier wrote: > Le 02/08/2016 à 13:23, Peter Uhnak a écrit : > >> 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-smallta

[Pharo-users] RewriteTool matching parts of an array

2016-08-11 Thread Peter Uhnák
Hi, I wanted to use RewriteTool to rewrite dynamic arrays Source AST: | base | base := {#Department -> {710 @ 255. Color lightMagenta}} matching AST: | base | base := {#Department -> {``@first. ``@second}} transformation: | base | base := {#Department -> (Array with: ``@first with: ``@second)}

Re: [Pharo-users] RewriteTool matching parts of an array

2016-08-11 Thread Peter Uhnák
I get the exact same error when executing the script, I am running this on Pharo 5 (50760) btw. On Thu, Aug 11, 2016 at 3:15 PM, Mark Rizun wrote: > Hi Peter, > > I tried to perform this transformation with RewriteTool and got the same > DNU. > > >> However when I tried to execute it I was met w

Re: [Pharo-users] RewriteTool matching parts of an array

2016-08-11 Thread Peter Uhnák
Nvm, I've misread it. Ok, I will do it manually then, and submit a bug report. :) Thanks, Peter On Thu, Aug 11, 2016 at 3:31 PM, Peter Uhnák wrote: > I get the exact same error when executing the script, I am running this on > Pharo 5 (50760) btw. > > On Thu, Aug 11, 2016

Re: [Pharo-users] 64bit support

2016-08-16 Thread Peter Uhnák
Is there a timeline for 64bit on Windows? Also will it make the Windows VM even more unstable, or can it help? #askingforafriend On Tue, Aug 16, 2016 at 12:19 PM, Esteban Lorenzano wrote: > > > On 15 Aug 2016, at 23:09, Gour wrote: > > > > On Mon, 15 Aug 2016 22:44:49 +0200 > > "Cyril Ferlicot

Re: [Pharo-users] Spec Widget positioning

2016-08-17 Thread Peter Uhnák
Hi, you normally control the (relative) sizes through the layout, e.g. ui := DynamicComposableModel new. ui instantiateModels: #(text TextInputFieldModel btn1 ButtonModel btn2 ButtonModel). ui btn1 label: 'Button 1'. ui btn2 label: 'Button 2'. layout := SpecColumnLayout composed newRow: [ :row

Re: [Pharo-users] Keyboard work flow?

2016-08-21 Thread Peter Uhnák
I've made a shortcuts overview for Nautilus short while ago https://www.peteruhnak.com/blog/2016/08/03/nautilus-shortcuts-cheatsheet/ https://gist.github.com/peteruhnak/d9ee54f67d88b20ba85618e189b15669 but as noted there, when you are in the code pane it's a bit tricky. Peter On Sun, Aug 21, 20

Re: [Pharo-users] priority for startup actions

2016-09-06 Thread Peter Uhnák
> single startup file that's too messy > they are executed in reading order, so if you name them something10.st, something20.st, etc. they will be in order. ah, I'll try that Thanks, Peter On Tue, Sep 6, 2016 at 9:44 AM, Esteban Lorenzano wrote: > another solution is to put all your depende

Re: [Pharo-users] Tech Meeting notes

2016-09-28 Thread Peter Uhnák
Thanks for the recording, I wasn't able to attend so it's good to at least hear about the current state of things. Peter On Tue, Sep 27, 2016 at 7:37 PM, Dimitris Chloupis wrote: > And for those that were not able to attend the voice meeting here you can > find the recording so you can listen t

[Pharo-users] Progress Bar with unknown state or showing animated gifs

2016-11-11 Thread Peter Uhnák
Hi, is there a way to have a progress bar with unknown state? e.g. https://i.stack.imgur.com/gz9GK.gif ProgressBarMorph / Job / SystemProgressMorph seem to be based around progress only. Alternatively, is it possible to (easily) display animated gifs? Thanks, Peter

Re: [Pharo-users] Depending on MetaRepo instead of the target repo

2017-02-13 Thread Peter Uhnák
> I do not think so but if people show me otherwise I could follow that. Well, in most languages (their package dependencies) one can just specify name of the project and a version. The location/how to load it is pulled from a central repository. So that's why I thought that maybe the MetaRepo cou

Re: [Pharo-users] getting real changes from RB refactoring

2017-02-13 Thread Peter Uhnák
On Sun, Feb 12, 2017 at 6:33 PM, stepharong wrote: > Hi peter > > > is there some filter that will reject RB changes that actually do not do >> anything? I.e. applying them would have no effect (same method code, class, >> inst var exists, ...). >> > > I do not know. > Do you have an example of w

[Pharo-users] customizing veryDeepCopy

2017-03-02 Thread Peter Uhnák
Hi, is there a way of customizing what should be copied during veryDeepCopy? For example I want to clone my (domain) model tree, however the objects have Announcers which I do not want to copy. Alternative is of course to implement the copying behavior by myself, but I feel like veryDeepCopy sho

[Pharo-users] [ANN] git migration tool

2017-05-04 Thread Peter Uhnák
With Iceberg knocking on the door, migration from SmalltalkHub to Git(Hub/Lab/...) has become relevant once more. And that's why I wrote git-migration tool https://github.com/peteruhnak/git-migration to help you move on to greener pastures. Among other things described in the too-long-didn't read

Re: [Pharo-users] Positive experience report porting from StHub to GitHub

2018-01-24 Thread Peter Uhnák
Hi Hernan, this should be in principle sufficient for the migration. I just wonder, why these two lines? > git add * > git commit -m "fast-import from SmalltalkHub" ...normally all the code should've been already committed via fast-import. Peter On Wed, Jan 24, 2018 at 2:17 PM, Hernán Morales D

Re: [Pharo-users] Iceberg and resource files

2018-01-28 Thread Peter Uhnák
Hi, > How do I include these in the iceberg commit/push? > How do I see changes made in these files from version to version? Apart from directly using the actual git repo outside of pharo, you can use the facade provided by IceRepository, or you can use libgit inside Pharo. E.g. to add an extern

[Pharo-users] global exception handler mechanism

2018-02-02 Thread Peter Uhnák
Hi, is there a way to install a global handler for exceptions? Right now if I want to log all exceptions, I use approach from ShoreLine and create a PreDebugAction which is activated when any "unhandled" exception occurs. That would be good enough, however the Debugger has zero knowledge of the

[Pharo-users] sentry.io (OSS error tracking platform) SDK

2018-02-06 Thread Peter Uhnák
Hi, I've made an experimental SDK for sentry.io to track errors in end-user installations. Also usable as a Logger for Beacon (which I guess should be the primary way to use this). ... and as an extension for Debugger (basically a replacement for ShoreLine, which is too simplistic for my needs)

[Pharo-users] [ANN] sentry.io (OSS error tracking platform) SDK

2018-02-06 Thread Peter Uhnák
I guess the subject should say [ANN] too... :) On Tue, Feb 6, 2018 at 10:55 PM, Peter Uhnák wrote: > Hi, > > I've made an experimental SDK for sentry.io to track errors in end-user > installations. > > Also usable as a Logger for Beacon (which I guess should be the pr

Re: [Pharo-users] Generate equality

2018-02-07 Thread Peter Uhnák
> generate accessors there is option to generate accessors (right click on class)... but I find it rarely useful after initial setup (having accessors for all instance variables is rarely needed, and it is annoying to uncheck all the time). In the latter scenario I have a small hack (startup scri

Re: [Pharo-users] [ANN] sentry.io (OSS error tracking platform) SDK

2018-02-07 Thread Peter Uhnák
e, not cloud-hosted sentry.io directly). I assume their API is the same. I've used on-premises sentry (and wrote the SDK on day zero of using sentry so I am still learning how it even works :)) Peter On Wed, Feb 7, 2018 at 9:53 PM, Herbert Vojčík wrote: > > > Peter Uhnák wrote: > &g

Re: [Pharo-users] Code formatting in CustomHelp

2018-02-08 Thread Peter Uhnák
Hi, there are couple examples in WelcomeHelp. But more importantly, the HelpTopic content can be a Text, which means you can apply your own formatting. To the text. For example, I have also subsubheading: subsubheading: aString "Return Text object with subsubheading formating attributes." | te

Re: [Pharo-users] Roassal to ODG

2018-02-09 Thread Peter Uhnák
There is SVG exporter. I've never heard about ODG, is it commonly used outside of OpenOffice itself? Peter On Fri, Feb 9, 2018 at 9:29 PM, Stephane Ducasse wrote: > Hi Arturo > > I have no idea about the answer. But hello from snowy France :) > > Stef > > On Fri, Feb 9, 2018 at 6:49 PM, Arturo

[Pharo-users] canonical way to convert Symbol into Class (retrieve class by its name)

2018-02-10 Thread Peter Uhnák
Hi, what is the canonical way to get a class from a symbol? a) Converting symbol into class via string protocol a.1) #Array asClass I use this the most, because it is easy, uses unary selector, and so far I've never ran into any issues. But apparently it is not good -- why? a.2) #Array asClassI

Re: [Pharo-users] canonical way to convert Symbol into Class (retrieve class by its name)

2018-02-10 Thread Peter Uhnák
s > b.2) Smalltalk at: #Array > b.3) Smalltalk classNamed: #Array > => In which namespace/module are you looking for #Array ? In the future > this may be removed, alternatively it will work only for globals but not > globals inside namespace/module which won't work since Arr

[Pharo-users] Object configuration idioms

2018-02-11 Thread Peter Uhnák
Hi, are there any best practices/idioms in regards to object configuration/building? Let's say I want to configure a TwitterClient that requires a username and a password that is stored in a separate object TwitterConfiguration a) the basic approach (either separate sends or via cascade, that is

[Pharo-users] custom pre-debug window?

2018-02-21 Thread Peter Uhnák
Hi, has anyone investigated creating a custom pre-debug window? I would like to have a user-friendlier one (for end-users), but it seems that the current one is hard-coded? Thanks, Peter

[Pharo-users] depending on a group of a BaselineOf

2018-02-26 Thread Peter Uhnák
Hi, I'm trying to define a dependency on a group of BaselineOf. specifically #core of github://pharo-graphics/Bloc/src. I've looked at this https://github.com/Metacello/metacello/blob/master/docs/GettingStartedWithGitHub.md#create-baseline which recommends using import:provides: baseline: spec

Re: [Pharo-users] Adding text files to a commit

2018-02-27 Thread Peter Uhnák
I'm using the following | repo | repo := IceRepository registry detect: [ :each | each name = 'my-repo' ]. repo addFilesToIndex: {'CHANGELOG.md'}. so then the iceberg commit will also include the (external) file change Peter On Tue, Feb 27, 2018 at 11:06 PM, Andrew P. Black wrote: > I have so

Re: [Pharo-users] Initializing Iceberg's repository list

2018-02-27 Thread Peter Uhnák
I think you are looking for this thread http://forum.world.st/Adding-an-Iceberg-repository-at-startup-td5016693.html ? Peter On Tue, Feb 27, 2018 at 11:07 PM, Andrew P. Black wrote: > I believe that there is a way one can add one or more repositories to > Iceberg’s list of local repositories, s

Re: [Pharo-users] Adding text files to a commit

2018-02-28 Thread Peter Uhnák
t; which would open a file dialog. Peter On Wed, Feb 28, 2018 at 1:24 AM, Andrew P. Black wrote: > > > On 28 Feb 2018, at 12:32 , Peter Uhnák wrote: > > > > I'm using the following > > > > | repo | > > repo := IceRepository registry detect: [ :each | ea

[Pharo-users] GTInspector globally configuring visible tags

2018-03-01 Thread Peter Uhnák
Hi, is it possible to globally configure GTInspector to show only certain tags () ? Thanks, Peter

Re: [Pharo-users] depending on a group of a BaselineOf

2018-03-03 Thread Peter Uhnák
rwise" > group: ‘default’ with: #(Model’ ‘UI’); > > “Other possible convenience groups” > group: ‘Development’ with: #(Model’ ‘UI’ ’Tests’); > group: ‘Production’ with: #(Model’ ‘UI’) > ] > > > Then you can load groups like: > > Metacello new

Re: [Pharo-users] [Pharo-dev] Looking for names for the booklet collection

2018-03-04 Thread Peter Uhnák
> Pharo Tools & Technologies > Pharo Language & Environment +1 ... simple, obvious, to the point please no cryptic/"clever" names On Sun, Mar 4, 2018 at 4:41 PM, Benoit St-Jean via Pharo-users < pharo-users@lists.pharo.org> wrote: > > > -- Forwarded message -- > From: Benoit St-

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Peter Uhnák
> > There is #ensureCreateDirectory in Pharo but I don't know if it will check > the parents exists. (And I don't have a Pharo image to check. > It will, at least on Windows. Peter

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Peter Uhnák
Operator priority :); unary messages `#ensureCreateDirectory have precedence over binary `#/` (FileSystem disk workingDirectory / '../public') ensureCreateDirectory. Also please note that the workingDirectory should be based on where Pharow as launched from, if you are looking for the image direc

Re: [Pharo-users] Please rejoin Discord

2018-03-12 Thread Peter Uhnák
Maybe it would be better to flip it around: have http://pharo.org/discord which would automatically redirect to the proper pharo invite link On Sun, Mar 11, 2018 at 9:25 PM, Dimitris Chloupis wrote: > Because I posted a new link it was misinterpreted that the old one did not > work which is not

Re: [Pharo-users] [Pharo-dev] Something is happening...

2018-03-14 Thread Peter Uhnák
Hi, just couple minor details I've noticed: I'm looking at website, and it says Jan 2018 twice. 02/01/2018 - Pharo Newsletter Jan 2018 01/10/2018 - Pharo Newsletter Jan 2018 Also going inside the newsletter, it doesn't actually say for what what period it is, e.g. https://us11.campaign-archive.

Re: [Pharo-users] [Pharo-dev] Something is happening...

2018-03-14 Thread Peter Uhnák
Excellent, thank you! Peter On Wed, Mar 14, 2018 at 10:14 AM, Marcus Denker wrote: > > > On 14 Mar 2018, at 09:56, Marcus Denker wrote: > > > > On 14 Mar 2018, at 09:51, Peter Uhnák wrote: > > Hi, > > just couple minor details I've noticed: > >

[Pharo-users] confusion about GTFilter hierarchy and GTFilterSubstring

2018-03-15 Thread Peter Uhnák
Hi, what exactly is GTFilterSubstring for? The observed behavior is identical whether I use it in my spotter method or not. (As I don't know what exactly it does it's hard to observe it in the first place...) Also as none of the concrete classes in the GTFilter hierarchy have comments it's hard to

[Pharo-users] Disabling GTSpotter dive in

2018-03-16 Thread Peter Uhnák
Hi, is it possible to disable GTSpotter dive in functionality when the result would be empty? I've tried looking at GTSpotterStep>>canDiveIn: but it seems that no matter what there will be at least one processor (at least the "parent" one, which is weird). Also there are two spotter extensions d

Re: [Pharo-users] Disabling GTSpotter dive in

2018-03-16 Thread Peter Uhnák
correction: spotterForRenderingShapesFor: is not in Pharo 6.1 (it's added by Roassal2GT) On Fri, Mar 16, 2018 at 8:01 AM, Peter Uhnák wrote: > Hi, > > is it possible to disable GTSpotter dive in functionality when the result > would be empty? > > I've tried looking

Re: [Pharo-users] Disabling GTSpotter dive in

2018-03-19 Thread Peter Uhnák
gt; Hi, > > I am not sure I understand the issue. Can you re-explain it please? > > Cheers, > Doru > > > > On Mar 16, 2018, at 8:02 AM, Peter Uhnák wrote: > > > > correction: spotterForRenderingShapesFor: is not in Pharo 6.1 (it's > added by Roas

Re: [Pharo-users] Disabling GTSpotter dive in

2018-03-19 Thread Peter Uhnák
So I imagine something like the following spotterFieldsFor: aStep ^ aStep listProcessor title: 'Fields'; *canDiveIn: [ false "or some dynamic condition" ];* ... On Mon, Mar 19, 2018 at 9:05 AM, Peter Uhnák wrote: > Certainly. > > Basically I want to avoid a sit

[Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
Hi, I don't think this should throw an error when I am producing JSON. ``` d := { 'a' -> #(). 'b' -> #(). } asDictionary. STON toJsonString: d. ``` dtto this ``` a := {'hm'}. d := { 'a' -> a. 'b' -> a. } asDictionary. STON toJsonString: d. ``` Maybe I should forgo using STON>>toJson* out of

[Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
Hi, not sure where to report this, but in this page of fuel docs https://rmod.inria.fr/web/software/Fuel/Version1.9/Documentation/GettingStarted?_s=gnS5amSI-7GcDf_k&_k=4e8w5tCS4RRm35p7&_n&18 all the chapters are twice there Basic examples ... FileStream ... Compressing ... Showing a progress ba

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
on: out; >> nextPut: d ]. >> >> The problem is what to do with cycles. >> > > Be faithful to what JSON.stringify does in JS. See attachment. :-) > > Herby > > > Sven >> >> On 27 Mar 2018, at 17:43, Pe

Re: [Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
8 at 6:29 PM, Peter Uhnák wrote: > Hi, > > not sure where to report this, but in this page of fuel docs > > https://rmod.inria.fr/web/software/Fuel/Version1.9/ > Documentation/GettingStarted?_s=gnS5amSI-7GcDf_k&_k=4e8w5tCS4RRm35p7&_n&18 > > all the chapters are t

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
Ah sorry, I'm blind. Yes, ideally it should throw up an error in case of recursive. And I see that NeoJSON runs into infinite cycle, so I guess this should be addressed there too. On Tue, Mar 27, 2018 at 6:41 PM, Herbert Vojčík wrote: > > > Peter Uhnák wrote: > >> Hi S

Re: [Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
inary files. Thanks! Peter On Tue, Mar 27, 2018 at 6:39 PM, Peter Uhnák wrote: > In fact this is problem on every page: it shows the Getting Started on the > top, and then continues with the actual content of the page, e.g. > https://rmod.inria.fr/web/software/Fuel/Version1.9/ > D

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
y to make a difference between a cycle and a shared > structure, I would have to think about that. > > And yes, NeoJSON will go happily in cycles. > > > On 27 Mar 2018, at 18:52, Peter Uhnák wrote: > > > > Ah sorry, I'm blind. > > > > Yes, ideally it sho

[Pharo-users] Detecting "window closed" for modal Spec window

2018-03-27 Thread Peter Uhnák
Hi, is it possible to detect when a modal window was closed in Spec? I can do the following window := TextModel new openWithSpec. window window announcer when: WindowClosed do: [ self inform: 'window closed' ]. But when I make the window modal it is no longer being announced window := TextMode

[Pharo-users] configurable space in XML Writer tag

2018-04-03 Thread Peter Uhnák
Hi, what would be the best approach to not generate space at the end of single tag? Right now it generates but I would like The space is added in XMLTagWriter>>writeEpilogue, but to "cleanly" change it I would need to * subclass tag writer * subclass xml writer * figure out how to provide di

[Pharo-users] Plans for XSD in XML(Parser) the foreseeable future?

2018-04-03 Thread Peter Uhnák
Hi, are there any plans in the foreseeable future to add support for XSD to the XML (Parser) ecosystem? Thanks, Peter

[Pharo-users] conditional loading of packages in BaselineOf/ConfigurationOf

2018-04-05 Thread Peter Uhnák
Hi, is it possible to specify _natively_ (in the BaselineOf spec itself) a conditional loading of packages? Example usage: I have package with extensions for Calypso, but Calypso is not always loaded, so I want to load the package only if Calypso is present. The ugly way (because it's a hack and

Re: [Pharo-users] configurable space in XML Writer tag

2018-04-07 Thread Peter Uhnák
> It's changed to no longer emit that space. Thank you, however this could cause trouble for people needing the space. :) Making it configurable makes a lot of sense if you version your XML files (with e.g. git) and interchange with other tools... that way you can produce same formatting from bot

Re: [Pharo-users] Plans for XSD in XML(Parser) the foreseeable future?

2018-04-07 Thread Peter Uhnák
No problem, I've imagined this would be the case. Thanks, Peter On Fri, Apr 6, 2018 at 3:44 PM, monty wrote: > Unfortunately not. It's a major effort, and I'm not able to devote the > time to it now. > >

[Pharo-users] SmalltalkCI now supports loading tonel-based projects

2018-04-07 Thread Peter Uhnák
Hi, SmalltalkCI now supports loading tonel-based projects, so feel free to start using it. The configuration is still the same. Please note that coveralls support for tonel is not yet in place, but that's just a cherry on top. :-) Cheers, Peter

Re: [Pharo-users] SmalltalkCI now supports loading tonel-based projects

2018-04-09 Thread Peter Uhnák
; > On Sun, Apr 8, 2018 at 8:15 PM, Bernardo Ezequiel Contreras < > vonbecm...@gmail.com> wrote: > >> do you use filetree:// or tonel:// ? >> >> thanks in advance. >> >> >> On Sat, Apr 7, 2018 at 6:28 AM, Peter Uhnák wrote: >> >>

Re: [Pharo-users] installation of packages on 6.1

2018-04-11 Thread Peter Uhnák
> > The con is the “read-only” > They are _not_ read-only. If you want to push, they will use http auth for authentication. (Obviously you need an account for pushing, but that's given.) Peter

Re: [Pharo-users] [SmalltalkCI] loading tonel dependencies?

2018-04-12 Thread Peter Uhnák
> > peter, > are you sure that dependencies of a project in tonel format can be loaded? I agree with Gabriel, this has to be a Metacello issue. The support that was added was having your repo in tonel. If tonel dependencies are problem, that's a different issue. I think this is best to report d

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Peter Uhnák
On Fri, Apr 13, 2018 at 2:05 PM, Richard O'Keefe wrote: > There are a lot of subsystems in Pharo, and being a bear of > very little brain, I have a hard time relating Zinc, Calypso, > &c &c to, well, whatever they are. I presume there is > somewhere a list of topic/name/PFX triples for guidance.

Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Peter Uhnák
> Downloaded it. Installed it. Started it. Selected an image. Bam. The app vanished. As I've mentioned in several other threads, the way new images are opened (the lib that executes the command) seems to be very unreliable and sometimes opening image just doesn't work, and I have to open PL a

Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Peter Uhnák
On Mon, Apr 16, 2018 at 12:30 PM, Ben Coman wrote: > On 16 April 2018 at 16:55, Peter Uhnák wrote: > >> Downloaded it. Installed it. Started it. Selected an image. Bam. > The > >> app vanished. > > > > As I've mentioned in several other threads, t

Re: [Pharo-users] Where do we go now ?

2018-04-21 Thread Peter Uhnák
How a project is named is a choice of the author. Nobody gets to demand how someone should name their projects. Now how project is actually named is not a issue if it is properly handled on pharo side, which in some places is, in some places isn't. For instance, there's a gazillion UI frameworks

[Pharo-users] libfreetype6 missing in the dependencies of ubuntu Pharo distribution

2018-04-26 Thread Peter Uhnák
Hi, I've just tried installing pharo from package manager on Elementary OS, which is a ubuntu derivative. All went well, except fonts weren't working in 32 bit version, and I had to install by hand "libfreetype6:i386" ... is it missing in the dependencies? Thanks, Peter

Re: [Pharo-users] [Pharo-dev] libfreetype6 missing in the dependencies of ubuntu Pharo distribution

2018-04-27 Thread Peter Uhnák
ely. "uname -a" even reports it as "16.04.1-Ubuntu" Peter On Fri, Apr 27, 2018 at 5:19 AM, Holger Freyther wrote: > > > > On 27. Apr 2018, at 04:55, Peter Uhnák wrote: > > > > Hi, > > > > I've just tried installing pharo from package m

Re: [Pharo-users] [Pharo-dev] libfreetype6 missing in the dependencies of ubuntu Pharo distribution

2018-04-27 Thread Peter Uhnák
Thanks :) I was testing it on behalf of someone else, so no problems for me. :) Cheers, Peter On Fri, Apr 27, 2018 at 3:30 PM, Holger Freyther wrote: > > > > On 27. Apr 2018, at 19:22, Peter Uhnák wrote: > > > > I've installed both ( apt install pharo6-32-ui ph

Re: [Pharo-users] Literals

2018-04-28 Thread Peter Uhnák
What would entail actually extending the syntax and adding the set literal? >From my brief observations (when I was discussing this with OP on discord): * adding a new AST node * extend RBParser * extend IRMethod/IRTranslator... maybe generating bytecode for `{ ... } asSet` instead would be enoug

[Pharo-users] customizing red screen of death

2018-05-08 Thread Peter Uhnák
Hi, has anyone played around with customizing the red screen of death (=morphic/athens drawing error)? Perhaps to show something similar to what chrome shows on a tab crash Thanks, Peter

Re: [Pharo-users] How to pretty print a dynamic array

2018-05-08 Thread Peter Uhnák
> {self meth1. self meth2. self meth3} This is not possible in a reasonably general way. Usually I end up writing it like `Array with: self meth1 with: self meth2 with: self meth3` On Tue, May 8, 2018 at 3:31 PM, Davide Varvello via Pharo-users < pharo-users@lists.pharo.org> wrote: > > > --

Re: [Pharo-users] Is there a tonel:// format for repos?

2018-05-14 Thread Peter Uhnák
> > Metacello new > baseline: 'WillowPagerDuty'; > repository: 'tonel://../src'; > load. > > This should work. You can also use SmalltalkCI instead of doing everything by hand. Peter

Re: [Pharo-users] [Errors] email on error?

2018-05-18 Thread Peter Uhnák
Hi Sergio, I highly recommend using a more sophisticated solution such as Sentry ( https://github.com/peteruhnak/pharo-sentry , https://peteruhnak.github.io/pharo-sentry/ ). If you want something really simple, then ShoreLine can be of assistance (assuming you use Pharo 6; it was removed in P7) Y

Re: [Pharo-users] [Errors] email on error?

2018-05-18 Thread Peter Uhnák
On Fri, May 18, 2018 at 9:12 PM, Tim Mackinnon wrote: Equally you could perhaps trap something in Pharo and write out a fuel file > to an s3 bucket - with s3 you can then trigger an event and they have tools > you can use to alert and or email I do this too -- fuel is really simple to use, and

[Pharo-users] LibFFI/NB Cairo External Module Not Found debugging

2018-05-19 Thread Peter Uhnák
Hi, some Windows users are repeatedly running into Pharo failing to load Cairo library on Windows (see stack screenshot at the bottom). The problem is that I have no idea how to even start debugging this. Is there some documentation on how Pharo loads libraries via FFI on Windows that I can star

Re: [Pharo-users] Why doesn't Pharo 7 Iceberg write changes to the git filesystem as you go?

2018-05-23 Thread Peter Uhnák
On Wed, May 23, 2018 at 6:42 AM, Ben Coman wrote: > > > On 22 May 2018 at 23:23, Tim Mackinnon wrote: > >> Hi - when trying out the new Iceberg with a bunch of developers and >> explaining the challenges of integrating git and files into a smalltalk >> realm of the image - there was a lot of int

Re: [Pharo-users] Is there a compatibility package for migrating Spec application from Pharo 6.1 to Pharo 7 ?

2018-05-30 Thread Peter Uhnák
ComposableModel withAllSubclasses do: [ :cls | cls subclass: ((cls name withoutSuffix: 'Model'), 'Presenter') asSymbol ] + move all the classes in Undeclared package. Haven't run it... but it should work more or less. A backport might not be a bad idea. Peter On Wed, May 30, 2018 at 2:44 PM, Ju

Re: [Pharo-users] Loading Local Repositories with Iceberg

2018-06-04 Thread Peter Uhnák
> but I’m trying to understand what is the easiest option to avoid gotcha’s (that more advanced guys can better cope with) I guess the question is whether you want to handle conflict resolutions directly with git, or through iceberg. I've been using separate clones for each image for a long time

Re: [Pharo-users] Why do #select:thenXxx methods not return their result

2018-06-07 Thread Peter Uhnák
How do you mean? (1 to: 10) select: #odd thenCollect: [ :x | x ** 2 ] "-> #(1 9 25 49 81)" It wouldn't make sense otherwise to have the collect method if it wouldn't return anything. Peter On Thu, Jun 7, 2018 at 2:20 PM, Tim Mackinnon wrote: > Hi - are the methods like #select:thenCollect: fr

Re: [Pharo-users] Why do #select:thenXxx methods not return their result

2018-06-08 Thread Peter Uhnák
> > It only uses one temp collection, where a #select: followed by a separate > #collect: would need two. > Yeah, be careful with that, because it changes the semantics of the operation. (magine what happens when `thenDo:` operates on the original collection and there's no intermediate collection

Re: [Pharo-users] [Pharo-dev] [Ann] Iceberg v1.1.0

2018-06-11 Thread Peter Uhnák
> > tag support, a new credential manager to manage keys and passwords per > host or repository Thank you! I'm looking forward to playing with this next week. (and reporting issues :)) Peter On Mon, Jun 11, 2018 at 7:23 PM, Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Hi Guille,

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-14 Thread Peter Uhnák
Wait... so it is no longer possible to #addtoIndex: external files from Pharo? I thought that this functionality was supposed to be preserved. Peter On Thu, Jun 14, 2018 at 10:30 AM, Tim Mackinnon wrote: > Hi - yes I’m pleased you check out the entire tree, although currently > it’s a bit confu

Re: [Pharo-users] [ANN] Pharo Launcher v1.2 release

2018-06-21 Thread Peter Uhnák
Thanks for the release! Just a note regarding the Windows installer. I managed to crash and corrupt my Pharo Launcher (probably unrelated to PL.. I normally modify PharoLauncher to fit me better), so I wanted to reinstall it. As far as I can tell, the options "Modify" and "Repair" installation did

[Pharo-users] Pharo 7 streams API

2018-06-23 Thread Peter Uhnák
Hi, I'm starting to familiarize myself with new streams, and one thing I've noticed is the removal of #lineEndConvention (which I use all the time). So a statement like this aFile writeStreamDo: [ :stream | stream lineEndConvention: #lf. stream << '...' ]. has to be written like so aFile write

Re: [Pharo-users] copy & paste

2018-06-24 Thread Peter Uhnák
I thought that this was fixed a long time ago? Try running it with --textenc utf8 and see if it fixes it. Peter On Sun, Jun 24, 2018 at 11:11 AM, Otto Behrens wrote: > Hi, > > A very annoying issue I'm having with Pharo 6.0 (running on Ubuntu 16.04) > is that if I copy text from other applic

Re: [Pharo-users] copy & paste

2018-06-24 Thread Peter Uhnák
Also this, but I think that it was changed in the VM later http://forum.world.st/Re-Copy-past-doesn-t-work-sometimes-in-Chrome-semifixed-td4784604.html On Sun, Jun 24, 2018 at 11:31 AM, Peter Uhnák wrote: > I thought that this was fixed a long time ago? > > Try running it with --tex

[Pharo-users] image startup profiling

2018-06-29 Thread Peter Uhnák
Hi, does anyone know any tips how to profile why opening of an image takes X amount of time and on what? Thanks, Peter

[Pharo-users] Pharo Launcher multiplicated PhLDeploymentScript

2018-06-29 Thread Peter Uhnák
Hi, I've noticed that when I save Pharo Launcher image (ctrl+shift+s), because I was changing something, then PhLDeploymentScript is added to the the startup classes list. PhLStartupManager startUpClasses "a SortedCollection(PhLDirectoryBasedImageRepository PhLSettingBrowser PhLDeploymentScript P

Re: [Pharo-users] Pharo Launcher multiplicated PhLDeploymentScript

2018-06-29 Thread Peter Uhnák
PhLStartupManager class>>addToLauncherStartUpList: aClass self startUpClasses addIfNotPresent: aClass seems to be enough. Peter On Fri, Jun 29, 2018 at 9:58 AM, Peter Uhnák wrote: > Hi, > > I've noticed that when I save Pharo Launcher image (ctrl+shift+s), because > I

<    2   3   4   5   6   7   8   >