# HG changeset patch # User samer # Date 1424484591 0 # Node ID 69a653091bc68c2020cfe99a1a08c1e4c22d4219 # Parent f6dc7a0bb309f0f8402e70c46df139a7cd231eda# Parent 2ffa4d7c9d38dbd02cf678f74ddc565f826f3c97 A few changes to setup diff -r 2ffa4d7c9d38 -r 69a653091bc6 var/dml/config-enabled/cache.pl --- a/var/dml/config-enabled/cache.pl Mon Feb 16 22:08:22 2015 +0000 +++ b/var/dml/config-enabled/cache.pl Sat Feb 21 02:09:51 2015 +0000 @@ -1,1 +1,22 @@ -../../../src/github/ClioPatria/config-available/cache.pl \ No newline at end of file +:- module(conf_cache, []). +:- use_module(library(semweb/rdf_cache)). + +/** Configure caching of RDF inputs + +Configure caching of RDF inputs. If enabled, RDF input graphs are stored +in fast-load format in the given cache directory. This provides a huge +speedup for loading RDF into the database. Note that if persistency is +enabled (default), RDF data is stored efficiently in the files that +realise the persistent RDF database and enabling caching only makes +sense if the persistent database is frequently wiped and re-filled with +(partially) the same data. + +Unloading this plugin does _not_ disable caching. Instead, change +*enabled* to =false=. +*/ + +:- rdf_set_cache_options([ enabled(true), + global_directory('cache/rdf'), + create_global_directory(true) + ]). + diff -r 2ffa4d7c9d38 -r 69a653091bc6 var/dml/run.pl --- a/var/dml/run.pl Mon Feb 16 22:08:22 2015 +0000 +++ b/var/dml/run.pl Sat Feb 21 02:09:51 2015 +0000 @@ -39,9 +39,9 @@ % Make loading files silent. Comment if you want verbose loading. -:- current_prolog_flag(verbose, Verbose), - asserta(saved_verbose(Verbose)), - set_prolog_flag(verbose, silent). +%:- current_prolog_flag(verbose, Verbose), +% asserta(saved_verbose(Verbose)), +% set_prolog_flag(verbose, silent). /******************************* diff -r 2ffa4d7c9d38 -r 69a653091bc6 var/dml/settings.db --- a/var/dml/settings.db Mon Feb 16 22:08:22 2015 +0000 +++ b/var/dml/settings.db Sat Feb 21 02:09:51 2015 +0000 @@ -1,5 +1,5 @@ /* Saved settings - Date: Thu Feb 12 01:52:40 2015 + Date: Mon Feb 16 12:46:19 2015 */ @@ -25,10 +25,7 @@ setting(musicbrainz:min_wait, 0.91). % IP addresses from which remotes are allowed to connect -setting(pengines:allow_from, ['127.0.0.1','192.168.1.68','192.168.1.76']). - -% Pixels per inch for in browser figures -setting(matlab:pixels_per_inch, 300). +setting(pengines:allow_from, [*]). % Decoration for AudioFile URIs setting(audio_ui:audiofile_decoration, player). @@ -38,3 +35,9 @@ % Soundfont directory setting(score_ui:soundfont_dir, "~/lib/sounds/sf2"). + +% Fluidsynth initialisation file +setting(score_ui:fluidsynth_rc, piano). + +% Pixels per inch for in browser figures +setting(matlab:pixels_per_inch, 300).