Re: [Pharo-users] mentor question 2.

2020-04-27 Thread PBKResearch
On Behalf Of Roelof Wobben via Pharo-users Sent: 27 April 2020 12:23 To: pharo-users@lists.pharo.org Cc: Roelof Wobben Subject: Re: [Pharo-users] mentor question 2. Op 27-4-2020 om 13:16 schreef PBKResearch: Roelof You maybe have enough mentors already, but there are some important featur

Re: [Pharo-users] mentor question 2.

2020-04-27 Thread PBKResearch
Roelof You maybe have enough mentors already, but there are some important features of this problem which can be of use in future. Your code solves the problem, but it could be improved in two ways, which make it simpler and clearer. 1. What is the purpose of the local variable 'isVali

[Pharo-users] Problem switching from PetitParser to PetitParser2

2020-04-14 Thread PBKResearch
Hello I have been switching part of a package called TextLint so that it uses PetitParser2 as the parsing engine. For the most part it went fairly smoothly, but I have one problem which occurs in many places. The original parse rules had many conditional matching rules based on PPPredicateObjec

Re: [Pharo-users] Pharo 8: What is the VM doing when I am doing nothing?

2020-04-11 Thread PBKResearch
have to block the event loop somehow so it waits vs polls). Tim On Sat, 11 Apr 2020, at 12:27 PM, PBKResearch wrote: Hello. I have noticed a curiosity when I am running Pharo 8 on Windows 10. I am in the habit of leaving the Task Manager open when I am working, and it seems that Pharo 8

[Pharo-users] Pharo 8: What is the VM doing when I am doing nothing?

2020-04-11 Thread PBKResearch
Hello. I have noticed a curiosity when I am running Pharo 8 on Windows 10. I am in the habit of leaving the Task Manager open when I am working, and it seems that Pharo 8 is using the CPU when I am doing nothing. When the image - which is exactly as first loaded, with only the welcome window visibl

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-08 Thread PBKResearch
the problem was to free twice the BSTR in the Variant. >> It was being free in the access to the value and in the free of the struct. >> Why it works with other BSTR when they are smaller, I cannot know. >> >> I have added another smoke test using Word >> >> C

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-08 Thread PBKResearch
Tomaz, that was my understanding from the VBA piece you cited yesterday. So presumably it must be something in Pharo-Com which imposes the limits we have seen. I am OK at the moment, because all this work is just an exploration of possibilities; I can wait until you and Pablo have sorted it out.

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread PBKResearch
Hi Tomaz Yes, that is exactly the problem I had, and the limit of 260K characters is consistent with my tests. I can get round it by saving the HTML to disk using the MailItem.SaveAs method, and then reading the file back from disk. I would try doing that with a memory disk, but I suspect th

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread PBKResearch
Peter Kenny From: Pharo-users On Behalf Of PBKResearch Sent: 07 April 2020 18:28 To: 'Tomaž Turk' ; 'Any question about pharo is welcome' Subject: Re: [Pharo-users] Automation of MS Office from Pharo Hello Tomaž I have been exploring today, to try to narrow do

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread PBKResearch
cause it's not obvious from your description at which stage the problem occurs. Could you trace it with the debugger, and/or possibly post here the piece of code that fails? Thanks and best wishes, Tomaz -- Original Message -- From: "PBKResearch" mailto:pe...@pbkr

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-06 Thread PBKResearch
to support the new version of UFFI (the framework in Pharo to handle FFI calls) have broken the Pharo 7 version, so I will fix it to maintain compatibility. It is great that you were able to make it work! Cheers, On Mon, Apr 6, 2020 at 12:18 PM PBKResearch mailto:pe

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-06 Thread PBKResearch
om/excel-help/excel-how-to.php?i=124116 The calling among COM objects is asynchronous, and it's usually wise to wrap it in error handling structures. Please tell us how it goes. Best wishes, Tomaz -- Original Message -- From: "PBKResearch&q

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
the two messages. I thought the 'finalize' command would close it down. Anyway, it looks as if I need to switch to P8 to use Pharo-Com. I shall continue testing tomorrow on P8. Sorry for the late-night hassle. Peter -Original Message- From: Pharo-users On Behalf Of PBKRes

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
5 April 2020 21:47 To: Any question about pharo is welcome Subject: Re: [Pharo-users] Automation of MS Office from Pharo Ok, I was trying to find an easy solution. I will try tomorrow morning to see the problem. Sorry, On Sun, Apr 5, 2020 at 10:29 PM PBKResearch wrote: > > Pablo – Yes, I s

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Check in the documentation of pharo-com(the read me in the same repo) On Sun, Apr 5, 2020, 21:41 PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote: Hello Pablo Many thanks for the suggestion. I have tried to use Pharo-Com to connect to Outlook, and have now got myself into a compl

[Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Hello All I am using Pharo (currently P7, moving to P8) under Windows 10. I have MS Office 365 on my system, and use it regularly for non-Smalltalk tasks. It would be very convenient if I could issue commands to MS Office components from within Pharo. My current interest is to manage my incomin

Re: [Pharo-users] How should XMLHTMLParser handle strange HTML?

2020-04-02 Thread PBKResearch
, 2020 at 2:17 PM PBKResearch wrote: > > Hello > > > > I have come across a strange problem in using XMLHTMLParser to parse some > HTML files which use strange constructions. The input files have been > generated by using MS Outlook to translate incoming messages, stored in

[Pharo-users] How should XMLHTMLParser handle strange HTML?

2020-04-02 Thread PBKResearch
Hello I have come across a strange problem in using XMLHTMLParser to parse some HTML files which use strange constructions. The input files have been generated by using MS Outlook to translate incoming messages, stored in .msg files, into HTML. The translated files display normally in Firefox,

Re: [Pharo-users] Json encoding

2020-03-20 Thread PBKResearch
Vitor First clarification: There are two different serialization formats, json and STON. The content of a json file can only be number, Boolean, string, array, dictionary. STON is an extended form based on json, designed to represent (almost) any Smalltalk object. Second clarification: W

Re: [Pharo-users] can I somehow test the contents of a package

2020-02-14 Thread PBKResearch
Hello everyone I have received this e-mail, and another one from Phil quoting the same download link in an entirely different context. I have not downloaded it, because I think there is something suspicious about it. Has anyone else any suspicions? Has someone hacked into my e-mail, or is it th

Re: [Pharo-users] NeoJSONParseError: invalid input: ' while parsing a Wikipedia exported article.

2020-02-08 Thread PBKResearch
Offray I have a workaround, not an explanation. I don't use NeoJSON, because for me the JSON facilities of STON are sufficient. So I tried you script with 'NeoJSONReader fromString:' replaced by 'STON fromString:' - everything worked perfectly, no parsing error. So clearly there is nothing wron

Re: [Pharo-users] Fuzzy Thinking in Smalltalk

2020-02-05 Thread PBKResearch
Norbert Is that really all you can see? If you trace back this thread, it began with a post (less than 24 hours ago) by Richard Kenneth Eng, drawing attention to a blog post by Lorenzo, whose title is also the subject of the thread: https://smalltalk.tech.blog/2020/02/04/fuzzy-thinking-in-sm

Re: [Pharo-users] Dictionary removeKey: very low

2020-02-03 Thread PBKResearch
Pierre It’s all to do with rehashing. A dictionary is stored as an Array of Association. After a key and its corresponding association is removed, the remaining entries are rehashed from the removal point to the end of the array. By doing the removals in natural order, you rehash the whole o

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2020-01-07 Thread PBKResearch
lds “false" ingredientsXML inspect has errors: #new sent to nil . This makes no sense at all. L On Jan 7, 2020, at 1:55 AM, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote: It may be a quirk of how Pharo Playground works. It doesn't need local vari

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2020-01-07 Thread PBKResearch
It may be a quirk of how Pharo Playground works. It doesn't need local variable declarations - which is convenient - but putting them in can screw things up. Try your snippet again without the first line. Compare Torsten's code. HTH Peter Kenny -Original Message- From: Pharo-users On

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-30 Thread PBKResearch
Sean I used Soup a few times, but found it difficult to interpret the output, because the parse did not seem to reflect the hierarchy of the nodes in the original; in particular, sibling nodes were not necessarily at the same level in the Soup. XMLHTMLParser always gets the structure right, in my

Re: [Pharo-users] Strategy for investigating test failures

2019-10-20 Thread PBKResearch
. Tim Sent from my iPhone > On 20 Oct 2019, at 20:11, PBKResearch wrote: > > Sven > > Thanks - the real problem is my unfamiliarity with P7, so hints like this are > helpful. I am happier with familiar systems, but I will switch to the latest > Moose suite soon. > &g

Re: [Pharo-users] Strategy for investigating test failures

2019-10-20 Thread PBKResearch
. Tim Sent from my iPhone > On 20 Oct 2019, at 20:11, PBKResearch wrote: > > Sven > > Thanks - the real problem is my unfamiliarity with P7, so hints like this are > helpful. I am happier with familiar systems, but I will switch to the latest > Moose suite soon. > &g

Re: [Pharo-users] Strategy for investigating test failures

2019-10-20 Thread PBKResearch
> On 20 Oct 2019, at 16:37, PBKResearch wrote: > > Hello all > > I have done some experiments, and basically all the questions in my previous > mail can be ignored. I think it is all a question of timing, which I sort of > understand. Perhaps someone can clarify for me.

[Pharo-users] Strategy for investigating test failures

2019-10-20 Thread PBKResearch
Hello all I have done some experiments, and basically all the questions in my previous mail can be ignored. I think it is all a question of timing, which I sort of understand. Perhaps someone can clarify for me. All my previous tests involved running the whole test suite, to ensure the set-

[Pharo-users] Strategy for investigating test failures

2019-10-20 Thread PBKResearch
Hello all I would be grateful for hints on strategy in investigating test failures on upgrade. It is an area in which I have no experience; I can see some brute force approaches, but I suspect there are cleverer ways to do it. I have OmniBase working successfully on Moose Suite 6.1 (Pharo 6

Re: [Pharo-users] voyage mongo and transactionality

2019-10-10 Thread PBKResearch
g (in Pharo 7.0 64-bit) is greatly appreciated! Kind regards, Jonathan van Alteren Founding Member | Object Guild jvalte...@objectguild.com <mailto:jvalte...@objectguild.com> On 9 Oct 2019, 20:34 +0200, PBKResearch mailto:pe...@pbkresearch.co.uk> >, wrote: It may be irrelevant, b

Re: [Pharo-users] voyage mongo and transactionality

2019-10-09 Thread PBKResearch
It may be irrelevant, but I have been playing recently with OmniBase, which is a fully object-oriented database system, now over 20 years old, but it still works very well for my uses. David Gorišek, the author, claims that it has ACID properties. From my reading, updates operate on a proxy obje

Re: [Pharo-users] [ ANN ] Neo Universal Binary JSON

2019-10-09 Thread PBKResearch
Sven Excellent. Can the same idea be extended to STON - or is it there already? Peter Kenny -Original Message- From: Pharo-users On Behalf Of Sven Van Caekenberghe Sent: 09 October 2019 13:29 To: Any question about pharo is welcome Subject: [Pharo-users] [ ANN ] Neo Universal Binary JS

Re: [Pharo-users] How to zip a WideString

2019-10-03 Thread PBKResearch
Richard I don't think so. The case being considered for my problem is the compression of a ByteArray produced by applying #utf8Encoded to a WideString, but it extends to any other form of ByteArray. If you substitute ByteArray for SomeClass in your examples, I think you will see why the chosen

Re: [Pharo-users] How to zip a WideString

2019-10-03 Thread PBKResearch
-users] How to zip a WideString https://github.com/pharo-project/pharo/pull/4812 > On 3 Oct 2019, at 14:05, Sven Van Caekenberghe wrote: > > https://github.com/pharo-project/pharo/issues/4806 > > PR will follow > >> On 3 Oct 2019, at 13:49, PBKResearch wrote: >>

Re: [Pharo-users] How to zip a WideString

2019-10-03 Thread PBKResearch
flate classes: your > >>> observation is correct, these work from string to string, while clearly > >>> the compressed representation should be binary. > >>> > >>> The contents (input, what is inside the compressed data) can be anything, > &g

Re: [Pharo-users] How to zip a WideString

2019-10-03 Thread PBKResearch
what sizes are we talking about ? Sven > On 3 Oct 2019, at 11:06, PBKResearch wrote: > > Hello > > I have a problem with text storage, to which I seem to have found a solution, > but it’s a bit clumsy-looking. I would be grateful for confirmation that (a) > there is n

[Pharo-users] How to zip a WideString

2019-10-03 Thread PBKResearch
Hello I have a problem with text storage, to which I seem to have found a solution, but it's a bit clumsy-looking. I would be grateful for confirmation that (a) there is no neater solution, (b) I can rely on this to work - I only know that it works in a few test cases. I need to store a lar

Re: [Pharo-users] Code of Conduct

2019-09-24 Thread PBKResearch
These discussions are interesting, but they have nothing to do with Pharo – I’m surprised we have not had a moderator intervening to say they are off-topic and political. The subject line says ‘Code of Conduct’, meaning the proposed Pharo Code of Conduct, so please can we keep the discussion abo

[Pharo-users] Playground - retrieving pages from play-cache

2019-09-22 Thread PBKResearch
I have a mystery when using the 'Play Pages' button on the top right of the playground. One particular file, which has been through several versions, never appears in the drop-down list on clicking this button. It is in the play-cache, and I access it by opening the file from the file explorer with

Re: [Pharo-users] Code of Conduct

2019-09-20 Thread PBKResearch
Sven I think all your complaints against John Pfersich are misconceived: 1. He is talking about the content of the code, which is exactly the topic of the thread. 2. He is claiming that the code as drafted has a political slant. This may be true, false or a matter of opinion, but to discuss wheth

Re: [Pharo-users] Code of Conduct

2019-09-19 Thread PBKResearch
On 19 Sep 2019, at 15:32, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote: Offray You may be right, though I don’t think so. But ‘You have been warned’ was aimed at me; I’m sure of that. Peter Kenny From: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> >

Re: [Pharo-users] Code of Conduct

2019-09-19 Thread PBKResearch
levate the conversation and be respectful with the participants, the better. Cheers, Offray On 19/09/19 8:02 a. m., PBKResearch wrote: I think the comments about “someone that has no name, no repositories, not anything that makes you think is a real member of the community or just a troll” are dir

Re: [Pharo-users] Code of Conduct

2019-09-19 Thread PBKResearch
2019 12:49 To: Any question about pharo is welcome Subject: Re: [Pharo-users] Code of Conduct On 19 Sep 2019, at 12:22, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote: I don’t think this conversation can be closed while things are in the present unclear situation. The

Re: [Pharo-users] Code of Conduct

2019-09-19 Thread PBKResearch
I don’t think this conversation can be closed while things are in the present unclear situation. The github entry at https://github.com/pharo-project/pharo/blob/Pharo8.0/CODE_OF_CONDUCT.md is still there, and has been there since last May. The github discussion on https://github.com/pharo-proje

Re: [Pharo-users] Code of Conduct

2019-09-18 Thread PBKResearch
Serge Your post does not really answer James’s questions about the status of the Code. It seems you personally posted the Code on Github, without prior discussion with the Board. Is this a proposal by you, for discussion by the Board, or does posting it there mean it is adopted as the effect

Re: [Pharo-users] Code of Conduct

2019-09-11 Thread PBKResearch
First, apologies for the shambles of formatting this post. Secondly, having re-read it, I think it was inappropriate to mention Sven in the way I did. I still maintain that there are problems with the code, but I wish to retract the comments about Sven, and I apologise for including them.

Re: [Pharo-users] "whenSelectedItemChanged:" in Spec

2019-07-16 Thread PBKResearch
Steve How did you get the source code for the examples? Pages 12-13 of the "Spec UI Framework" booklet give the code for the methods of class WidgetClassList, and there we find: WidgetClassList >> whenSelectedItemChanged: aBlock list whenSelectedItemChanged: aBlock This looks very much

Re: [Pharo-users] [ANN] (Re)Introducing Mars (Spec 2.0 Gtk3 bindings)

2019-04-18 Thread PBKResearch
+1 to Norbert. In particular, does it mean that, from Pharo 8, we will be *required* to install Gtk3 backend to use Pharo? Peter Kenny From: Pharo-users On Behalf Of Norbert Hartl Sent: 18 April 2019 11:58 To: Pharo users users Cc: Pharo Dev Subject: Re: [Pharo-users] [ANN] (Re)Introdu

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
browser's address/search box is an entirely different thing that adds convenience features, such as the issue we are discussing here. Sven > On 26 Mar 2019, at 16:02, PBKResearch wrote: > > Sven > > That would certainly work, and represents the most liberal possible >

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
; On 26 Mar 2019, at 12:53, PBKResearch wrote: > > Sean > > I have realized that the method I proposed can be expressed entirely within > the Zinc system, which may make it a bit neater and easier to follow. There > probably is no completely general solution, but there is a completely g

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
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

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-24 Thread PBKResearch
url asString do: [ :ch|(':/?%' includes: ch ) -Original Message- From: Pharo-users On Behalf Of PBKResearch Sent: 24 March 2019 12:11 To: 'Any question about pharo is welcome' Subject: Re: [Pharo-users] ZnURL and parsing URL with diacritics Sean, Sven Thinking a

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-24 Thread PBKResearch
Sean, Sven Thinking about this, I have found a simple (maybe too simple) way round it. The obvious first approach is to apply 'urlEncoded' to the received url string, but this fails because it also encodes the slashes and other segment dividers. A simple-minded approach is to scan the received

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-23 Thread PBKResearch
I recall seeing this trick when Sven published it, but I have never tried it. Trying it now, I get strange results. I entered: 'https://fr.wiktionary.org/wiki/péripétie' asFileReference asUrl. And when I inspect the result, it is the address of a non-existent file in my image directory. I am usin

Re: [Pharo-users] How to get to the bottom of the spinning beach ball when first entering Pharo

2019-03-13 Thread PBKResearch
Tim I have never seen a spinning beach ball, but I often find, when coming back to Pharo after using some other application, that there is a delay of a few seconds, during which time I see the standard Windows 'hang on a bit' signal, which is a blue ring near the cursor. My assumption is that t

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread PBKResearch
Cedrick Sorry for not answering sooner. You have probably found what you want. I meant that ‘island + sea’ is now a standard pattern. Follow the link to the tutorial from the readme you referenced – the example of javascript in HTML might carry over well enough to your situation. Peter

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread PBKResearch
Cédrick In principle, what you are asking for is to identify 'islands' of structured information in a 'sea' of otherwise unstructured material, which is now a standard pattern in PetitParser. You could imagine a parser spec of the form: (sea optional, (email/phone/address/), sea optional) p

Re: [Pharo-users] Pharo Object Serialization

2019-02-22 Thread PBKResearch
Bruno OmniBase was ported to Pharo 6+ in Jun 2018. The original porting work was done by Esteban Lorenzano, but he pointed out that, as a non-user, he is not in a position to provide any support. It was used to a small extent by me, and much more by Matias Maretto. The repo is at https://github.co

Re: [Pharo-users] Pharo 7 - RFB

2018-11-25 Thread PBKResearch
Sanjay You may find more information at: https://en.wikipedia.org/wiki/RFB_protocol https://en.wikipedia.org/wiki/Virtual_Network_Computing Do you want to use 'remote access to graphical user interfaces'? If not, maybe you can ignore it. Peter Kenny -Original Message- From: Pharo-users

Re: [Pharo-users] Windows 10 double-click issue + solution

2018-11-25 Thread PBKResearch
John Many thanks for the tip. I have always found double click very erratic on Windows 7 and now on W10. It would eventually work, but was critically dependent on getting the right timing for the click interval. Pushing the pointer towards 'slow' on the mouse settings has improved things a lot.

Re: [Pharo-users] Installing SmaCC

2018-10-16 Thread PBKResearch
Dimitris If you download the latest Moose Suite 6.1, you will have Pharo 6.1 with lots of extra packages, including SmaCC. The SmaCC includes compilers for C, Smalltalk and Java, among others, but with little or no documentation. I am not a SmaCC expert, so I can’t say whether it will do wha

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread PBKResearch
Steffen I do most of my work using Moose Suite 6.1, which is Pharo 6.1 with a lot of extras, because it comes with the tools I want (PetitParser, PP2 and XMLParser) already loaded. The image is huge, but if that's not a problem for you it could be an easy way to get PP2. Best wishes Peter Kenny

Re: [Pharo-users] Query on Pharo syntax

2018-09-10 Thread PBKResearch
Sep 2018 at 02:44, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote: Hi All This is an idiot question, I should know the answer, but I have looked around and can’t find relevant documentation. I’m not asking for a full answer, just a pointer as to where to start looking. I hav

[Pharo-users] Query on Pharo syntax

2018-09-10 Thread PBKResearch
Hi All This is an idiot question, I should know the answer, but I have looked around and can't find relevant documentation. I'm not asking for a full answer, just a pointer as to where to start looking. I have seen from examples in this forum that an expression like the following: paras

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2018-09-10 Thread PBKResearch
Hi Petr I have used #urlEncoded in the past, with success, to deal with German umlauts. The secret is to urlEncode just the part containing the diacritics. If you encode the whole url, the slashes are encoded, and this confuses Zinc, which segments the url before decoding. So I would expect

Re: [Pharo-users] Moose Java AST?

2018-07-31 Thread PBKResearch
Peter How about PPJavaParser or SmaCC-Java? Peter Kenny From: Pharo-users On Behalf Of Peter Uhnák Sent: 31 July 2018 09:44 To: Any question about pharo is welcome ; Moose-related development Subject: [Pharo-users] Moose Java AST? Hi, is there a Java AST parser in Pharo?

Re: [Pharo-users] OmniBase for Pharo 6

2018-07-28 Thread PBKResearch
Marco Thanks again. I was apprehensive about using OmniBase for real. With all green tests I am much happier. Peter Kenny -Original Message- From: Pharo-users On Behalf Of marco Sent: 27 July 2018 14:51 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] OmniBase for Pharo 6 Pet

Re: [Pharo-users] OmniBase for Pharo 6

2018-07-25 Thread PBKResearch
Marco Thanks for this. Just for curiosity, did you test it just on Windows, or on other OSs as well. The logic of the Dec 2010 fix was that David Gorisek’s original, being developed on Dolphin, could not be guaranteed to work except on Windows. I only use Windows, so it is just curiosity. B

Re: [Pharo-users] NeoJSON sorting instance variables/properties

2018-07-25 Thread PBKResearch
Just as a comment to Henrik, NeoJSON will already preserve the order of an OrderedDictionary. When working with Stef on the HTML scraping booklet, I decided to find a way to preserve the order of the selected items, partly for aesthetic reasons, but mainly to demonstrate that the output matched the

Re: [Pharo-users] Pharo 6 Freetype plugin stopped working after Windows update

2018-07-14 Thread PBKResearch
More specifically, it was suggested (by Herby, I think) that it is a timing problem with Windows loading several .dll files at the same time. If the loads complete in the right order, all is well; but in some cases, loading one .dll takes a bit longer, and it is not available when called by anot

Re: [Pharo-users] Pharo 6 Freetype plugin stopped working after Windows update

2018-07-12 Thread PBKResearch
Hello This seems exactly like a problem I reported almost exactly a year ago - 15 July 2017. Peter Uhnak reported then that he saw it regularly. The only sure remedy we found is to reboot the machine - occasionally reboot twice. I am using Pharo 6.1 on Windows 10. Since that report, I have seen

Re: [Pharo-users] XML support for pharo

2018-07-12 Thread PBKResearch
in purpose is to read many xml files and create smalltak objects with that data, then save them in DB and process the data. _ De: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKResearch mailto:pe...@pbkresearch.co.uk> > Enviado: jueves, 12 de julio

Re: [Pharo-users] XML support for pharo

2018-07-12 Thread PBKResearch
Hi Oswall What sort of failure did you get? It helps with this sort of thing to execute the code in a playground and inspect the result. One thing you need to know is that the result of xpath is almost always some sort of XMLCollection, even when there is only one element. I would expect t

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-25 Thread PBKResearch
jet we are working, but well 😊 _ De: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKResearch mailto:pe...@pbkresearch.co.uk> > Enviado: domingo, 24 de junio de 2018 05:54 p. m. Para: 'Any question about pharo is welcome' Asunto: Re: [Pharo-use

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-24 Thread PBKResearch
almost 20.000 objects on it, I really get sorprised of how fast can resolve "select:[] commands"; I know it is not related with the subjet we are working, but well 😊 _ De: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKRes

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-24 Thread PBKResearch
: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKResearch mailto:pe...@pbkresearch.co.uk> > Enviado: sábado, 23 de junio de 2018 05:18 p. m. Para: 'Any question about pharo is welcome' Asunto: Re: [Pharo-users] OmniBase for Pharo 6 Hi Matias A

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-23 Thread PBKResearch
lse I find. Peter Kenny From: Pharo-users On Behalf Of PBKResearch Sent: 23 June 2018 09:18 To: 'Any question about pharo is welcome' Subject: Re: [Pharo-users] OmniBase for Pharo 6 Matias Thanks. I have made this change, but it does not affect the tests I have run. I have fo

Re: [Pharo-users] Strange Result - OmniBase bug or Date feature?

2018-06-23 Thread PBKResearch
ehalf Of Alistair Grant Sent: 23 June 2018 17:15 To: Pharo-Users Subject: Re: [Pharo-users] Strange Result - OmniBase bug or Date feature? Hi Peter, On Sat, 23 Jun 2018 at 17:47, PBKResearch wrote: > > Hello All > > > > I am experimenting with the version of OmniBase which Este

[Pharo-users] Strange Result - OmniBase bug or Date feature?

2018-06-23 Thread PBKResearch
Retransmit with additional information: All tests with Windows 10 with all recent updates Hello All I am experimenting with the version of OmniBase which Esteban Lorenzano posted a few days ago. With corrections posted by Matias Moretto, who is working on the same track, I have got the firs

[Pharo-users] Strange Result - OmniBase bug or Date feature?

2018-06-23 Thread PBKResearch
Hello All I am experimenting with the version of OmniBase which Esteban Lorenzano posted a few days ago. With corrections posted by Matias Moretto, who is working on the same track, I have got the first five tests all green. On the sixth test, OmniBaseTest>>#testEquality, I have run into a stra

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-23 Thread PBKResearch
open the users file for read. I have fix it and at least for now I didn't get any "block" error. _ De: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKResearch mailto:pe...@pbkresearch.co.uk> > Enviado: viernes, 22 de junio

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-22 Thread PBKResearch
LockFile #(long aHandle , ulong loPos , ulong hiPos , ulong loLength , ulong hiLength)) _ De: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > en nombre de PBKResearch mailto:pe...@pbkresearch.co.uk> > Enviado: viernes, 22 de junio de 2018 09:45 p. m. Para

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-22 Thread PBKResearch
Matias I have just loaded Esteban's package in a new Pharo 6.1 under Windows 10. I get an error message saying 'File cannot be locked. Try again?'. When I select 'no', all tests are run and give red. Are you still running on win 7? If so, I must be doing something wrong. Can you give more detai

Re: [Pharo-users] How to fix the Pharo launcher Windows installation! (WAS: Windows installation broken?)

2018-06-18 Thread PBKResearch
Vincent Many thanks - at last a clear explanation of how to get it going. I tried this with the Launcher I downloaded yesterday, and was able to launch the template versions of Pharo 6.1 and Pharo 7. The only problem was that I am not familiar with the Launcher interface, and I had to search ar

Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread PBKResearch
; PBKResearch ; 'Any question about pharo is welcome' Subject: Re: [Pharo-users] Windows installation broken? Try running the launcher as administrator. It may not help, but I recall this was a problem not long ago. On June 17, 2018 9:08:50 AM PDT, PBKResearch mailto:pe...@pbkrese

Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread PBKResearch
I tried downloading the standalone version of Pharo 6.1 in a fresh folder, and everything seems fine. I then tried the Pharo Launcher, which I have never used before. I installed the template for Pharo 6.1 (stable) and tried to launch it. The launcher window closed, and nothing happened. The Ta

Re: [Pharo-users] min:max:

2018-04-21 Thread PBKResearch
I can find no reference to #min:max: in Dolphin X6.1. Peter Kenny -Original Message- From: Pharo-users On Behalf Of Hilaire Sent: 21 April 2018 17:36 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] min:max: The #min:max: message is present in the Squeak/Pharo/Cuis familly bu

Re: [Pharo-users] unsolicited package-cache use

2018-01-18 Thread PBKResearch
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 -

Re: [Pharo-users] Pharo 7 image cannot write changes message on startup

2018-01-14 Thread PBKResearch
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

Re: [Pharo-users] Pharo 7 image cannot write changes message on startup

2018-01-13 Thread PBKResearch
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

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread PBKResearch
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-

Re: [Pharo-users] Soup bug(fix)

2017-11-08 Thread PBKResearch
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.

Re: [Pharo-users] Soup bug(fix)

2017-11-08 Thread PBKResearch
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

Re: [Pharo-users] [Pharo7.0a] Next batch of enhancements

2017-11-05 Thread PBKResearch
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

Re: [Pharo-users] [Pharo7.0a] Next batch of enhancements

2017-11-05 Thread PBKResearch
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

Re: [Pharo-users] Problem with input to XML Parser - 'Invalid UTF8 encoding'

2017-10-08 Thread PBKResearch
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

[Pharo-users] Problem with input to XML Parser - 'Invalid UTF8 encoding'

2017-10-08 Thread PBKResearch
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

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread PBKResearch
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 >

  1   2   >