ur-mileage-may-vary...
>
> parser := XMLDOMParser
> on:'
>
>
>
> '.
>
> (parser parseDocument)
> removeAllFormattingNodes;
> prettyPrinted.
>
> Regards
> Carlo
>
> On 14 Aug 2018, at 13:08, Peter Uhnak
> I believe this is a known Windows issue.
Well this is more of a show-stopper than just an issue.
Is the project maintained? Is Windows support something that is planned?
Thanks,
Peter
On Thu, Jul 19, 2018 at 7:35 PM kmo wrote:
> I believe this is a known Windows issue. I have certainly see
Hi,
I'm trying to install an #after metalink to a MessageNode that has an
argument, however it fails because the bytecode is missing the argument (I
think).
Note that #before control worked fine, so I am not sure whether this is a
bug, not yet supported, or am I doing something wrong.
code (teste
> I need to get past that error since I get it even when I install Moose
via Metacello.
Note that Moose depends on projects that are on github, so if it is
misconfigured, then it will fail.
Maybe you can provide both the ssh key and regular key/password? I use both
and so far I had no problems on
Hi Ben,
take a look at TestResource (its comment and subclasses). It should do what
you are looking for.
Peter
On Sun, Sep 9, 2018 at 8:08 AM Ben Coman wrote:
> Say I want to write ten tests for different aspects of a web service point.
> Apart from the risk of relying on an external service,
Not sure if this is already fixed in P7, but in P6 sometimes the catalog
would not load properly... so one has to close pharo and open it again...
probably not the best experience for non-pharo user.
Also, if your user is using linux, they also need to have libcairo(i386)
installed, otherwise Roas
Hi,
you can start with the Bloc booklet
http://files.pharo.org/books-pdfs/booklet-Bloc/BLOCDRAFT.pdf ... it is
probably a bit outdated, but I think the API hasn't changed that much.
and then in the image itself there is a "Bloc-Examples" package that
contains hundreds (thousands?) of examples.
Pe
Hi,
is the class-side "name:" setter used by the system itself?
Because I remember many times overriding it for my own needs and it never
broke anything as far as I know... which makes it strange why it even
exists (because it is a trap).
Thanks,
Peter
Hi Peter,
>there is no more #name: in Class (or ClassDescription or Behavior). It
> is named #setName:
> It is only used by the class builder, some class methods and some tests.
> It could be hidden better if it is still a problem.
>
> Cheers.
>
>
> On Mon, Sep 17, 2018
Hi,
is there an API to copy a file that will override the target destination if
it already exists? I was quite surprised that #copyTo: (and #copyAllTo:)
will throw up when the target file already exists.
Do I need to explicitly remove the file before copying / copy the contents
instead?
Thanks,
Ideally something that works as updater only (doesn't touch nor change
modification time if the contents is the same)
On Mon, Sep 17, 2018 at 1:16 PM Peter Uhnak wrote:
> Hi,
>
> is there an API to copy a file that will override the target destination
> if it already ex
Hi,
depending on your use-case you might also consider Spec or Playground
http://forum.world.st/Using-Playgrounds-as-a-notepad-tp4869129p4869227.html
Peter
On Fri, Sep 21, 2018 at 5:06 PM Hilaire wrote:
> Hello Hernán,
>
> Thanks to point Rubric which I did not know until now. Any doc/pointer
On Tue, Oct 2, 2018 at 4:55 PM Sean P. DeNigris
wrote:
> Guillermo Polito wrote
> > when somebody migrates the repository.
>
> Who has access to the Pharo-contributions GH organization? Is that the
> "go-to" repository for this case? I'm not often clear about under which GH
> user/org something s
Hi,
is there a way to instruct Metacello to only install
BaselineOfs/ConfigurationOfs instead of the entire project? For the
purposes of analyzing dependencies.
Thanks,
Peter
Hi,
I know I can "Browse Dependencies" of a particular package, but this only
shows me the dependencies of the selected package X.
What I am looking for is a list of packages that depend on X ... is that
possible?
Thanks,
Peter
I think it is "going to be replaced" for several years now, so I wouldn't
worry about it too much.
Peter
On Sun, Oct 14, 2018 at 10:53 AM Hilaire wrote:
> Hi,
>
> I read on some Rubric class comment, it will be replaced or merged with
> TxText.
>
> I heard about TxText on this list, but what is
Hi,
is there some library that will allow me to chain select:/collect:/... via
cascade?
E.g.
#(12 7 'a' nil #(0)) query reject: #isNil; select: #isNumber; collect:
#squared; select: #even?
The point is to not have to write billion parentheses when building a more
complex query.
I imagine this
Yes, this is fixed in P7
https://pharo.fogbugz.com/f/cases/20212#BugEvent.193460
solution is to close your image and open again, or go to process browser
and kill the new UI loop that started.
As a workaround you can do parseExpression:onError: (or whatever the name
is)... or I've made a small wr
Hi Doru,
I imagine the replacement is Pavel's Ring2
https://github.com/pavel-krivanek/ring2
Peter
On Fri, Oct 19, 2018 at 10:56 PM Tudor Girba wrote:
> Hi,
>
> Ring seems to be deprecated in Pharo 7. Is there something else it will be
> replaced with?
>
> In particular, I am looking for the co
On Fri, Nov 9, 2018 at 1:26 PM Roelof Wobben wrote:
> Thanks all.
>
> This code seems to do the job
>
> santaFloorOnBasement
> "calculates which step take Santa to the basement"
> | index|
> index := 1.
> [floor ~= -1 ] whileTrue:
> [ floor := ((input at: index) = '(' )
>
> but how do I find now the answer do I have to do something like puzzle1
> stepChanges detectIndex ?
How do you mean? It would be the same
santaFloorOnBasement
"calculates which step take Santa to the basement"
stepChanges := input collect: [ :c |
floor := floor + (c = '(' ifTrue:
Maybe useful... some months ago I've reimplemented FAME's links (and added
support for ToOne, etc.) https://github.com/openponk/synchronized-links
I wanted to add supports for slots, but didn't get around to it yet... but
maybe it will be easier to adapt this than to rewrite everything from
scratch
Not necessarily unreadable, but I always find the UIManager & co. very
confusing. There's a very recent discussion on part of it here
http://forum.world.st/Streams-and-FileDialog-in-Pharo-6-and-7-td5084352.html
And the combinations and variations of arguments is also a mess
https://gist.github.com
Hi,
> Instance of ByteString doesn’t understand #atEnd.
This is a very typical error when you have accidentally passed a String
instead of a Stream.
... which you did here:
> stream := workingDir/myFileName readStreamDo: [ :stream | stream
contents].
You can either operate directly on the file
The main benefit of using separate packages instead of tags is that you can
choose what to load.
That's why MyPackage-Test is best kept separate, because when other project
is loading your project, they don't need to load such package (which can
speed up dependency loading and makes for smaller im
Hi,
3) Metalinks - it's based on intercepting method calls, right? But I need
to intercept direct instance variable write, so probably not possible
no, you can attach metalink to any AST node, including an Assignment Node.
Some years ago I've made a small utility for this that also
auto-reinstall
201 - 226 of 226 matches
Mail list logo