Steven
The question you need to consider is how much the results vary from one
repetition to another. If they are very variable, then the average will still
be variable. In the case of your 100 repetitions, for instance, you can work
out a confidence interval for the mean quite easily. Find
Hello
I have decided to have another try with PunQLite, having failed to get it
working before. For the record, I am using Windows 10 Home with all recent
updates applied.
I tried the following:
1. Download latest image of Moose 6.1 (Pharo 6.0 Latest update:
#60507).
2. Searc
Thanks for any help
Peter Kenny
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 11 July 2017 18:27
To: pharo-users@lists.pharo.org
Subject: [Pharo-users] Problems with PunQLite
Hello
I have decided to have another try with PunQLite
it in same dir as your image? (which is where should be the
downloaded dll, so you need to replace it).
cheers!
Esteban
On 12 Jul 2017, at 14:10, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote:
Hello
Just an update on a further test. Going through old e-mails, I saw E
Hello
I have a problem in loading Pharo images which, until yesterday, loaded
without difficulty. All the images showing the problem are Pharo 6 with the
Cog VM; older images do not seem to be affected.
The first sign of a problem is that, as soon as I start the image, the debug
console app
all it? If so, where from?
Thanks
Peter Kenny
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 15 July 2017 11:26
To: pharo-users@lists.pharo.org
Subject: [Pharo-users] Mysterious problem in loading Pharo
Hello
I have a problem in loading
Subject: Re: [Pharo-users] Mysterious problem in loading Pharo
Maybe revew recent Windows 10 updates...
http://www.sysprobs.com/how-to-view-installed-updates-on-windows-10-8-1-server-2012
cheers -ben
On Sat, Jul 15, 2017 at 6:26 PM, PBKResearch mailto:pe...@pbkresearch.co.uk> >
1-server-2012
>
> cheers -ben
>
> On Sat, Jul 15, 2017 at 6:26 PM, PBKResearch
> wrote:
>
> > Hello
> >
> >
> >
> > I have a problem in loading Pharo images which, until yesterday,
> > loaded without difficulty. All the images showing the prob
Julián
I don’t know Chalten, but I wonder whether your definition of Person>>ageOn:
will work correctly. Could I suggest you add two extra assertions to your test:
assert: (john ageOn: February fifteenth , 2013) equals: (TimeUnits year with:
49);
assert: (john ageOn: April first , 2013) e
k you were expecting #dayNumber
(January third, 1990) day. "Wednesday".
(January third, 1990) dayOfMonth. "January 3"
(January third, 1990) dayNumber. "3"
On 27 July 2017 at 16:43, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote:
Julián
I
Johannes
Just a suggestion: FLMaterializer class >>materializeFromFileNamed: requires
as argument aFilename, not aFileRefence. Presumably this means the name as a
string. This makes sense, because #convertToWithConverter: is the name of a
method understood by strings. If your invocation of the
Sean
This seems to be what the PPAndParser is designed for. I tried the
following:
identifier := #letter asParser plus flatten.
exclusion := ('Bar' asParser / 'Baz' asParser) negate.
restricted := identifier and, exclusion.
restricted matches: 'abc'. "--> true"
restricted matches: 'Baz'. "--> fa
usion.
Peter
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 06 August 2017 13:28
To: 'Any question about pharo is welcome'
Subject: Re: [Pharo-users] PetitParser: Parse X as long as it's not Y
Sean
This seems
Sean
One extra point. You may need to post-process the parse to get what you
want. In the 'restricted' line, if you don't have a #gen then 'gen negate'
will have succeeded and will generate its own node in the parse - in your
example of ' Paul' as input it will be $P. Assuming you don't want this
Hannes
You are certainly not required to eliminate #name altogether; all you have to
do is to ensure that any object that receives the message #name knows how to
answer its own name in an appropriate way. To rephrase Ben’s second para in a
more long-winded way:
a. Run the code that
I agree with Dimitris - it is all a matter of preference - not all eyes are the
same. For myself, I find the default dark theme in Pharo very uncomfortable. On
my system, some elements have a black foreground on a dark grey background,
which is almost impossible to see. This is always true of th
text is white and shows up OK.
But I still don’t like it.
Peter Kenny
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 27 August 2017 23:48
To: 'Any question about pharo is welcome'
Subject: Re: [Pharo-users] Dark Mode
Dimitris
Hello All
Following the discussion on dark mode, I was browsing the code on themes (in
Moose 6.1 = Pharo 6.0, Latest update: #60486). In Class ThemeIcons, I found
this method:
downloadTo: dir
| zipArchive |
zipArchive := self class destinatio
always too much code too few people. If you think that's bad
> embrace yourself if you try to read Morphic code. Huge suffering for
> me when I tried to learn how the task bar works and apparently using
> it wrong it freezes the image.
>
> Tons of Pharo code needs a clean but need
t of each other.
That being said, one could quite easily create a criticized for the special
case of a single method, lacking any other implementations, that doesn't use
it's argument.
On Aug 31, 2017 11:55, "PBKResearch" mailto:pe...@pbkresearch.co.uk> > wrote:
St
Sean
I'm not an expert on PetitParser, but I think I understand what is
happening. If I am right, I would expect the parser which fails to also
fail, for the same reason, if the input is just 'John Smith' without the
'Jr'. If this is not so, you can disregard the rest of this post.
The top-level
Hello All
I have a little puzzle to disturb your Sunday lunch, maybe. I have been
scraping text data from web pages, which often comes with redundant space
before or after. I routinely use 'trim' on the final string output, but I
have found cases where there are still redundant spaces. Inspecti
o is welcome
Subject: Re: [Pharo-users] Is a non-break space whitespace?
On 25 Sep 2017, at 09:53, Richard Sargent mailto:richard.sarg...@gemtalksystems.com> > wrote:
Ben Coman wrote
On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch <
<mailto:peter@.co> peter@.co
>
In another thread (on SVG Icons) Sven referred to ways of getting input from
a URL for XMLDOMParser. I have recently had some problems doing this. I have
found a workaround, so it is not urgent, but I thought I should put it on
record in case anyone else is bitten by it, and so maybe Monty can look
Paul
Good to have found the charset discrepancy - that may have something to do with
it. But I don't think it has to do with the C’è in the body of the page. I have
just parsed another page published today, with the same error, and again it
fails in parsing the node, so it has not even reached
I waded through the list of 'enhancements', and was astonished to find this. Is
there to be an alternative way of producing the same appearance as the 'Watery'
theme? If not, how can the removal of a facility be called an 'enhancement'? I
always switch to this theme when I load a new image, beca
2017-11-05 12:00 GMT+01:00 PBKResearch mailto:pe...@pbkresearch.co.uk> >:
I waded through the list of 'enhancements', and was astonished to find this. Is
there to be an alternative way of producing the same appearance as the 'Watery'
theme? If not, how can the remova
Siemen
Stef should have added that XPath depends on using Monty's XMLParser suite. I
tried your snippet on XMLDOMParser, and it parses correctly. I always use
XMLHTMLParser for parsing HTML, because I can always see the exact relationship
between the parsed structure and the original HTML. With
Kjell
Almost certainly the HTML files will not contain the code for the actual
pictures; they will just contain an ‘href’ node with the address to load the
picture file from. If the web pages are built to a regular pattern, you should
be able to parse them and locate the href nodes you want.
Sean
The trick is to url encode the bit that contains the accented characters. In
your case, try:
('https://en.wiktionary.org/wiki/','prêt#French' urlEncoded ) asUrl
If you use urlEncoded on the whole string, the encoded slashes seem to confuse
things.
HTH
Peter Kenny
-Original Message-
Sanjay
I have had messages like this when I inadvertently tried to start two copies
of the same image (in my case pharo 6.1). The first image was running
happily in the background, the second gave this message (but still seemed to
start OK). I am also on Windows 10, using 32-bit Pharo.
HTH
Peter
Sanjay
I don't know how to identify the VM version - it is the one which was
current when I downloaded my current image in July 2017; the .exe has a
creation date of 31 May 2017.
The point of my comment was that this message does not only come from a
conflict of access permissions. In my situatio
Are you sure it's a bot? Google the name - there is a real person living near
Seattle, with an interest in Smalltalk. I think the same person posts on the
Dolphin list using the name picoVerse. Granted the style is weird and it often
doesn't seem to make sense, but it's a person.
Peter Kenny
-
Hello
I have a puzzle as to how to implement a start-up action. I would like to
have a monitoring process running in the background while I am working on my
project, and it would be easier if this process started up automatically
when the image is loaded. I have hunted through my current image,
I have tried this on my latest Dolphin (Pro 6.1 Beta 2):
3 @ -5 is accepted and interpreted correctly.
3 @ - 5 is rejected with message: 'Error - incorrect expression start'; the
caret is pointing at the - sign.
So the Opal behaviour does not mirror that of Dolphin.
Hope this helps
Peter
Hello
I have run into a problem in moving some existing work from earlier versions
of Pharo/Moose. I have found a work around, but I wonder if there is a
tidier way of handling it.
I make frequent use of Todd Blanchard's HTML parser and validator, HTMCSS
(http://smalltalkhub.com/#!/~ToddBla
: Any question about pharo is welcome
Subject: Re: [Pharo-users] Problem due to deprecation of class Url in Pharo
3 and Moose 5.0
> On 10 Jan 2015, at 16:45, stepharo wrote:
>
>
> Le 10/1/15 11:41, PBKResearch a écrit :
>> Hello
>>
>> I have run into a problem
Hi Torsten
This looks very interesting. I am looking at a project which needs simple
persistence, and I was considering MongoDB plus Voyage, which looked like
overkill. I shall definitely be trying PUnQLite.
I am not yet on Pharo 4; I am using Moose 5.0, which is essentially Pharo 3. To
load P
ns here. There are many
people watching, and there is the chance of a bit of lateral thinking.
Posted here also because my attempts to e-mail Monty directly have failed,
so thanks again Monty.
Peter Kenny
From: PBKResearch [mailto:pe...@pbkresearch.co.uk]
Sent: 10 January 2015 10:41
To
Hello
I am using Moose 5, which is essentially Pharo 3, downloaded late December
2014. I have a development project which mainly consists of a collection of
workspaces and inspectors (I really do intend to turn it into a properly
structured set of classes one day!). I have noticed that, wheneve
?
I have never seen that in Pharo. Are your titles dynamic (I mean, when the
object changes, can your title change ?) ?
2015-02-18 11:35 GMT+01:00 PBKResearch mailto:pe...@pbkresearch.co.uk> >:
Hello
I am using Moose 5, which is essentially Pharo 3, downloaded late December
2014. I
t on a fresh image, it will be easier for us to help you ;)
I cross-posted to the Moose mailing list where people are more aware of this
kind of issues.
Vincent
De : Pharo-users [ <mailto:pharo-users-boun...@lists.pharo.org>
mailto:pharo-users-boun...@lists.pharo.org] De la p
I have been working with Moose 5.0 on a project involving natural language
processing. I used TextLint to parse the input, just because it contained a
set of parsers which gave output in a convenient form. I have read all about
the virtues of Pharo 4, and decided to give it a try, so I set out to
r
OrderedCollection>>removeDuplicates?
Peter Kenny
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
p...@highoctane.be
Sent: 05 May 2015 17:07
To: Any question about pharo is welcome
Subject: [Pharo-users] asOrderedSet
Looks like we haven't that one.
So, how d
5.0 (Pharo 3) to
Moose 5.1 (Pharo 4)
De : Pharo-users [ <mailto:pharo-users-boun...@lists.pharo.org>
mailto:pharo-users-boun...@lists.pharo.org] De la part de PBKResearch
Envoyé : mardi 5 mai 2015 18:01
À : <mailto:pharo-users@lists.pharo.org> pharo-users@lists.pharo.org
Objet :
boun...@lists.pharo.org>
mailto:pharo-users-boun...@lists.pharo.org] De la part de PBKResearch
Envoyé : mercredi 6 mai 2015 12:12
À : 'Any question about pharo is welcome'
Objet : Re: [Pharo-users] Problems in switching from Moose 5.0 (Pharo 3) to
Moose 5.1 (Pharo 4)
Vincent
Pete
Hello
I have been trying to use Soup class>> fromUrl: to access the contents of a
web page. It halts with a message from Zinc about malformed UTF-8. The page
displays perfectly in Firefox, so I copied the page source from there to a
local file and tried to read it from there. Again a message fr
d from bytes to characters
> On 08 May 2015, at 18:51, PBKResearch wrote:
>
> Hello
>
> I have been trying to use Soup class>> fromUrl: to access the contents of a
> web page. It halts with a message from Zinc about malformed UTF-8. The page
> displays perfectly in Firefox, so
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Problem using Zinc in Pharo 4 (Moose 5.1)
> On 09 May 2015, at 02:18, PBKResearch wrote:
>
> Sven
>
> Many thanks for the quick response. I always like to try to solve problems
> myself before appealing for help,
Hello
I have found a way round this problem, but it seems messy and uncomfortable,
so I thought I should ask what is the right way to do it.
I have just changed from using Moose 5.0 (Pharo 3.0, update: #30862) to
Moose 5.1 (Pharo 4.0, update: #40613). I had a rather complex dictionary
struc
Sean
Thanks for this. At the back of my mind in asking was whether I want to use
Fuel more extensively as a way of storing object structures long term on
disk. If I move to Pharo 5 later on, will that have a new version of Fuel
which will refuse to read my saved files, so that I will have to conve
Hello all
Thanks for the comments. I should have made myself clearer in my second post
(moral: don’t post after midnight!). The original query related to a simple
case, which I had solved, but which alerted me to the problem of incompatible
versions in Fuel. The next stage of my work (still
Hello
In analysing XML documents produced by XMLHTMLParser, I sometimes find
results presented as a PastellCollection. I have found this class in the
System Browser, as a subclass of OrderedCollection, but there is no class
comment. Reading the method code does not help me find out what it does
Maybe a FILOStack has lots of very thin layers?
(http://en.wikipedia.org/wiki/Filo)
Best wishes
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
Sven Van Caekenberghe
Sent: 01 June 2015 08:13
To: Any question about pharo is w
There is a simpler way than Norbert’s suggestion. Find the class
ZnResourceMetaUtils (in the package Zinc-Resource-Meta-Core). Locate the class
side method #queryKeyValueSafeSet. Remove the comma from the string. With this
change your ‘Google’ example generates the query line with the ‘%2C’ enco
um 01:22 schrieb PBKResearch mailto:pe...@pbkresearch.co.uk> >:
There is a simpler way than Norbert’s suggestion. Find the class
ZnResourceMetaUtils (in the package Zinc-Resource-Meta-Core). Locate the class
side method #queryKeyValueSafeSet. Remove the comma from the string. With this
Sven
As I read the code, there are two methods in ZnMetaResourceUtils class which
specify percent encoding of queries, #queryKeyValueSafeSet and #querySafeSet.
The first is used in encoding the (key, value) pairs, the second in encoding
the fragment after the #. It is not clear whether we need
No offense meant. I assumed you would know the term. Sorry! Henry explained it
quite good what I meant.
Norbert
Am 11.06.2015 um 09:51 schrieb PBKResearch mailto:pe...@pbkresearch.co.uk> >:
I don’t quite understand Norbert’s comment. Does ‘monkey’ apply to me or to
what I hav
Sven
One thing which has not been looked at in this discussion is why Jimmie's first
attempt to solve the problem failed. He replaced every comma in the query by
its percent encoding, '%2C'. This failed because ZnClient replaced this by
'%252C', i.e. it percent encoded the percent sign. In my f
...@lists.pharo.org] On Behalf Of
Norbert Hartl
Sent: 11 June 2015 17:07
To: Pharo users users
Subject: Re: [Pharo-users] ZnClient and percent characters
Am 11.06.2015 um 16:51 schrieb PBKResearch mailto:pe...@pbkresearch.co.uk> >:
Norbert
Apology accepted – I had never heard this
characters
Am 12.06.2015 um 12:03 schrieb PBKResearch mailto:pe...@pbkresearch.co.uk> >:
Norbert
Some comments on your latest post below.
I just wrote because you told Jimmie to alter a method of a third-party
library. And that is a no-go.
Zinc, like almost all of Pharo,
Sean
XMLHTMLParser is a subclass of XMLDOMParser, which allows the specification
of a node factory to provide custom handling of nodes. Depending on what you
want to achieve, this might help.
Best wishes
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.
Hi Offray
Well, none of the experts has come forward to help, so maybe I can comment as
almost a complete beginner. I think you need two additional bits of
specification in your example to get the output you want:
a. To show the node titles in the #tree pane, you need to add a format: clause,
Hello
I have played with this on Moose 5.0 (Pharo 3.0 update: #30854) on Windows 7
Pro. For me, it is necessary to include color:Color red after openInWindow to
get the red background, as Thierry said. There is another puzzle, which is that
the code does not respond in any linear way to chan
Hello
I have been playing with Moose 5.0 (Pharo 3.0 update: #30854) on Windows 7
Pro, trying to copy and paste code from e-mails in another thread. However,
if I open a Playground (which is what I get when I click 'Workspace' in the
World Menu), I find that the right click menu does not have an
I don’t know what technical incompatibilities may exist, but for many
practicalities Pharo is compatible with Squeak and other dialects. I am using
an application (Todd Blanchard’s HTMCSS parser and validator) which was
originally written for Squeak. Some years ago I ported it to Dolphin Smallta
http://smalltalkhub.com/#!/~LaurentLaffont/TilingWindowManager
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of H.
Hirzel
Sent: 11 July 2015 06:04
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Starting TWM
Wh
Hello
Out of curiosity I tried to run the snippet which Alexandre Bergel posted
yesterday under the name 'Script of the day'. It failed, but nothing to do
with the script itself. The problem is that it fails on the line:
'FileLocator documents allChildren.' The debugger message is "Directory do
eal path of your
directories is to right click on one and go to "Properties" => "Location".
Note also that Windows uses "\" instead of "/" for paths. I don't know if it is
relevant in Pharo though.
Cheers,
Matthieu
2015-07-30 11:43 GMT+0
Hello
If you read https://pharoweekly.wordpress.com/2015/07/04/google-speech-engine/,
there is a reference to playing back the .mp3 output of the Google speech
engine. I can’t find the package referred to with the class StreamingMP3Sound;
maybe Sean deNigris can help?
Hope this helps
Denis
Very interesting. It would be more interesting if you could save your test
image as a .png file, and then include reading with PNGReadWriter in your
comparison. This would help to confirm or refute the original point made by
Dimitris, that reading from .png is particularly slow.
Pe
Alexandre
I would strongly disagree with your first proposed change. In my understanding
(English is my native language), 'popularity' is a mass noun, not countable,
hence the 'an' is incorrect. Wiktionary, based on an ancient edition of
Webster, allows the possibility of countable use, but the
Hello
I have used Soup, but I now prefer XMLHTMLParser, because I find it easier to
relate the structure of the XML output to that of the original web page. It is
also possible to use XPath to locate the target area more quickly. I
particularly like Monty’s ‘Smalltalkish’ adaptation of XPath
Bernardo
Being now retired, I do programing just for intellectual stimulation. Your
problem looked as though it would provide more interest than cryptic crosswords
or Sudoku, and it touches on areas of Pharo use that I have some experience
with. So…
The attached file, BernardoDemo.st, sh
Hello
I have recently used NeoJSON for the first time. All went pretty well, but I
would like to make a small tweak to the output, which probably involves
defining a mapping. I have read through the information in the NeoJSON pdf,
and also looked at the class comments, but I am a bit lost. Cou
-> self factors;
add: 'nutrients' -> self
nutrients;
yourself)
i just implement my own writing for my objects.
HTH
On Thu, Jun 30, 2016 at 12:06 PM, PBKResearch mailto:pe...@
Hello
I am using XPath as a way of dissecting web pages, especially from
Wiktionary. Generally I get good results, but I could get useful extra
flexibility by using the binary Smalltalk operators to represent XPath, as
mentioned at the end of the class comment for XPath. However, the
descriptio
wander if you connote use Soup
to « dissect » your webpages ?
http://www.smalltalkhub.com/#!/~PharoExtras/Soup
HTH,
Cédrik
Le 1 sept. 2016 à 15:26, PBKResearch mailto:pe...@pbkresearch.co.uk> > a écrit :
Hello
I am using XPath as a way of dissecting web pages, especiall
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
Hernán Morales Durand
Sent: 01 September 2016 18:54
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Coding XPath as Smalltalk
Hi Peter,
2016-09-01 10:26 GMT-03:00 PBKResearch mailto:pe
;, 'comment()', 'element(name)'.
Filters aren't officially supported with that syntax, but you can always use
select: on the result. ?? was removed, but I might add it back as shorthand.
Filters are implemented differently now.
> From: PBKResearch
> To: pharo-us
monty
Sent: 03 September 2016 13:00
To: pharo-users@lists.pharo.org
Subject: Re: [Pharo-users] Coding XPath as Smalltalk
> Sent: Saturday, September 03, 2016 at 5:30 AM
> From: PBKResearch
> To: "'Any question about pharo is welcome'"
> Subject: Re: [Pharo-users]
Hello
I am using Moose 6.0 (Pharo 5.0 Latest update: #50761) on Windows 10. I have
installed PunQLite following the instructions in
https://github.com/mumez/PunQLite. I have run all the examples that involve
using files, and everything seems OK. I have tried creating a database using
my own dat
Hi - just tried a further experiment, with more mysterious results. I
created a database in memory with a subset of my data. This time the program
will retrieve the values as well as the keys. However, the value presented
is just the first 1024 bytes, i.e. the first buffer full. In addition, in
the
baseline: 'PunQLite';
load.
… even if it is basically the same (and we submit changes to mumez repository
too), this is the correct place for us :)
cheers,
Esteban
On 06 Sep 2016, at 00:37, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote:
Hi – just tried
Hello
I have been exploring further, following problems mentioned in an earlier
post, and I have identified what looks like a definite bug. I can't say
whether it explains any of my earlier problems, but it seems worth
mentioning in its own right.
To be clear, I am using the version posted
Stef
> We should not have "The Pharo Way" (TM) or "No way!"... suddenly
> Markus talk about feedback loops comes to mind, particularly the
slide
> on page 53, regarding "An open source smalltalk ignoring all
community
> contributions"[2]. This is far for being t
Well did he? All I saw was an attempt to justify what he had said, in terms of
the difficult history etc. Forceful argument is fine, but a personal attack
like the one Offray quoted is unforgiveable. It could be put to bed if Stef
would just say ‘sorry’ for that. But I’m not holding my breath.
Paul
Not sure if this is helpful - I have not tried it out, but it may give you a
pointer.
As Sven says, you need to parse a stream and be able to stop when you reach
the desired point. If instead of Soup you use XMLHTMLParser, this has
streaming siblings called SAXHTMLHandler and SAX2HTMLParser.
, I don't know
what is the best way to convert it into a string, perhaps this:
text := (result second inject: (WriteStream on: '') into: [ :stream :char |
stream nextPut: char. stream ]) contents
Cheers,
Jan
[1]: https://github.com/kursjan/petitparser2
On Sun, Nov 27, 201
Hello Marcus
I decided to join the Association. Just one oddity in the sign up process.
There is a mandatory question about public listing, with just one box to tick,
saying I want to be listed. The system won’t let you proceed unless you answer
this question, and the only permitted answer i
Browsing in Pharo, I found that Dictionary has a subclass KeyedTree, which is
in effect a set of nested dictionaries. Retrieval is by quoting a path, which
is simply an array of keys. So in your case it would read:
dict1 atPath: #(’key1’ ‘key2’ ‘key3’).
This might be more efficient than repeat
Christoph
It looks as though MenuMorph>>invokeModal should do what you want. The method
comment has a useful code demo.
HTH
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
Christoph J. Bachinger
Sent: 28 April 2017 09:25
To: p
With reference to Norbert's comment, there /may/ be an ambiguity about the
word 'header' in Udo's reply. It could refer to the http HEAD section, in
which case Norbert is of course right. It could also refer to the
section of the html file, which is part of the content of the http response.
If it
extElement, and #nextElementNamed:, which return the next
event object(s) as DOM subtrees (searchable with XPath). See the StAXParser
class comment for an example. (The StAXHTMLParser class requires XMLParserHTML
be installed to work.)
> Sent: Friday, May 12, 2017 at 5:30 AM
> From: PBK
only way out is to rebuild my image from the Moose 6.0 download. Any
suggestions gratefully received.
Thanks in advance
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 15 May 2017 19:16
To: 'Any question
from my current versions.
Anyway, I now have a working system with the StaX and HTML parsers, so I can
continue to explore.
Best wishes
Peter Kenny
-Original Message-
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
PBKResearch
Sent: 15 May 2017 20:44
To:
ialize]]
and try running the tests again.
> Sent: Monday, May 15, 2017 at 6:50 PM
> From: PBKResearch
> To: "'Any question about pharo is welcome'"
> Subject: [Pharo-users] Problems loading XML System ( was Re: [Zinc]
> ZnInvalidUTF8: Illegal leading byte fo
arser parseURL: aURLString.
StAX is more useful with XML than HTML, because XML documents can be huge.
> Sent: Tuesday, May 16, 2017 at 6:39 PM
> From: PBKResearch
> To: "'Any question about pharo is welcome'"
> Subject: Re: [Pharo-users] Problems loading XML Sy
Stef
Cyril is right; there is a class KeyedTree which is a subclass of Dictionary
and is in effect a set of nested dictionaries. There was a brief discussion of
this in April, initiated by Markus Böhm, who wanted a neat way of looking up
entries in nested dictionaries. KeyedTree uses the ide
my
code simply reproduces the essentials of ZnPercentEncoder>>encode:.
I seem to be trying to monopolize this thread, so I shall shut up now.
HTH
Peter Kenny
-Original Message-
From: Pharo-users On Behalf Of PBKResearch
Sent: 24 March 2019 15:36
To: 'Any question about p
1 - 100 of 188 matches
Mail list logo