<razzy>
Hello, does file names in httpGate start new instances?
<razzy>
I mean new processes?
isaneran` has quit [Ping timeout: 240 seconds]
<abu[7]>
Hi razzy! You mean in the config file for httpGate?
<razzy>
abu[7]: yes, I want to redirect few subdomains to different applications. I am confused where to set it up in "names" httpGate-config-file. is there different config file?
<abu[7]>
The config files does not really have file names, but commands
<razzy>
I am still confused. can I have https://www.dom.org redirect to ~/wwwapp and https://task.dom.org redirect to ~/taskapp on same machine? I see no way it could work. I can try different combinations
<abu[7]>
On the *same* machine you need NO redirect
<abu[7]>
so name1 and name2 and foo are lines in the config
<razzy>
I see
<abu[7]>
https://www.dom.org/name2 will connect to the port on that line, or starts the process if not running
<razzy>
abu , now I understand :) thank you
<abu[7]>
☺
<razzy>
abu[7]: I see clearly now. :)
<razzy>
abu[7]: thank you for pointing on error in my thinking.
<abu[7]>
Welcome! :)
razzy has quit [Quit: leaving]
aw- has joined #picolisp
isaneran` has joined #picolisp
avocadoist has joined #picolisp
isaneran` has quit [Ping timeout: 255 seconds]
isaneran` has joined #picolisp
isaneran` has quit [Ping timeout: 252 seconds]
isaneran` has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
msavoritias has joined #picolisp
isaneran` has quit [Ping timeout: 252 seconds]
seninha has joined #picolisp
rob_w has quit [Remote host closed the connection]
Abhishek_ has quit [Server closed connection]
Abhishek_ has joined #picolisp
pablo_escoberg has joined #picolisp
aw- has quit [Ping timeout: 240 seconds]
<pablo_escoberg>
Is there a way to tell if an entity is a new or existing record? Or if an existing record has unsaved changes? I can write a wrapper for `commit` to clear flags, which are set in the `T` method, but I hope I can avoid that.
pablo_escoberg has quit [Client Quit]
<abu[7]>
An entity exists if you find it via an index
<abu[7]>
If it is deleted, it is not findable via an index, but might be still in the DB if the garbage collector has not run yet
pablo_escoberg has joined #picolisp
<abu[7]>
Then you normally don't know it. It is not findable after all ;)
<pablo_escoberg>
Right, but if I use `request` is there a way to tell if it found something or created something?
<abu[7]>
But *if* you know it, you can test it with (ext? X)
<abu[7]>
Ah, I see
<abu[7]>
No, you have to do the same as request manually
<pablo_escoberg>
so if I want something I know is a new record, I should use `new` instead?
<abu[7]>
'request' tests with 'db' first
<abu[7]>
Yes
<pablo_escoberg>
perfect. TY
<abu[7]>
'request' is just a convenience
<pablo_escoberg>
ok, makes sense. It is indeed convenient :).
pablo_escoberg has quit [Quit: Client closed]
msavoritias has quit [Quit: Konversation terminated!]