Re: Packages/modules

2020-01-22 Thread Urs Liska
Am Dienstag, den 21.01.2020, 11:19 +0100 schrieb Urs Liska: > > Ok. One thing to think about is that we want package files to be > > contributed by "ordinary" users. But something like > > > > \exportSymbols transposeSequence,instrumentGroup,scratchMyBack > > > > would be perfectly feasible syn

GUILE 2/3 and string encoding cost

2020-01-22 Thread Han-Wen Nienhuys
I looked a bit through the GUILE source code to see what is going on. I believe our current hypothesis (LilyPond's slowdown is caused by expensive unicode transcoding into 32-bit strings) is incorrect. If you look into the source code, you can see that the UTF-8 -> SCM conversion checks if there

Re: document and test slur score debugging (issue 555160043 by hanw...@gmail.com)

2020-01-22 Thread hanwenn
On 2020/01/21 14:44:04, Dan Eble wrote: > https://codereview.appspot.com/555160043/diff/577340043/input/regression/slur-inspect-quants.ly > File input/regression/slur-inspect-quants.ly (right): > > https://codereview.appspot.com/555160043/diff/577340043/input/regression/slur-inspect-quants.ly#newc

Re: packaging lilypond as a docker container?

2020-01-22 Thread Han-Wen Nienhuys
On Tue, Jan 21, 2020 at 11:28 AM David Kastrup wrote: > But the elephant in the room is Windows. Han-Wen says he never wants to > touch GUB again (and he actually didn't as far as I remember) but I > excuse me? $ git log |grep ^Author | sort | uniq -c|sort -n |tail 41 Author: PhilHolmes

Re: Encoding changes for Python 3 (issue 571280043 by jonas.hahnf...@gmail.com)

2020-01-22 Thread jonas . hahnfeld
Reviewers: lemzwerg, Message: Closing as the change got smaller and smaller as I discovered more edge cases where the current code matters with Python 2.x Description: Encoding changes for Python 3 This is required to eventually make the scripts work with Python 3. The change happens to also wor

Re: document and test slur score debugging (issue 555160043 by hanw...@gmail.com)

2020-01-22 Thread lemzwerg--- via Discussions on LilyPond development
Some minor nits... https://codereview.appspot.com/555160043/diff/549440043/lily/slur.cc File lily/slur.cc (right): https://codereview.appspot.com/555160043/diff/549440043/lily/slur.cc#newcode495 lily/slur.cc:495: "Slurs are formatted by a number of combination of left/right " s/combination/combi

Re: switching to Python 3.x

2020-01-22 Thread Jonas Hahnfeld
Am Montag, den 06.01.2020, 19:12 +0100 schrieb Jonas Hahnfeld: > Am Donnerstag, den 19.12.2019, 20:13 +0100 schrieb Jonas Hahnfeld: > > Hello friends of Python 3! > > > > to make the initial proposal short: With today's patches, I think > > 'master' would be ready to switch over to Python 3.x. > >

Re: packaging lilypond as a docker container?

2020-01-22 Thread Han-Wen Nienhuys
Let me explain my thinking more in detail. (I've CC'd Jan in case he wants to give further historical insights) The objective of GUB was to provide installers for LilyPond with the following requirements: 1) build for all platforms (OSX, Windows, Linux) with minimal effort, without having to mana

Re: Packages/modules

2020-01-22 Thread David Kastrup
Urs Liska writes: > Am Dienstag, den 21.01.2020, 11:19 +0100 schrieb Urs Liska: >> > Ok. One thing to think about is that we want package files to be >> > contributed by "ordinary" users. But something like >> > >> > \exportSymbols transposeSequence,instrumentGroup,scratchMyBack >> > >> > wou

patches without tracker issues

2020-01-22 Thread Han-Wen Nienhuys
these were sent before I had access, I think. Can you folksk have a look? https://codereview.appspot.com/559370043/ https://codereview.appspot.com/581470047/ -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen

Re: packaging lilypond as a docker container?

2020-01-22 Thread David Kastrup
Han-Wen Nienhuys writes: > On Tue, Jan 21, 2020 at 11:28 AM David Kastrup wrote: > >> But the elephant in the room is Windows. Han-Wen says he never wants to >> touch GUB again (and he actually didn't as far as I remember) but I Something happened between brain and keyboard. What I meant to w

Re: lily: fix some type conversion warnings (issue 557190043 by hanw...@gmail.com)

2020-01-22 Thread hanwenn
Reviewers: dan_faithful.be, lemzwerg, Dan Eble, Message: On 2020/01/21 15:21:56, Dan Eble wrote: > https://codereview.appspot.com/557190043/diff/581490044/lily/pointer-group-interface.cc > File lily/pointer-group-interface.cc (right): > > https://codereview.appspot.com/557190043/diff/581490044/li

Re: lily: fix some type conversion warnings (issue 557190043 by hanw...@gmail.com)

2020-01-22 Thread hanwenn
On 2020/01/22 10:15:03, hanwenn wrote: > On 2020/01/21 15:21:56, Dan Eble wrote: > > > https://codereview.appspot.com/557190043/diff/581490044/lily/pointer-group-interface.cc > > File lily/pointer-group-interface.cc (right): > > > > > https://codereview.appspot.com/557190043/diff/581490044/lily/po

Re: packaging lilypond as a docker container?

2020-01-22 Thread Jonas Hahnfeld via Discussions on LilyPond development
Let me respond to some of your points: Am Mittwoch, den 22.01.2020, 11:00 +0100 schrieb Han-Wen Nienhuys: > Let me explain my thinking more in detail. (I've CC'd Jan in case he wants to > give further historical insights) > > > The objective of GUB was to provide installers for LilyPond with t

Re: packaging lilypond as a docker container?

2020-01-22 Thread David Kastrup
Han-Wen Nienhuys writes: > Let me explain my thinking more in detail. (I've CC'd Jan in case he wants > to give further historical insights) > > The objective of GUB was to provide installers for LilyPond with the > following requirements: > > 1) build for all platforms (OSX, Windows, Linux) with

Re: Packages/modules

2020-01-22 Thread Urs Liska
Am Mittwoch, den 22.01.2020, 11:06 +0100 schrieb David Kastrup: > Urs Liska writes: > > > Am Dienstag, den 21.01.2020, 11:19 +0100 schrieb Urs Liska: > > > > Ok. One thing to think about is that we want package files to > > > > be > > > > contributed by "ordinary" users. But something like > >

Re: Context paths (and the Edition Engraver)

2020-01-22 Thread David Kastrup
Flaming Hakama by Elaine writes: >> -- Forwarded message -- >> From: David Kastrup >> To: Dan Eble >> Cc: lilypond-devel@gnu.org >> Bcc: >> Date: Tue, 21 Jan 2020 22:51:29 +0100 >> Subject: Re: Context paths (and the Edition Engraver) >> Dan Eble writes: >> >> > On Jan 21, 2020

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread David Kastrup
Han-Wen Nienhuys writes: > I looked a bit through the GUILE source code to see what is going on. > > I believe our current hypothesis (LilyPond's slowdown is caused by > expensive unicode transcoding into 32-bit strings) is incorrect. > > If you look into the source code, you can see that the UTF

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Thomas Morley
Am Mi., 22. Jan. 2020 um 12:02 Uhr schrieb David Kastrup : > > Han-Wen Nienhuys writes: > > So, what hard data do we have on GUILE 2/3 slowness, and what does > > that data say? > > That data says "humongous slowdown". There is not much more than > speculation what this is caused by as far as I

Re: lily: fix some type conversion warnings (issue 557190043 by hanw...@gmail.com)

2020-01-22 Thread benko . pal
On 2020/01/22 10:15:03, hanwenn wrote: > Why do we need to have the distinction between size_t and int? I know the > standard library returns size_t in some places, but is there any reason for > LilyPond to used unsigned integers anywhere? It's not just the sign (btw I like unsigned integers): th

Re: patches without tracker issues

2020-01-22 Thread James
On 22.01.2020 11:06, Han-Wen Nienhuys wrote: these were sent before I had access, I think. Can you folksk have a look? https://codereview.appspot.com/559370043/ https://codereview.appspot.com/581470047/ I'll follow up --- Regards James

Re: Context paths (and the Edition Engraver)

2020-01-22 Thread Jan-Peter Voigt
Am 21.01.20 um 18:50 schrieb Dan Eble: > On Jan 21, 2020, at 11:31, Jan-Peter Voigt wrote: >> I'd like that, though it would be a quite invasive change. >> And if we stay with the string for the context id and then use >> lists/paths in the \context statement like >> \new Staff = "choir" << \new V

Re: Re: packaging lilypond as a docker container?

2020-01-22 Thread Mats Bengtsson
On 2020-01-22 11:36, David Kastrup wrote: Han-Wen Nienhuys writes: A posiitive: all major platforms run on x86 64-bit CPUs, and there are Open Source VM solutions for OSX and Windows. So, a VM running Linux on OSX or Windows can be almost as fast as running Linux directly. This makes GUB's cro

Re: Looking for help in configuring LilyDev in VirtualBox

2020-01-22 Thread Peter Toye
Wednesday, January 22, 2020, 6:43:48 AM, Michael Käppler wrote: > Am 21.01.2020 um 20:44 schrieb Peter Toye: >> Re: Looking for help in configuring LilyDev in VirtualBox >> This time after the reboot I got the same result. No sharing of >> clipboard, no more processes. Tried closing VBox and rest

Re: patches without tracker issues

2020-01-22 Thread James
Hello --- Regards James On 22.01.2020 11:06, Han-Wen Nienhuys wrote: these were sent before I had access, I think. Can you folksk have a look? https://codereview.appspot.com/559370043/ This is https://sourceforge.net/p/testlilyissues/issues/5669/ https://codereview.appspot.com/58147004

Re: packaging lilypond as a docker container?

2020-01-22 Thread Jan Nieuwenhuizen
David Kastrup writes: > Han-Wen Nienhuys writes: >> GUIX is Jan's current project. I think it has some similarities to >> GUB, but it is focused on providing an environment where all binaries >> are reproducibly built from source. This is much more ambitious than >> GUB, and seems overkill compar

Re: packaging lilypond as a docker container?

2020-01-22 Thread David Kastrup
Jan Nieuwenhuizen writes: > David Kastrup writes: > >> Han-Wen Nienhuys writes: >>> GUIX is Jan's current project. I think it has some similarities to >>> GUB, but it is focused on providing an environment where all binaries >>> are reproducibly built from source. This is much more ambitious tha

Re: packaging lilypond as a docker container?

2020-01-22 Thread Karlin High
On 1/22/2020 4:36 AM, David Kastrup wrote: I have no experience with Docker and containers. The one time I tried Docker on Windows, I was put off by the setup effort that seemed intended to initiate the user into an entire worldview and ecosystem. Docker seemingly didn't provide an easy way t

Re: Context paths (and the Edition Engraver)

2020-01-22 Thread Kieren MacMillan
Hi Jan-Peter (et al.), > I am amazed what kind of discussion is raised on this topic :) Me, too. Maybe we should have international music engraving conferences more often than once every 20 years… ;) > I'd suggest alternative commands to create something > like an XQuery/CSS/whatever functiona

