seninha has quit [Remote host closed the connection]
<Hunar>
Hi, sorry my free day became home word all day
<Hunar>
work*
<Hunar>
beneroth I never tried piping to talk between two languages, do you have a small example :) any language would do
<Hunar>
If i want to use python libraries, do I have to write wrapper functions in C? or there are easier ways
<Hunar>
abu it works in PIL+browser or PilBox.. or just plain javascript+html
<Hunar>
?
<abu[m]>
Good morning Hunar, the video feed does not wok in the PilBox browser, but it works fine in Chrome on Android
<abu[m]>
No idea what is needed to get it in PilBox
<Hunar>
Hmm, did you call (camera?) in the script? maybe it doesn't have permission
<abu[m]>
What I also don't understand is the use case? What can be done with it? Just showing the local device's camera?
<Hunar>
But still, I like to see the code in PilBox :)
<abu[m]>
I use the exactly same Pil server in Termux
<abu[m]>
localhost:port
<abu[m]>
and connect with PilBox or Chrome
<Hunar>
Aha
<Hunar>
There are many use cases for me, the one that I currently need is the user sees a camera feed, I draw a cross at the center, the user points the camera toard an object, then I read the compass heading and calculate some stuff
<abu[m]>
I see, some kind of augmented reality
<abu[m]>
PilBox uses the WebView componet. It either lacks the functionality or needs some configuration
<Hunar>
I just tried the PilBox browser, made a simple http server on pc and Pilbox timed out before loading the page
<abu[m]>
Normally the PilBox browser works fine. I use it as my main browser
<abu[m]>
localhost, local network, or remote
<Hunar>
When I press (source) instead, I get this: java.lang.reflect.InvocationTargetException
<Hunar>
java.lang.reflect.InvocationTargetException / java.net.MalformedURLException: no protocol: 192.168.109.231:8000
<Hunar>
full message
<abu[m]>
The source button just redisplays the same url
<lagash>
In the end everything was so flaky I just had to give up, at least, for now
<abu[m]>
It was on PilBox?
<abu[m]>
(cause on Unix there are no permission problems I assume)
<lagash>
Yes, I've tried with 3 different Android devices as well as under a VM. The VM one was the fastest to get things up to speed.
<lagash>
That one I ran with BlissOS. Android x86 obviously didn't work.
<abu[m]>
I must confess that I still did not investigate scoped storage, simply avoided it.
<lagash>
Hmm? What do you mean?
<lagash>
If I could get Pil working to where I could somewhat rapidly "iterate" software, that would be wonderful, but with the REPL being quite inaccessible, it'll probably take some sort of nREPL-based solution to fix that
<abu[m]>
Scoped storage is the memory access policy on Android 10 and higher