|Newbie questions about Pliant
Using ui client
Some usability questions.
|Message posted by maybe Boris Reitman on 2006/03/15 18:08:25
|1. Using the client I can't login to your server. What is the password ?
PLIANT_ROOT=/second pliant 'precompile /binary/rip.dump module /pliant/graphic/image/rip.pli' module /pliant/graphic/ui/sample/run.pli command run_secured_client
Also, tried without PLIANT_ROOT=/second, still the same.
2. We need to have a script/scripts to start the system without any long
precompiling delays. There needs to be a prepare.sh script that generates
all the dump files (for server, client, old-style server), and
also scripts for starting up each of these programs which should start fast.
I would also like to run the ui client as non-root (and as different user from
the one running the server). Also, the prepare script should be hooked
into the /etc/init.d system.
3. When I am installing pliant and run /pliant/fullpliant and I don't want to
be prompted to open a browser and to do something there. There should be a default
set of options installed. I always press Ctrl-C at this point, but really,
there should be no user interaction required.
4. I was never been able to see the VNC client/applet, the button for VNC
sample didn't show anything, probably because I didn't login ?
5. Why did you place the ui browser start script run.pli in the sample subdirectory ?
Isn't this a feature application ?
|Message posted by hubert.tonneau on 2006/03/17 01:30:51
|> 1. Using the client I can't login to your server. What is the password ?
Pliant official site is not running the UI server at the moment,
only the HTTP server.
> 2. We need to have a script/scripts to start the system without any long
> precompiling delays. There needs to be a prepare.sh script that generates
> all the dump files (for server, client, old-style server), and
> also scripts for starting up each of these programs which should start fast.
Pliant 'precompile' option is fine for that.
It will build the dump file on the first run, and reuse it on the next runs.
If something changes, you just have to delete various dump file.
Here is a sample:
pliant 'precompile /binary/rip.dump module /pliant/install/minimal.pli module /pliant/graphic/image/rip.pli module /pliant/graphic/filter/io.pli' module /pliant/graphic/sample/rip.pli command 'rip "file:/tmp/sf937.pdf" "file:/tmp/sf937.png" "resolution 150 trace"'
If you realy want to batch precompile instead of letting Pliant decide,
just run only the 'precompile' option.
pliant 'precompile /binary/rip.dump module /pliant/install/minimal.pli module /pliant/graphic/image/rip.pli module /pliant/graphic/filter/io.pli'
> I would also like to run the ui client as non-root (and as different user from
> the one running the server). Also, the prepare script should be hooked
> into the /etc/init.d system.
Running Pliant as root is a bad idea when you run a standard Linux distribution.
It should be no problem to run Pliant as non root, also you have to do
a fiew things as root such as creating /bin/pliant symlink and chowning the
three Pliant directories.
> 3. When I am installing pliant and run /pliant/fullpliant and I don't want to
> be prompted to open a browser and to do something there. There should be a default
> set of options installed. I always press Ctrl-C at this point, but really,
there should be no user interaction required.
Running 'fullpliant' is for entry level users.
It should be possible to do everything from the command line.
Please notice that Pliant packaging is currently awfull, from my own point
of view, because:
1) Pliant configuration interface is to be switched from HTML/HTTP to Pliant UI
2) There are three completely different ways to run Pliant (Linux or Windows,
FullPliant operating system, and booting from an USB key) and the
easiest way to start in these three different environments is very
It will improve at some time, but probably not very soon, beacause at the
moment, the top goal for me is to settle the storage subsystem.
> 4. I was never been able to see the VNC client/applet, the button for VNC
> sample didn't show anything, probably because I didn't login ?
You have to log to a VNC server.
> 5. Why did you place the ui browser start script run.pli in the sample subdirectory ?
> Isn't this a feature application ?
The Pliant UI is just a proof of concept at the moment.
It might be easier for me to explain it the other way round, I mean express
1) turn the Pliant storage idea to some basically working code, just like
the UI currently is, so that all the main three stones of Pliant (language,
stoage and UI) be explainable
2) write a book explaining Pliant computing philosophie
3) improve packaging, polish code, and low level documentation
When I'll do packaging, probably I'll start with turning to USB key to
something really easy to use, then try to provide something not very different
for people running Pliant over a standard operating system.
|Message posted by maybe Boris Reitman on 2006/03/17 02:36:30
|I had a problem trying out the latest release.
I started a server, and the secure ui client separately.
A window opened with three buttons on the right pane (login, url, and help)
and I couldn't get any further. I don't know what I need to type in the url.
I tried to put localhost, but that didn't seem to help.
I kept getting "server connection oops" in the console.
|Message posted by hubert.tonneau on 2006/03/17 03:29:16
|Just forget Pliant release 96 secured channel for the UI.
It will be completely different in release 97.
Basically, the existing Pliant configuration is based on Pliant database
engine. Each database is stored in XML like format in a file.
The new system will be based on Pliant storage objects.
The key advantage of Pliant storage is:
. world wide objects. As an example, if you create your user account on one
server, it will get an URL, and you will be abble to log on other servers
without having to copy your account on these.
. high availability. Each object will be stored on a storage site, so
a set of servers, so that it will still be usable in case of a failure
on one of them.
So, I have a problem which is carrying the Pliant passed.
In order to keep things as simple as possible, I have decided not to break
existing production quality Pliant applications at the moment (HTTP server,
database engine, mail, etc), but on the other hand, I have decided that
the UI, which is still at infancy will use the new storage right from the
beginning, and that's why the fact that I'm working hard to bring the
storage system to something usable breaks the UI as a side effect.