Issue #4550 Avoid "using" directives in included files

2020-01-22 Thread Dan Eble
Begin forwarded message: > > From: "pkx166h" > Subject: [testlilyissues:issues] #4550 Avoid "using" directives in included > files > Date: January 22, 2020 at 10:13:39 EST > To: "[testlilyissues:issues] " > <4...@issues.testlilyissues.p.re.sourceforge.net> > Reply-To: "[testlilyissues:issues] "

Set page breaking properties in the System grob (issue 581470047 by hanw...@gmail.com)

2020-01-22 Thread nine . fierce . ballads
What's the purpose of this change? Is it preparation for a new feature? https://codereview.appspot.com/581470047/diff/565490043/lily/page-breaking.cc File lily/page-breaking.cc (right): https://codereview.appspot.com/581470047/diff/565490043/lily/page-breaking.cc#newcode624 lily/page-breaking.c

Re: packaging lilypond as a docker container?

2020-01-22 Thread Dan Eble
On Jan 21, 2020, at 11:01, Michael Käppler wrote: > > Would be happy to try the Dockerfile, since I've never used Docker > before and find > the concept interesting. > Could you push your changes to your LilyDev fork and/or file a pull > request against > Federico's repo? Federico has merged a c

Re: Set page breaking properties in the System grob (issue 581470047 by hanw...@gmail.com)

