[developers] www script in the logon distribution

goodman.m.w at gmail.com goodman.m.w at gmail.com
Fri Jul 3 16:47:19 CEST 2020


Hi Alexandre,

I certainly don't mind if you want to put it under the delph-in
organization. I just looked it over briefly and I have two questions and a
suggestion:

* It is described as being for macOS, but very little actually looks
macOS-specific. Would it be appropriate to describe it in more general
terms in case someone wants to run it from some other platform?

* It is called docker-logon, but I don't see that it gets any of the LOGON
distribution. Maybe it should be renamed?

* It looks like you've included web.c from FFTB. The FFTB project is under
the MIT license, so you'll need to include its LICENSE file as well.

On Fri, Jul 3, 2020 at 10:21 PM Alexandre Rademaker <arademaker at gmail.com>
wrote:

>
> Hi Stephan,
>
> For some reason, the www script in the logon distribution does not start
> the webserver. Using the `--debug` option, I don't have any additional
> information in the log file (actually, the script didn't mention the debug
> anywhere). I am following all instructions from
> http://moin.delph-in.net/LogonOnline. In particular, pvmd3 is running
> without any error in the startup. I don't see any *.pvm file in the /tmp.
> The script bin/logon starts LKB and the [incr TSDB()] normally. I have used
> `—cat` to save a lisp file and load it manually in the ACL REPL, no error
> too. Any idea? The log file is below.
>
> Michael and Francis,
>
> I did a complete review of the Dockerfile yesterday. Does it make sense to
> move https://github.com/own-pt/docker-logon to the
> https://github.com/delph-in organization? Maybe I can also rename it
> since the docker now has more than just the minimal environment to run the
> LOGON tools.  I believe that having more repositories under the same
> delph-in organization makes things clear and gives more visibility.  Nice
> to have Matrix and the brew package already there. I hope that people will
> start to recognize the benefits of git/GitHub compared to SVN
> (documentation, issue, easy branching, cross-references of code/issues/PR
> etc).
>
>
> Best,
> Alexandre
>
>
> //////
>
> user at 4091e35482b2:~/logon$ ./www --binary --debug --erg --port 9080
>
> International Allegro CL Enterprise Edition
> 10.0 [64-bit Linux (x86-64)] (Feb 20, 2019 18:22)
> Copyright (C) 1985-2015, Franz Inc., Oakland, CA, USA.  All Rights
> Reserved.
>
> This standard runtime copy of Allegro CL was built by:
>    [TC13152] Universitetet i Oslo
>
> ; Loading /home/user/logon/dot.tsdbrc
> ; Loading /home/user/.tsdbrc
>
> [changing package from "COMMON-LISP-USER" to "TSDB"]
> TSNLP(1): NIL
> TSNLP(2): NIL
> TSNLP(3): T
> TSNLP(4): 5
> TSNLP(5): "<center><hr>
>   <small><i>(This on-line demonstrator is hosted at the
>   <a href=http://www.mn.uio.no/ifi/english/research/groups/ltg/>University
>
>   of Oslo</a>)</i></small></center>"
> TSNLP(6): ; Loading /home/user/logon/lingo/erg/lkb/script
> set-coding-system(): activated UTF8.
> ;   Loading /home/user/logon/lingo/erg/Version.lsp
> ;   Loading /home/user/logon/lingo/erg/lkb/globals.lsp
> ;   Loading /home/user/logon/lingo/erg/lkb/user-fns.lsp
> ;   Loading /home/user/logon/lingo/erg/lkb/checkpaths.lsp
> ;   Loading /home/user/logon/lingo/erg/lkb/patches.lsp
>
> Reading in type file fundamentals
> Reading in type file tmt
> Reading in type file lextypes
> [14:13:08] gc-after-hook(): {L#626 N=5.2M O=0 E=100%} [S=2.3G R=102M].
>
> Reading in type file syntax
> [14:13:10] gc-after-hook(): {L#627 N=7.1M O=0 E=99%} [S=2.3G R=232M].
>
> Reading in type file ctype
> Reading in type file lexrules
> Reading in type file auxverbs
> [14:13:12] gc-after-hook(): {L#628 N=9.2M O=0 E=98%} [S=2.3G R=352M].
>
> Reading in type file mtr
> Reading in type file dt
> Checking type hierarchy
> Checking for unique greatest lower bounds
> Expanding constraints
> [14:13:18] gc-after-hook(): {L#629 N=55M O=5.2K E=99%} [S=2.3G R=352M].
>
> Making constraints well formed
> [14:13:19] gc-after-hook(): {L#630 N=72M O=4.8M E=82%} [S=2.3G R=356M].
> [14:13:19] gc-after-hook(): {L#631 N=80M O=1.9M E=68%} [S=2.3G R=358M].
> [14:13:20] gc-after-hook(): {L#632 N=87M O=2.2M E=79%} [S=2.3G R=392M].
> [14:13:21] gc-after-hook(): {L#633 N=62M O=34M E=43%} [S=2.3G R=442M].
> [14:13:22] gc-after-hook(): {L#634 N=69M O=23M E=80%} [S=2.3G R=466M].
> [14:13:22] gc-after-hook(): 133M tenured; forcing global gc().
> [14:13:23] gc-after-hook(): {GR#8 N=54M O=0 E=100%} [S=2.3G R=484M].
> [14:13:24] gc-after-hook(): {L#635 N=88M O=0 E=0%} [S=2.3G R=484M].
> [14:13:25] gc-after-hook(): {L#636 N=97M O=10M E=69%} [S=2.3G R=491M].
> [14:13:26] gc-after-hook(): {L#637 N=99M O=14M E=63%} [S=2.4G R=532M].
> [14:13:27] gc-after-hook(): {L#638 N=93M O=29M E=53%} [S=2.4G R=581M].
> 80175904 bytes have been tenured, next gc will be global.
> See the documentation for variable EXCL:*GLOBAL-GC-BEHAVIOR* for more
> information.
>
> Expanding defaults
> Type file checked successfully
> Computing display ordering
> Reading in cached leaf types
> Cached leaf types read
> Reading in cached lexicon (main)
> Cached lexicon read
> Reading in rules file constructions
> Reading in lexical rules file inflr
> Reading in lexical rules file inflr-pnct
> Reading in root file roots
> Reading in lexical rules file lexrinst
> Reading in parse node file parse-nodes
> ;   Loading /home/user/logon/lingo/erg/lkb/mrsglobals.lsp
> ;   Loading /home/user/logon/lingo/erg/lkb/eds.lsp
> ;   Loading /home/user/logon/lingo/erg/www/setup.lsp
> ; cpu time (non-gc) 13.952552 sec user, 0.026410 sec system
> ; cpu time (gc)     9.165182 sec user, 0.505708 sec system
> ; cpu time (total)  23.117734 sec user, 0.532118 sec system
> ; real time  22.104421 sec (107.0%)
> ; space allocation:
> ;  25,979,360 cons cells, 681,401,040 other bytes, 0 static bytes
> ; Page Faults: major: 0 (gc: 66190), minor: 163781 (gc: 66190)
> ;   Loading /home/user/logon/lingo/erg/rpp/setup.lsp
> read-repp(): reading file `xml.rpp'.
> read-repp(): reading file `latex.rpp'.
> read-repp(): reading file `ascii.rpp'.
> read-repp(): reading file `html.rpp'.
> read-repp(): reading file `wiki.rpp'.
> read-repp(): reading file `lgt.rpp'.
> read-repp(): reading file `gml.rpp'.
> read-repp(): reading file `robustness.rpp'.
> read-repp(): reading file `quotes.rpp'.
> read-repp(): reading file `ptb.rpp'.
> read-repp(): reading file `lkb.rpp'.
> read-repp(): reading file `micro.rpp'.
> read-repp(): reading file `tokenizer.rpp'.
> read-heads() reading file `rules.hds'.
> read-model(): reading file `jhpstg.g.mem'.
> [14:13:30] gc-after-hook(): {G#638 N=78M O=0 E=87%} [S=2.4G R=617M].
> read-semi(): reading file `erg.smi'.
> read-semi(): reading file `hierarchy.smi'.
> read-semi(): reading file `abstract.smi'.
> read-semi(): reading file `surface.smi'.
> [14:13:32] gc-after-hook(): {L#639 N=108M O=0 E=0%} [S=2.4G R=617M].
> read-vpm(): reading file `semi.vpm'.
> read-vpm(): reading file `abstract.vpm'.
> ;   Loading /home/user/logon/lingo/erg/lkb/mt.lsp
> read-transfer-rules(): reading file `paraphraser.mtr'.
> read-transfer-rules(): reading file `idioms.mtr'.
> read-transfer-rules(): reading file `trigger.mtr'.
> [14:13:34] gc-after-hook(): {L#640 N=108M O=11M E=83%} [S=2.4G R=617M].
> read-transfer-rules(): reading file `generation.mtr'.
>
> Building rule filter
> [14:13:36] gc-after-hook(): {L#641 N=105M O=9.5M E=90%} [S=2.4G R=617M].
> [14:13:42] gc-after-hook(): {L#642 N=93M O=14M E=95%} [S=2.4G R=617M].
> [14:13:47] gc-after-hook(): {L#643 N=24M O=72M E=92%} [S=2.4G R=666M].
> [14:13:47] gc-after-hook(): 161M tenured; forcing global gc().
> [14:13:48] gc-after-hook(): {GR#10 N=12M O=0 E=100%} [S=2.4G R=678M].
> 75861824 bytes have been tenured, next gc will be global.
> See the documentation for variable EXCL:*GLOBAL-GC-BEHAVIOR* for more
> information.
>
> Building lr connections table
> Constructing lr table for non-morphological rules
> Grammar input complete
> NIL
> TSNLP(7): [14:14:27] gc-after-hook(): {G#643 N=35M O=0 E=81%} [S=2.4G
> R=678M].
> [14:14:30] gc-after-hook(): {L#644 N=41M O=0 E=0%} [S=2.4G R=678M].
> [14:14:32] gc-after-hook(): {L#645 N=41M O=5.7M E=94%} [S=2.4G R=682M].
> [14:14:35] gc-after-hook(): {L#646 N=43M O=2.8M E=90%} [S=2.4G R=685M].
> [14:14:38] gc-after-hook(): {L#647 N=42M O=4.0M E=94%} [S=2.4G R=689M].
> [14:14:41] gc-after-hook(): {L#648 N=25M O=21M E=93%} [S=2.4G R=711M].
> [14:14:44] gc-after-hook(): {L#649 N=26M O=4.2M E=77%} [S=2.4G R=715M].
> [14:14:47] gc-after-hook(): {L#650 N=27M O=4.0M E=92%} [S=2.4G R=719M].
> [14:14:50] gc-after-hook(): {L#651 N=26M O=4.2M E=92%} [S=2.4G R=723M].
> [14:14:53] gc-after-hook(): {L#652 N=27M O=4.3M E=93%} [S=2.4G R=728M].
> 53092272 bytes have been tenured, next gc will be global.
> See the documentation for variable EXCL:*GLOBAL-GC-BEHAVIOR* for more
> information.
> [14:14:58] gc-after-hook(): {G#652 N=25M O=0 E=95%} [S=2.4G R=733M].
> [14:15:01] gc-after-hook(): {L#653 N=29M O=0 E=0%} [S=2.4G R=733M].
> [14:15:04] gc-after-hook(): {L#654 N=30M O=4.1M E=95%} [S=2.4G R=734M].
> [14:15:08] gc-after-hook(): {L#655 N=31M O=3.4M E=90%} [S=2.4G R=737M].
> [14:15:11] gc-after-hook(): {L#656 N=30M O=4.9M E=91%} [S=2.4G R=742M].
> [14:15:14] gc-after-hook(): {L#657 N=25M O=8.4M E=92%} [S=2.4G R=750M].
> [14:15:18] gc-after-hook(): {L#658 N=24M O=5.0M E=87%} [S=2.4G R=756M].
> [14:15:21] gc-after-hook(): {L#659 N=24M O=4.4M E=93%} [S=2.4G R=760M].
> [14:15:25] gc-after-hook(): {L#660 N=24M O=3.8M E=93%} [S=2.4G R=764M].
> [14:15:28] gc-after-hook(): {L#661 N=23M O=4.0M E=89%} [S=2.4G R=768M].
> [14:15:31] gc-after-hook(): {L#662 N=24M O=4.1M E=92%} [S=2.4G R=772M].
> [14:15:34] gc-after-hook(): {L#663 N=25M O=3.8M E=92%} [S=2.4G R=776M].
> [14:15:37] gc-after-hook(): {L#664 N=25M O=3.6M E=92%} [S=2.4G R=779M].
> [14:15:40] gc-after-hook(): {L#665 N=26M O=3.7M E=93%} [S=2.4G R=783M].
> 55870688 bytes have been tenured, next gc will be global.
> See the documentation for variable EXCL:*GLOBAL-GC-BEHAVIOR* for more
> information.
> #[SEM-I {38454 ges}: 0 roles; 22406 predicates; 0 properties]
> TSNLP(8): "/brat/"
> TSNLP(9):
> [t40009] BEGIN
> [t4000a] BEGIN
> [t40009] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
> [t4000a] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
> [t4000a] (ERG (1214)) reading ME model
> `/home/user/logon/lingo/erg/redwoods.mem'... [3643349 features]
> [t40009] (ERG (1214)) reading ME model
> `/home/user/logon/lingo/erg/redwoods.mem'... [3643349 features]
> [t4000a] read-vpm(): reading file `semi.vpm'.
> [t40009] read-vpm(): reading file `semi.vpm'.
> [t4000a] 95873 types in 15 s
> [t4000a]
> [t40009] 95873 types in 15 s
> [t40009]
>   [14:16:18] wait-for-clients(): `4091e35482b2' registered as tid <40009>
> [00:17].
>   [14:16:18] wait-for-clients(): `4091e35482b2' registered as tid <4000a>
> [00:17].
>
> NIL
> TSNLP(10):
> [t4000b] BEGIN
> [t4000c] BEGIN
> [t4000d] BEGIN
> [t4000e] BEGIN
> [t4000d] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
> [t4000e] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
> [t4000c] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
> [t4000b] reading `/home/user/logon/lingo/erg/pet/english.set'... including
> `/home/user/logon/lingo/erg/pet/common.set'... including
> `/home/user/logon/lingo/erg/pet/global.set'... including
> `/home/user/logon/lingo/erg/pet/repp.set'... including
> `/home/user/logon/lingo/erg/pet/mrs.set'... loading
> `/home/user/logon/lingo/erg/english.grm'
>
>
>

-- 
-Michael Wayne Goodman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20200703/54615bf0/attachment-0001.html>


More information about the developers mailing list