[Pharo-users] Embedded PDF viewer?

2017-10-10 Thread Manuel Leuenberger
Hi, I want to view a PDF within Pharo. I found that Athens has a PDF canvas, but I have no idea how to use it. Is there a way to view a PDF within Pharo, so that I can scroll, zoom, click links etc. in the PDF? Cheers, Manuel

[Pharo-users] Custom URI scheme for Pharo

2017-10-10 Thread Manuel Leuenberger
Hi, Is there any support from the VM/Application package to add custom URI schemes to listen to from within Pharo? I would like to have a hyperlink like ‘pharo://send?data=fancypants’ in an arbitrary document that, when clicked, switches to Pharo and calls a hook I can register. Could

Re: [Pharo-users] [ANN] "PDFtalk 2.0", "PDFtalk for Gemstone" and "Gemstone Fileout" released

2017-10-12 Thread Manuel Leuenberger
Nice! Now, who’s is porting it to Pharo and builds a viewer/editor? I need that ;) > On 12 Oct 2017, at 21:12, Christian Haider > wrote: > > Hi, > > the second major version of the PDF library for VisualWorks is now available. > The main driver for

Re: [Pharo-users] Custom URI scheme for Pharo

2017-10-12 Thread Manuel Leuenberger
; reliable version. I was just thinking that having a system call out it might > be easier to make it cross-platform. I would be interested to have that > available for all platforms. > > Norbert > > Am 12.10.2017 um 09:20 schrieb Manuel Leuenberger <leuenber...@inf.unibe

Re: [Pharo-users] Custom URI scheme for Pharo

2017-10-12 Thread Manuel Leuenberger
o bet you can avoid the multiple windows anooyance in some way > on another without making your head explode. Unless its not a priority for > you. > > Looks great, well done mate. Keep the creative juices flowing ;) > > On Thu, Oct 12, 2017 at 2:02 AM Manuel Leuenberger <

[Pharo-users] BlockStyler: Make Blocks more recognizable in source code

2017-09-06 Thread Manuel Leuenberger
Hi everyone, I built a little syntax highlighting extension for the Nautilus source code pane, which puts a background color behind blocks, so that nested blocks are easily recognizable. Install with: Metacello new baseline: 'BlockStyler'; repository:

Re: [Pharo-users] BlockStyler: Make Blocks more recognizable in source code

2017-09-07 Thread Manuel Leuenberger
e metalink tricks. Also I move settings > directly to the BlockStyler class > > 2017-09-07 11:37 GMT+02:00 Denis Kudriashov <dionisi...@gmail.com > <mailto:dionisi...@gmail.com>>: > Hi. > > I will look. Maybe Calypso plugins are already able to do this kind of

Re: [Pharo-users] Few days old 6.1 image now leaves window trails?

2017-09-07 Thread Manuel Leuenberger
Interesting, I had exactly the same experience today. Killing the non-nil morphic process did the trick, and a debug window was also involved. I thought I screwed something up, but maybe there's more to it.

Re: [Pharo-users] BlockStyler: Make Blocks more recognizable in source code

2017-09-07 Thread Manuel Leuenberger
e Ducasse <stepharo.s...@gmail.com> wrote: > > Hi Manuel > > This is coool. > How linked to nautilus it is? > > Stef > > On Wed, Sep 6, 2017 at 1:52 PM, Manuel Leuenberger <leuenber...@inf.unibe.ch > <mailto:leuenber...@inf.unibe.ch>> wrote:

Re: [Pharo-users] Custom URI scheme for Pharo

2017-10-11 Thread Manuel Leuenberger
urning python varriable values. Something stupid like > "pythonError: blah blah" but it got the job done > > > > On Tue, Oct 10, 2017 at 10:07 PM Manuel Leuenberger <leuenber...@inf.unibe.ch > <mailto:leuenber...@inf.unibe.ch>> wrote: > Hi, > > Is there any s

Re: [Pharo-users] Custom URI scheme for Pharo

2017-10-12 Thread Manuel Leuenberger
. So I would register a shell script and handle the adoption in the script.Does that help?NorbertAm 10.10.2017 um 21:06 schrieb Manuel Leuenberger <leuenberger@inf.unibe.ch>:Hi,Is there any support from the VM/Application package to add custom URI schemes to listen to from within Pharo? I would

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-03 Thread Manuel Leuenberger
pharo is welcome <pharo-users@lists.pharo.org> >> Betreff: Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and >> BibTex happily live together >> >> Hi manuel >> >> thanks for the details. I think that the framework of christian haidler >> should >&g

[Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-01 Thread Manuel Leuenberger
Hi everyone, I was experimenting in the last few weeks with my take on literature research. For me, the corpus of scientific papers form an interconnected graph, not those plain lists and tables we keep in our bibliographies. So, here is the first prototype that has Google Scholar integration

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
. Cheers, Manuel > On 2 Nov 2017, at 00:06, Bernardo Ezequiel Contreras <vonbecm...@gmail.com> > wrote: > > really nice! ted nelson talks about something like that in his xanadu project. > > On Wed, Nov 1, 2017 at 6:16 PM, Manuel Leuenberger <leuenber...@inf.u

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
ow me to recover, visualize and export such annotations to be put inside > of or connected with a Grafoscopio notebook and there I would finish the > research writing. > What do you think of this workflow? Could ILE support or be part of it in > some way? > > Once

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
l more detailed recommendations when I try it on practice > > A cheap pdf viewer in Pharo would be to turn pdf pages to JPG images which > you can load via image morph so you won’t have to have two separate windows. > There are ton of converters out there that can do this. > On We

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
gration? > And yes please package it :) > I want to try it. > > Stef > > On Wed, Nov 1, 2017 at 10:16 PM, Manuel Leuenberger > <leuenber...@inf.unibe.ch> wrote: >> Hi everyone, >> >> I was experimenting in the last few weeks with my take on li

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-09 Thread Manuel Leuenberger
l > On 2 Nov 2017, at 20:33, Manuel Leuenberger <leuenber...@inf.unibe.ch> wrote: > > Hi Stef, > > The PDF integration consists of three parts: > > 1. CERMINE (https://github.com/CeON/CERMINE > <https://github.com/CeON/CERMINE>) is fed with the PDF and outputs meta

[Pharo-users] Insecure issue tracker registration

2018-06-13 Thread Manuel Leuenberger
Hi, I announced my concerns on Discord already, but got no reaction, so I post it here as well to have it properly archived. "A colleague just noticed that the registration for the issue tracker is HTTP-only. This is not an appropriate choice for sensitive data like a password. Any

Re: [Pharo-users] Object Persistence

2018-01-03 Thread Manuel Leuenberger
select node? > Now out of memory is a read falg for me (for moose because we do that > all the time). > > Stef > > > On Tue, Dec 26, 2017 at 10:03 PM, Manuel Leuenberger > <leuenber...@inf.unibe.ch> wrote: >> I’ve always liked Neo4j to persist object graph

Re: [Pharo-users] pharo 64 bits on mac os X - El Capitan

2017-12-26 Thread Manuel Leuenberger
I ran Pharo 6 64 bit on El Capitan some time ago. I am not sure about the exact version of Pharo and VM though. Have you tried with older VMs? Cheers, Manuel > On 26 Dec 2017, at 17:22, Renaud de Villemeur > wrote: > > Hi all > > I want to run pharo on Mac Os

Re: [Pharo-users] Object Persistence

2017-12-26 Thread Manuel Leuenberger
I’ve always liked Neo4j to persist object graphs. Also has a nice query language. The database is not fool-proof (isolation issues, out of memory on expensive queries), but works fine for analytics. > On 25 Dec 2017, at 10:43, Ian Ian wrote: > > Hi All, > > Thoughts of

Re: [Pharo-users] Mac OS X left/right scrolling in Pharo issues

2018-07-22 Thread Manuel Leuenberger
There is Yuriy's IgnoreSideScrollHack, works like a charm for me on macOS.https://github.com/Uko/IgnoreSideScrollHack/issues/1Cheers,ManuelAm 22.07.2018 01:51 schrieb wyattbiker :Is there a way to disable the mouse left/right side scroll when using the Pharo IDE. It causes unwanted highlights or

[Pharo-users] MIDI IO

2018-09-21 Thread Manuel Leuenberger
Hi, I am currently investigating how to work with audio in Pharo, especially how to hook up Pharo to my synths or DAW using MIDI. I found that there is an old MIDI plugin for the VM, but apparently it has been discontinued due to OS changes

[Pharo-users] Pharo on macOS Mojave

2018-09-27 Thread Manuel Leuenberger
Hi, Did anybody already try Pharo 6.1 on macOS Mojave? Are there any issues that would suggest not to upgrade soon? Cheers, Manuel

Re: [Pharo-users] Tracking method in and out with MetaLinks

2018-11-23 Thread Manuel Leuenberger
Awesome! I am looking forward to it. Cheers, Manuel > On 23 Nov 2018, at 14:59, Marcus Denker wrote: > > > >> On 23 Nov 2018, at 13:40, Manuel Leuenberger >> wrote: >> >> Hi, >> >> I stumbled upon another MetaLink scenario that I am uns

[Pharo-users] Tracking method in and out with MetaLinks

2018-11-23 Thread Manuel Leuenberger
Hi, I stumbled upon another MetaLink scenario that I am unsure how to implement. I want to track method invocations, with receiver, arguments, selector, and return value (maybe even signaled exception). I can track the method input with a MetaLink installed on an RBMethodNode like this:

Re: [Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-28 Thread Manuel Leuenberger
Awesome, thanks for the effort Marcus! I was wondering if it would be useful to use matrix-testing for MetaLinks. I imagine having example methods which employ all features of the Smalltalk syntax (syntax on a postcard?), for which all intermediate results of expressions are known, then apply

[Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-19 Thread Manuel Leuenberger
Hi, I am currently playing with MetaLinks in Pharo 7 and stumbled upon some issues. For example, I found that instrumenting message sends may break compilation (see https://pharo.fogbugz.com/f/cases/22681/Metalink-on-message-may-break-compilation

Re: [Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-19 Thread Manuel Leuenberger
! I will check all of them… it might very well be that they are not implemented / there are bugs.I will add them to the bug list.(the problem is that each of them takes effort… write test, stare at byte-code… so it will take some time)On 19 Nov 2018, at 09:30, Manuel Leuenberger <leuenber

[Pharo-users] Phorms repository?

2019-02-19 Thread Manuel Leuenberger
Hi, I am looking into AST transformations and played with the RBPattern language, which isn't quite powerful enough to do what I want to do (my matching patterns are more complex). I found papers about Phorms, which seems like a nice language to investigate. But I could not find any repository

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Manuel Leuenberger
An in-image regex engine would always be preferable by me, but creating a fully-flegged engine with all the fancy lookarounds, named/non-capturing groups, non-greedy matches, Unicode support, etc. sounds like a six-month-length full-time project. Any volunteers? ;) I am all for a pragmatic

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Manuel Leuenberger
As an in-image solution, refactoring the SmaCC scanner to a standalone regex engine might be pretty efficient to gain more RE features, but I cannot really judge how big this effort would be. > On 6 Feb 2019, at 11:42, Manuel Leuenberger wrote: > > An in-image regex engine wou

[Pharo-users] RBPattern syntax

2019-02-07 Thread Manuel Leuenberger
Hi, I am looking into the RB pattern language for refactoring and I am having trouble matching and replacing non-trivial pattern. Given the following excerpt, I want to match "b shape ." and replace it with "b shape: [ :x | x ]" b shape circle size: 15;

Re: [Pharo-users] RBPattern syntax

2019-02-20 Thread Manuel Leuenberger
erns/commits <http://smalltalkhub.com/#!/~CamilleTeruel/Patterns/commits>), which seems to have a more powerful pattern matching language. Cheers, Manuel > On 19 Feb 2019, at 14:04, Henrik Sperre Johansen > wrote: > > Manuel Leuenberger wrote >> Hi, >> &g

Re: [Pharo-users] Phorms repository?

2019-02-20 Thread Manuel Leuenberger
s experience using these after Pharo 5, i.e. Pharo 6/7? > On 19 Feb 2019, at 13:50, Manuel Leuenberger wrote: > > Hi, > > I am looking into AST transformations and played with the RBPattern language, > which isn't quite powerful enough to do what I want to do (my matching &

[Pharo-users] SmaCC parsing "rest until"

2019-01-29 Thread Manuel Leuenberger
Hi, I am currently struggling with understanding why my SmaCC parser refuses to parse a rather simple language. Grammar and example are below. The language consists of multiple leak reports, separated by two newlines. Each leak report has a type and object and byte size on the first line. Then

[Pharo-users] macOS VM builds with AddressSanitizer/LeakSanitizer

2019-01-25 Thread Manuel Leuenberger
Hi, Anybody has experience building the VM (pharo.cog.spur) on macOS with custom compiler and flags? I am observing a memory leak on macOS Sierra/Pharo 7/GToolkit. I cannot precisely locate the issue, e.g. I cannot reliably reproduce the problem. So I tried to use

Re: [Pharo-users] SmaCC parsing "rest until"

2019-01-30 Thread Manuel Leuenberger
aro/LeakReporter/LeReParser.class.st>), the structure is easy enough. Cheers, Manuel > On 30 Jan 2019, at 19:19, Thierry Goubier wrote: > > Le 29/01/2019 à 22:17, Manuel Leuenberger a écrit : >> Hi, >> I am currently struggling with understanding why my SmaCC parser refuses t

[Pharo-users] Non-greedy RegEx?

2019-02-04 Thread Manuel Leuenberger
Hi, I just noticed that the Pharo regexes do not understand non-greedy matches. A regex engine to be PCRE is kind of essential, not having '.*?' to be a parseable and working regex is a bummer. Are there any more powerful regex engines around for Pharo? I could not find any. Cheers, Manuel

Re: [Pharo-users] Non-greedy RegEx?

2019-02-05 Thread Manuel Leuenberger
entation is very naive. > We will be moving to a PCRE binding to match outside world standards but we > have not had the time to work on it :( > > Esteban > > > On 5 Feb 2019, at 00:27, Manuel Leuenberger > <mailto:leuenber...@inf.unibe.ch>> wrote: > >