beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
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
<abu[m]> Does https://picolisp.com work?
<Hunar> yes
<abu[m]> Perhaps the pc doesn't have the port open?
<Hunar> wait, the problem isn't pilbox, chrome cant open it too .. I'll come back in a few minutes
<Hunar> I think you have to give webview the permission when creating it .. open this page in PilBox browser webcamtests.com
<abu[m]> Good!
<abu[m]> I think all necessary Manifest permissions are there
<abu[m]> The rest could be done inside PilBox then
<abu[m]> But I'm not sure which one ;)
<abu[m]> You can add permissions at runtime with 'android~permit' from @lib/android.l
seninha has joined #picolisp
stux has quit [Ping timeout: 248 seconds]
stux has joined #picolisp
Regenaxer has joined #picolisp
clacke has quit [Read error: Connection reset by peer]
tankf33der has quit [Quit: the lounge - https://webirc.envs.net]
tankf33der has joined #picolisp
seninha has quit [Quit: Leaving]
kuao has joined #picolisp
<lagash> Nice to see something PilBox-related is working :)
<abu[m]> ☺
<lagash> I'm still upset at my afternoon or two of trying to get pretty much anything working with Pil
<abu[m]> What went wrong?
<lagash> Mostly dumb filesystem permissions errors
<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
<abu[m]> Without it, memory access is severely restricted
<abu[m]> The REPL in PilBox is very interactive if you use @bin/pty
<lagash> Ah! I knew I should've read more blog posts!
kced has joined #picolisp
seninha has joined #picolisp
Regenaxer has quit [Ping timeout: 252 seconds]
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
kuao has quit [Quit: Connection closed for inactivity]
<kced> Hello. Does anyone have experience with Hetzner VPS?
kuao has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp