Re: [Pharo-users] using UFFI in non-crashing way

2017-03-26 Thread Peter Uhnak
On Sun, Mar 26, 2017 at 05:45:04PM +0200, Esteban Lorenzano wrote: > > > On 26 Mar 2017, at 15:40, Peter Uhnak wrote: > > > > Hi, > > > > is it possible to use UFFI and avoid crashing the image when the called > > code segfaults? > > > > In

[Pharo-users] using UFFI in non-crashing way

2017-03-26 Thread Peter Uhnak
Hi, is it possible to use UFFI and avoid crashing the image when the called code segfaults? In other words, can I somehow wrap the call and throw in-image Exception/Error on failure instead of the whole thing crashing? Or is the only way to do that have the called thing running as a separate a

Re: [Pharo-users] Creating Dates before/after Daylight Saving Time change

2017-03-26 Thread Peter Uhnak
Date>>year:month:day: (respectively Date>>#starting:) is using DateAndTime to specify the start, and DateAndTime will of course differ. To me it seems like someone was reusing implementation; because Date normally shouldn't have/care about time information, and yet it subclasses from Timespan c

Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread Peter Uhnak
On Wed, Mar 15, 2017 at 10:49:51AM +0100, denker wrote: > > > On 15 Mar 2017, at 10:35, Peter Uhnak wrote: > > > > Hi, > > > > is it possible to create a metalink on arbitrary amount of arguments? > > > > Right now the metaObject and selector mus

[Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread Peter Uhnak
Hi, is it possible to create a metalink on arbitrary amount of arguments? Right now the metaObject and selector must have the same number of arguments, e.g. MetaLink new metaObject: [ :object :selector :args | ... ]; selector: #value:value:value; arguments: #(object sele

Re: [Pharo-users] [Moose-dev] Re: Roassal IdentityGroup regression?

2017-03-13 Thread Peter Uhnak
Thanks! Peter On Mon, Mar 13, 2017 at 07:20:04PM -0300, Alexandre Bergel wrote: > Hi Peter! > > No idea why this code was removed. > The class is back now. > > Alexandre > > > On Mar 13, 2017, at 6:58 PM, Peter Uhnak wrote: > > > > Hi, > > &g

[Pharo-users] Roassal IdentityGroup regression?

2017-03-13 Thread Peter Uhnak
Hi, apparently there used to be RTIdentityGroup (and Collection>>asIdentityGroup) in Rossal, but I can't find any mention of it http://forum.world.st/AST-visualization-with-Roassal-td4840243.html did it vanish on its own (bug) or was that a deliberate choice (feature)? Peter

[Pharo-users] Spec way to embed something into Scrollable Wrapper

2017-03-11 Thread Peter Uhnak
Hi, is there a Spec way to take something and embed it into scrollable pane? I haven't seen anything like that in Spec itself (List/Tree that has scrollbar has it on Morphic side); but maybe there is a way to embed Spec inside some Morph and then embed the Morph back into Spec? Obviously that'

Re: [Pharo-users] Pharo Spur 64 VM

2017-03-08 Thread Peter Uhnak
On Tue, Mar 07, 2017 at 10:20:10AM +0100, Raffaello Giulietti wrote: > probably most of the developers related to Pharo use macOS Last time (~two years ago) I asked it was about ~1/3 each platform http://www.strawpoll.me/4001583/r (also I didn't make a distinction between desktop and server, so

Re: [Pharo-users] why is concat of Symbols a string?

2017-03-06 Thread Peter Uhnak
>> immutability contract. > >> > >> As a thought experiment, what could be the problem with adding > >> > >> Symbol >> , arg > >>^ (self , arg) asSymbol > >> > >> ? > >> > > > > Aside from the infinite r

Re: [Pharo-users] why is concat of Symbols a string?

2017-03-05 Thread Peter Uhnak
eed to concatenate symbols and get a symbol out > > of it, you can define a new method in Symbol to do what you want. > > > > For example: > > > > Symbol >> ,, arg > > ^ (self , arg) asSymbol > > > > Then > > > > #foo ,, #bar > > > >

[Pharo-users] why is concat of Symbols a string?

2017-03-04 Thread Peter Uhnak
Hi, why is the concatenation of symbols a string? e.g. #desc, #Name -> 'descName' this means that I have to always wrap in parentheses and recast, or stream it, e.g. (#desc, #Name) asSymbol -> #descName Symbol streamContents: [ :s | s << #desc; << #Name ] -> #descName both of which introduce

Re: [Pharo-users] customizing veryDeepCopy

2017-03-02 Thread Peter Uhnak
Thanks, I'll look at those. Peter On Thu, Mar 02, 2017 at 05:20:25PM -0300, Esteban A. Maringolo wrote: > I implemented our own copier based on how Morph does it, with our own > copy/deep selectors. > The copier has the option of which classes to copy and which to use > the same (it is, no copy).

Re: [Pharo-users] [Pharo-dev] [ANN] XML Metadata Interchange (XMI) for Pharo

2017-03-02 Thread Peter Uhnak
We spoke briefly on Tuesday. I need to take a look (also at his EMF generator) and see how the tools could benefit from each other. I think it could simplify some of my code or streamline the use of it. (Also I have about a billion code generators at the moment with small differences... so I wi

Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-02 Thread Peter Uhnak
On Thu, Mar 02, 2017 at 09:20:12AM +0100, Esteban Lorenzano wrote: > > > On 1 Mar 2017, at 22:40, stepharong wrote: > > > > > > And I think that his remark makes sense. I was wondering if we should not > > ressurect > > the RePlugin to make sure that users can use perlish regexp and do not fee

Re: [Pharo-users] spotting methods with TODO, FIXME, etc. comments?

2017-03-01 Thread Peter Uhnak
On Wed, Mar 01, 2017 at 06:53:16PM +0100, Raffaello Giulietti wrote: > Hi community, > > many IDEs for other language usually offer a way to annotate methods > with special comments like "TODO ...", "FIXME ...". Such methods can > then be later retrieved easily in task lists and selected by simple

Re: [Pharo-users] suggestions mini-pane shut up

2017-02-28 Thread Peter Uhnak
1. Open settings 2. Type in quality 3. Uncheck nautilus plugin (or remove the plugin via top-right corner of nautilus window -> plugins manager -> remove QA) Peter On Tue, Feb 28, 2017 at 03:16:31PM +0100, Raffaello Giulietti wrote: > I'm using the latest "official" release, namely Pharo 5. I h

Re: [Pharo-users] 4 new chapters for new book on OOP and Design

2017-02-27 Thread Peter Uhnak
Hi Stef, I also noticed this but thought the problem was on my end. _All PDFs_ (books, mooc, ...) here https://ci.inria.fr/pharo-contribution/view/Books do not work in my Google Chrome (version 57). PDFs on different sites work fine. Looking at console I see some errors related to content secu

Re: [Pharo-users] Fwd: GSoC 2017: Pharo Consortium has been accepted as a mentor organization!

2017-02-27 Thread Peter Uhnak
Congratulations! p.s. I think my name was there from last year (I didn't have time for this this year), so if you encounter it anywhere, feel free to remove it. Peter On Mon, Feb 27, 2017 at 06:07:18PM +0100, Serge Stinckwich wrote: > Great news ! > > Thank you Jigyasa, Uko, Peter and Alex fo

[Pharo-users] changing font size in Spec TreeModel or FastTable Tree

2017-02-25 Thread Peter Uhnak
Hi, how can I change the font size of either (or both) Spec TreeModel or FastTable's tree? The font size is by default taken from the StandardFonts defaultFont, but I see no option to change it anywhere for _a specific tree only_. (Also odd that both use #defaultFont and not #listFont). Thank

Re: [Pharo-users] [State Machine] Implementation for pharo

2017-02-16 Thread Peter Uhnak
Hi, there's to my knowledge: * Grafeo http://oohito.com/nqthm/grafeo * StateMachine http://smalltalkhub.com/#!/~sbragagnolo/StateMachine (available in catalog) * LRP has state machines https://github.com/jfabry/LiveRobotProgramming * OpenPonk has state machines https://openponk.github.io/ Peter

Re: [Pharo-users] [ANN] Pharo Association: Join or Renew now!

2017-02-16 Thread Peter Uhnak
On Tue, Feb 14, 2017 at 03:17:42PM +0100, Marcus Denker wrote: > Hi, > > The new Pharo Association website is up and running for some month. > > If you are a member, it will bug you once a year to renew. Maybe there should be information that the membership (and fee) is automatic due to contri

[Pharo-users] expanding Pharo window to left and Window positioning

2017-02-15 Thread Peter Uhnak
Hi, what rules govern window positioning? I have a dual monitor setup and and sometimes extend the Pharo window over both of them; for some reason however World submorphs (all Windows) are locked to the left side, which is what I am dragging, so all the windows move to the secondary screen. I

Re: [Pharo-users] GitFiletree on Pharo 6

2017-02-13 Thread Peter Uhnak
On Mon, Feb 13, 2017 at 09:04:40PM +, Dimitris Chloupis wrote: > hey guys I was wondering where I can find the metadata less version of > GitFiletree, the one without the meta data that caused the merge confilcts > > Anyone knows ? GitFileTree uses metadata-less format by default; if you hav

Re: [Pharo-users] Trait Searchability

2017-02-13 Thread Peter Uhnak
Traits are instances of class Trait, so you can do `Trait allInstances`. Peter On Mon, Feb 13, 2017 at 11:52:03AM -0800, Sean P. DeNigris wrote: > Forgive me if I'm missing something obvious, but how does one browse Traits > in the system for inspiration when creating a new one? > > > > -

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

2017-02-13 Thread Peter Uhnak
> I meant, can a Baseline be stored in / operate from a mcz file, without a > Configuration? > I thought git made Baselines feasible since git takes care of versioning. Git takes care of the versioning, so the Baseline is really just a baseline, like it would be in a ConfigurationOf.

[Pharo-users] getting real changes from RB refactoring

2017-02-12 Thread Peter Uhnak
Hi, 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, ...). For methods I can do reject: [ :each | each oldVersionTextToDisplay = each textToDisplay ] for adding classes I had t

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

2017-02-12 Thread Peter Uhnak
Hi, would it make sense to take configurations from metarepos instead directly from the source? And more imporantly: would be considered bad practice for users to do it right now? E.g. spec project: 'Magritte' with: [ spec className: #ConfigurationOfMagritte3;

Re: [Pharo-users] visualizing ConfigurationOf dependencies with GTInspector?

2017-02-07 Thread Peter Uhnak
ers, > Doru > > > > > On Feb 5, 2017, at 4:51 PM, Peter Uhnak wrote: > > > > Hi, > > > > maybe I was dreaming but I thought I saw somewhere that GTInspector could > > show the dependencies and groups in ConfigurationOf classes. Does somethi

[Pharo-users] visualizing ConfigurationOf dependencies with GTInspector?

2017-02-05 Thread Peter Uhnak
Hi, maybe I was dreaming but I thought I saw somewhere that GTInspector could show the dependencies and groups in ConfigurationOf classes. Does something like that exist? (Obviously when I inspect any such class it doesn't show it). Thanks, Peter

[Pharo-users] loading Icerberg repo with dependencies

2017-02-05 Thread Peter Uhnak
Hi, I finally started to move to Pharo 6, so now I can play with Icerberg... my question is: how can I load a repository with all its dependencies? In other words... can I tell Icerberg that for the given Ice Repository to execute BaselineOf? Or is the use case: 1. use metacello to load proj

Re: [Pharo-users] Tools for easy subtext extraction from text

2017-01-22 Thread Peter Uhnak
> Check some Perl code from a few years ago and come back with terseness and > readability arguments. Yeah, sure. I've been using Perl years ago. ;) When you are using it actively its very compact syntax is very cool once it becomes habitual; but of course Perl is write-only language. But we ar

[Pharo-users] Xtreams docs (previously: Tools for easy subtext extraction from text)

2017-01-21 Thread Peter Uhnak
gt; > On Sat, Jan 21, 2017 at 3:08 PM, Peter Uhnak wrote: > > > On Sat, Jan 21, 2017 at 02:01:59PM +0100, Denis Kudriashov wrote: > > > Hi. > > > > > > 2017-01-20 16:15 GMT+01:00 Peter Uhnak : > > > > > > > In Ruby it is dead simple: >

Re: [Pharo-users] Tools for easy subtext extraction from text

2017-01-21 Thread Peter Uhnak
On Sat, Jan 21, 2017 at 07:09:19PM +0100, Denis Kudriashov wrote: > 2017-01-21 17:09 GMT+01:00 p...@highoctane.be : > > > I collected some content about that and wanted to do something about it > > but, yeah, it got on the backburner. > > > > This is currently just the extract of the package comme

Re: [Pharo-users] super super

2017-01-21 Thread Peter Uhnak
Out of curiosity, wouldn't it be better to temporarily duplicate the code in your class and talk with the upstream owner? (That would be my usual approach.) Peter On Sat, Jan 21, 2017 at 06:04:12PM +0100, Hilaire wrote: > Agree on the hook. However the super class are not mine. Not an ideal > s

Re: [Pharo-users] Tools for easy subtext extraction from text

2017-01-21 Thread Peter Uhnak
On Sat, Jan 21, 2017 at 02:01:59PM +0100, Denis Kudriashov wrote: > Hi. > > 2017-01-20 16:15 GMT+01:00 Peter Uhnak : > > > In Ruby it is dead simple: > > str[/\[(.*)\]/,1].hex # "=> 37" > > > > I always wondering when people think it is dead simp

Re: [Pharo-users] singleton trait

2017-01-21 Thread Peter Uhnak
On Sat, Jan 21, 2017 at 11:19:24AM +0100, stepharong wrote: > Pay attention that Singleton should not be about access but time. > > If you can by adding on instance variable avoid to need a singleton > then it means that it was not a singleton. > > A singleton is often: >you **CANNOT** ha

Re: [Pharo-users] is PetitParser eager by default?

2017-01-20 Thread Peter Uhnak
ing for this in the debugger (because I remember there was some extension related to PetitParser) and completely missed it in the playground. > >> Am 20.01.2017 um 15:24 schrieb Peter Uhnak : > >> > >> Is PetitParser eager by default? > >> > >> I&#x

[Pharo-users] Tools for easy subtext extraction from text

2017-01-20 Thread Peter Uhnak
Hi, what are the tools available from easier text extraction? The input is unstructured text, but I want to extract portion from it. I am not looking for an engineered approach (writing a parser or something), but something that can be done quickly by hand (i.e. interactively). For example I h

[Pharo-users] is PetitParser eager by default?

2017-01-20 Thread Peter Uhnak
Is PetitParser eager by default? I've used PetitParser countless times so I am really baffled why this doesn't work str := 'a0b'. #any asParser star, #digit asParser, #any asParser star parse: str. -> PPFailure (input expected at: 3) Thanks, Peter

[Pharo-users] Couple grafoscopio notes

2017-01-19 Thread Peter Uhnak
Hi, I've started playing around with grafoscopio, I am happy that I can finally organize all those little scripts and not lose them all the time. :) However there are couple of issues and notes I've ran into (don't worry about fixing them in any timely fashion, it is not blocking me) 1. For sa

Re: [Pharo-users] STON encoding of slashes

2017-01-19 Thread Peter Uhnak
nary)) Thanks! Peter > > Peter > > > >>> On 18 Jan 2017, at 15:25, Peter Uhnak wrote: > >>> > >>> On Wed, Jan 18, 2017 at 11:11:06AM +0100, Christophe Demarey wrote: > >>>> > >>>>> Le 18 janv. 2017

Re: [Pharo-users] STON encoding of slashes

2017-01-18 Thread Peter Uhnak
ls like an arbitrary restriction for STON; would STON benefit from dropping this requirement and instead only worry about good smalltalk object representation? (And leave JSON to NeoJSON or something.) Peter > > On 18 Jan 2017, at 15:25, Peter Uhnak wrote: > > > >

Re: [Pharo-users] STON encoding of slashes

2017-01-18 Thread Peter Uhnak
On Wed, Jan 18, 2017 at 11:11:06AM +0100, Christophe Demarey wrote: > > > Le 18 janv. 2017 à 09:51, Sven Van Caekenberghe a écrit : > > > > Hi Christophe, > > > >> STON toString: 'g...@github.com:foo/bar.git’ => > >> ''g...@github.com:foo\/bar.git’' > >> It used to be ''g...@github.com:foo/bar

Re: [Pharo-users] About Git

2017-01-15 Thread Peter Uhnak
I find these endless git vs monticello discussions confusing and pointless. Maybe we can hang Q&A list somewhere on pharo website to point to? Because git is getting increased traction in Pharo, so the same questions and endless discussions will popup over and over again. 1. Some people here ar

Re: [Pharo-users] 6.0 vm crash in FreeTypeFace

2016-12-21 Thread Peter Uhnak
This bug resurfaced after switch to Spur about a year ago. I envy you that you ran into that only now. :) (my favorite crashes for FT is during saving the image...) P On Wed, Dec 21, 2016 at 12:49:23PM -0300, Johan Fabry wrote: > Hi all, > > I’d like to report a vm crash of the 6.0 vm in a 5.0

[Pharo-users] accessing local/instance variables with metalinks

2016-12-05 Thread Peter Uhnak
Hi, what is the best way to access variables from within a metalink? for example I have a message send `surface clear` and I want to change it to `surface clear: trachelCanvas color`. I can use #instVarNamed: ``` MetaLink new metaObject: [ :object | (object instVarNamed

Re: [Pharo-users] NeoCSVWriter automatic quotes

2016-12-05 Thread Peter Uhnak
On Fri, Nov 25, 2016 at 09:38:42PM +0100, Sven Van Caekenberghe wrote: > Peter, > > > On 25 Nov 2016, at 19:35, Peter Uhnak wrote: > > > > Hi, > > > > is it/would it be possible to modify NeoCSVWriter to add quotes only where > > necessary? So only i

Re: [Pharo-users] NeoCSVWriter automatic quotes

2016-11-25 Thread Peter Uhnak
rator ]) ifTrue: [ writeStream nextPut: $"; nextPutAll: string; nextPut: $" ] ifFalse: [ writeStream nextPutAll: string ] ``` Peter On Fri, Nov 25, 2016 at 07:35:29PM +0100, Pet

[Pharo-users] NeoCSVWriter automatic quotes

2016-11-25 Thread Peter Uhnak
Hi, is it/would it be possible to modify NeoCSVWriter to add quotes only where necessary? So only if the written value contains the separator (is there any other case that would require the quotes?). Thanks, Peter

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

2016-11-15 Thread Peter Uhnak
Hmm, thanks. I can write it myself, that's not a problem. I am just surprised that there is no native support/lib... I'll see if I can do something about it. Peter On Fri, Nov 11, 2016 at 07:01:26PM +, Dimitris Chloupis wrote: > You can take a look at how I do seconds indicator in my Chrono

[Pharo-users] image shrinking and cleanup

2016-10-22 Thread Peter Uhnak
Hi, I know that I can cleanup the image with `Smalltalk cleanUp: true except: {} confirming: false.`, however that doesn't seem to help much. My guess is that there are some objects that the system is permanently unable to GC, however I have no idea how to find them (or even where to begin the

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Peter Uhnak
On Tue, Oct 18, 2016 at 02:24:28AM -0300, Hernán Morales Durand wrote: > - A Spec UI generator. Oh, and Stephan did CRUD(e) Spec generator http://forum.world.st/ANN-SpecGenerator-easy-CRUD-applications-with-Spec-td4889624.html Peter

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Peter Uhnak
Hi Hernan, I wrote some time ago two basic code generators (both in Pharo) from UML-ified FAMIX for a particular user (so there are some domain-specific patterns), one for Pharo syntax ( https://github.com/OpenPonk/class-editor/blob/master/docs/code-generation/uml-to-code.md ) and one for VW sy

Re: [Pharo-users] Spec: DropList question

2016-10-10 Thread Peter Uhnak
You can just provide `nil` as the first option, e.g. ui := DynamicComposableModel new. ui instantiateModels: #(select DropListModel). ui select items: #(nil a b c); displayBlock: [ :each | each ifNil: [ '' ] ifNotNil: #asString ]. layout := SpecLayout composed add: #sele

Re: [Pharo-users] Small "code" editor example for improving a GUI

2016-10-06 Thread Peter Uhnak
On Thu, Oct 06, 2016 at 10:41:10AM -0500, Offray Vladimir Luna Cárdenas wrote: > Hi, > > I would like to create some GUI that would be essentially a text > area field plus some buttons. The idea is to support > > - Font size increasing/decreasing. > > - Syntaxt highlighting for markup languages.

Re: [Pharo-users] Spec: Class pop list code completion

2016-09-23 Thread Peter Uhnak
Something like this? TextInputFieldModel new enableGlobalsCompletion; openWithSpec On Thu, Sep 22, 2016 at 12:04:50PM -0700, Brad Selfridge wrote: > Is there a way in Spec to pop a list widget that contains class names when > entering a partial class name in a test field, (like G

Re: [Pharo-users] letsencrypt smalltalkhub ?

2016-09-15 Thread Peter Uhnak
Not enough manpower, I asked about this before, but it's not a priority. It was "good" enough until now, and with move to git it probably won't matter for much longer. Also let's encrypt isn't just about getting a cert... you need to fully automate updating the certs (which occurs every three mon

Re: [Pharo-users] Spec Text Emphasis

2016-09-02 Thread Peter Uhnak
On Fri, Sep 02, 2016 at 06:40:01AM -0700, Sean P. DeNigris wrote: > > > > Peter Uhnak wrote > > TextInputFieldModel will most likely require #whenBuiltDo: and Morphic > > hacking. > > That is unfortunate. As a subclass, and conceptually in the model, it should

Re: [Pharo-users] Spec Text Emphasis

2016-09-01 Thread Peter Uhnak
On Thu, Sep 01, 2016 at 09:18:47PM -0700, Sean P. DeNigris wrote: > Is there a way to change the emphasis of Spec text (TextModel/TextInputModel, > or even LabelModel - I would trade edit-ability for styling)? LabelModel has #emphasis: LabelModel new emphasis: #(bold); label: 'bol

Re: [Pharo-users] BitArray and BooleanArray ?

2016-09-01 Thread Peter Uhnak
On Thu, Sep 01, 2016 at 07:45:45PM +0800, Ben Coman wrote: > I don't know the answer but I assume you a looking for a memory > efficient way of storing booleans. So perhaps the Bit Field layouts > discussed here [1] may be of interest considering the recent > introduction of Slots to Pharo. Other

Re: [Pharo-users] Spec Label is Black on Dark theme

2016-08-30 Thread Peter Uhnak
On Tue, Aug 30, 2016 at 10:16:03PM +0200, Nicolai Hess wrote: > 2016-08-30 20:01 GMT+02:00 Brad Selfridge : > > > How does one change Spec labels so that they don't show as black on Dark > > Theme but do show as black on standard Pharo theme? > > > > > > > Looks like ListModel should overwrite #d

Re: [Pharo-users] [Moose-dev] [ann] pillar support in gtinspector

2016-08-30 Thread Peter Uhnak
On Tue, Aug 30, 2016 at 07:50:10AM +0200, Offray Vladimir Luna Cárdenas wrote: > Hi, > > > On 29/08/16 21:47, Yuriy Tymchuk wrote: > > [...] > > > > > > > It pains me that we are editing Pillar in outside tools, and now we > > > should no longer have to do that. Of course, this is not the most

Re: [Pharo-users] Roassal 2 disable browser and vis. animations

2016-08-27 Thread Peter Uhnak
On Sat, Aug 27, 2016 at 12:04:00PM +0200, Robert Kuszinger wrote: > > Anyway, on windows it crashed many times (On WIndows I downloaded this: > http://moosetechnology.org/res/download/moose_suite_6_0-win.zip) The VM is not particularly stable even on linux when it comes to FreeType and Cairo. Co

[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

[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

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

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] 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 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] 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

[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

[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] 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

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

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] 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] 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] 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

[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] 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

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 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
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] 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

[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] 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

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] 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

[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] 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

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] 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-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] 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-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

[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

[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?

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: ‎

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

<    1   2   3   >