2020-01-22 Thread erlenda
On 2020/01/22 16:20:21, Dan Eble wrote: > Veto! I've had more than one bad experience with lowercase ell. > > In one case--I think it was elsewhere in LilyPond--it was purely a readability > issue, but reason enough to avoid it. > > In the other, one person *thought* that he was using it as a loo

Re: Set page breaking properties in the System grob (issue 581470047 by hanw...@gmail.com)

2020-01-22 Thread dak
On 2020/01/22 18:51:07, Erlend Aasland wrote: > On 2020/01/22 16:20:21, Dan Eble wrote: > > Veto! I've had more than one bad experience with lowercase ell. > > > > In one case--I think it was elsewhere in LilyPond--it was purely a readability > > issue, but reason enough to avoid it. > > > > In t

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Han-Wen Nienhuys
On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: > Han-Wen Nienhuys writes: > > > I looked a bit through the GUILE source code to see what is going on. > > > > I believe our current hypothesis (LilyPond's slowdown is caused by > > expensive unicode transcoding into 32-bit strings) is incorr

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread David Kastrup
Han-Wen Nienhuys writes: > On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: > >> Han-Wen Nienhuys writes: >> >> > I looked a bit through the GUILE source code to see what is going on. >> > >> > I believe our current hypothesis (LilyPond's slowdown is caused by >> > expensive unicode transc

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Carl Sorensen
On 1/22/20, 1:21 PM, "lilypond-devel on behalf of David Kastrup" wrote: Han-Wen Nienhuys writes: > On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: > >> Han-Wen Nienhuys writes: >> >> > I looked a bit through the GUILE source code to see what is going on.

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Urs Liska
Am Mittwoch, den 22.01.2020, 20:28 + schrieb Carl Sorensen: > > On 1/22/20, 1:21 PM, "lilypond-devel on behalf of David Kastrup" < > lilypond-devel-bounces+c_sorensen=byu@gnu.org on behalf of > d...@gnu.org> wrote: > > Han-Wen Nienhuys writes: > > > On Wed, Jan 22, 2020 at

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Karlin High
On 1/22/2020 2:07 PM, Han-Wen Nienhuys wrote: Do we have a standardized test file for benchmarking performance? I can't speak to "standardized," but I do remember some threads that had benchmarking going on by various users, using large LilyPond projects. The Robert Carver "Missa Dum Sacrum

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Thomas Morley
Am Mi., 22. Jan. 2020 um 12:12 Uhr schrieb Thomas Morley : > > Am Mi., 22. Jan. 2020 um 12:02 Uhr schrieb David Kastrup : > > > > Han-Wen Nienhuys writes: > > > > So, what hard data do we have on GUILE 2/3 slowness, and what does > > > that data say? > > > > That data says "humongous slowdown". T

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Thomas Morley
Am Mi., 22. Jan. 2020 um 21:52 Uhr schrieb Karlin High : > > On 1/22/2020 2:07 PM, Han-Wen Nienhuys wrote: > > Do we have a standardized test file for benchmarking performance? > > I can't speak to "standardized," but I do remember some threads that had > benchmarking going on by various users, usi

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Thomas Morley
Am Mi., 22. Jan. 2020 um 22:36 Uhr schrieb Thomas Morley : > > Am Mi., 22. Jan. 2020 um 21:52 Uhr schrieb Karlin High : > > > > On 1/22/2020 2:07 PM, Han-Wen Nienhuys wrote: > > > Do we have a standardized test file for benchmarking performance? > > > > I can't speak to "standardized," but I do rem

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Han-Wen Nienhuys
On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: > > > So, what hard data do we have on GUILE 2/3 slowness, and what does > > that data say? > > That data says "humongous slowdown". There is not much more than > speculation what this is caused by as far as I know. > I can see the 2x slowdo

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Han-Wen Nienhuys
On Wed, Jan 22, 2020 at 10:53 PM Han-Wen Nienhuys wrote: > > > On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: > >> >> > So, what hard data do we have on GUILE 2/3 slowness, and what does >> > that data say? >> >> That data says "humongous slowdown". There is not much more than >> specula

Re: Looking for help in configuring LilyDev in VirtualBox

2020-01-22 Thread Michael Käppler
Am 22.01.2020 um 14:03 schrieb Peter Toye: Re: Looking for help in configuring LilyDev in VirtualBox > Yes, I would suggest that you start from scratch again. I made a new guest machine using your instructions. There are a few issues here: Step 3: the file names are LilyDev-1-debian-vm and the

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread David Kastrup
Han-Wen Nienhuys writes: > On Wed, Jan 22, 2020 at 10:53 PM Han-Wen Nienhuys wrote: > >> >> >> On Wed, Jan 22, 2020 at 12:01 PM David Kastrup wrote: >> >>> >>> > So, what hard data do we have on GUILE 2/3 slowness, and what does >>> > that data say? >>> >>> That data says "humongous slowdown".

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Thomas Morley
Am Mi., 22. Jan. 2020 um 22:32 Uhr schrieb Thomas Morley : > > Am Mi., 22. Jan. 2020 um 12:12 Uhr schrieb Thomas Morley > : > > > > Am Mi., 22. Jan. 2020 um 12:02 Uhr schrieb David Kastrup : > > > > > > Han-Wen Nienhuys writes: > > > > > > So, what hard data do we have on GUILE 2/3 slowness, and w

Re: packaging lilypond as a docker container?

2020-01-22 Thread Karlin High
On 1/22/2020 7:23 AM, Jan Nieuwenhuizen wrote: FWIW, four years ago I created a prototype https://lists.gnu.org/archive/html/lilypond-devel/2016-03/msg00204.html Thanks a lot for the reference, copied to notes for responses to future mailing list GUB questions. Am I understanding it co

Re: packaging lilypond as a docker container?

2020-01-22 Thread Jan Nieuwenhuizen
Karlin High writes: > Am I understanding it correctly, that the Guix project in the linked > message successfully used MinGW to make a "Hello, World" command line > program for Windows? Yes. I finished the mingw cross build of guile-2.x so we have that in Guix now. Currently I am using that wit

Re: packaging lilypond as a docker container?

2020-01-22 Thread Jan Nieuwenhuizen
David Kastrup writes: > I did not remember you posting this at the time, and my reply at that > time > > appears enfuriatingly unrelated. Basically I don't comment at all but > rather complain about GUB. Ah. > As previous

Re: GUILE 2/3 and string encoding cost

2020-01-22 Thread Han-Wen Nienhuys
On Wed, Jan 22, 2020 at 11:43 PM David Kastrup wrote: > > Actually, the I was comparing the -O2 build with the -O0 build. > > > > When recompiling, the Scheme init (reading .scm files) takes 0.31s in 1.8 > > vs. 2.7s in 2.0, a 9x slowdown. > > The Guile-2 compiler is doing a lot of optimisations,