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
anjaa_ has quit [Ping timeout: 276 seconds]
chexum has quit [Ping timeout: 268 seconds]
chexum has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
chexum has quit [Quit: No Ping reply in 180 seconds.]
chexum has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
chexum has quit [Ping timeout: 268 seconds]
chexum has joined #picolisp
<Hunar> I mean the (java ...) function which was in the old picolisp but isn't in pil21, I wish we just had one single distribution like before that is always up to date and can call C or Java, instead of seperating them like now .. Although I don't need java
<abu[m]> Hi Hunar! ☺ You are here on your free day?
<abu[m]> Well, the old 'java' function can still be used, and in PilBox we have its successor still active
<Hunar> Yes 🙂 but not a free freeday, I have some extra work at home
<Hunar> how much different are pil21 and the one in PilBox? does updating take extra steps or you just pass the new pil21 version in PilBox and it works
<abu[m]> They are 100 the same. A simple copy from the pil21 directory to PilBox
<abu[m]> In Termux, so it is arm64
<Hunar> So, how easily can I bring the java from pilbox to my desktop :)
<abu[m]> PilBox uses @lib/android.l from the Pil21 distribution
<abu[m]> I don't remember how different it became meanwhile from the old pil's version
<Hunar> I see that (java) is defined in @lib/android.l .. PilBox loads that to talk to android, but on desktop loading android.l doesn't define (java) .. does it check if its android device and desable it otherwise? or there are some extra code that I'm missing
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<abu[m]> @lib/android.l is only loaded in PilBox, so it does not need to check
<abu[m]> I cannot find the old 'java' atm, it was rather different probaby (?)
<abu[m]> I try to find
<abu[m]> iirc it did some 'exec' on java
<abu[m]> in a pipe
<abu[m]> found it in my backups
<abu[m]> Last version 2016
<abu[m]> Newer versions of InOut.java and Reflector.java are now in PilBox
<abu[m]> much improved ;)
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<Hunar> Sorry I stil don't understand what I'm searching for 🫤 .. so there are two files InOut.java and Reflector.java in old picolisp and PilBox but not in pil21 right? what else is needed to bring (java) to pil21 on my desktop
<abu[m]> I think the old java/ should still run on pil21. Just a little outdated.
<abu[m]> It would need some analysis to perhaps bring the new features from PilBox into it
<Hunar> Hmm, I'll start doing some comparison later today to see if I can find anything
<abu[m]> Some other things like the Looper class are Android-specific
<abu[m]> What do you want to do with Pil/Java on the desktop?
<abu[m]> If there is a need, it would be wonderful if you could maintain such an interface
<abu[m]> I abandoned it because I did not want to maintain two versions (Desktop and Android) without having a practical use case
chexum has quit [Ping timeout: 268 seconds]
chexum has joined #picolisp
TeddyDD has quit [Remote host closed the connection]
TeddyDD has joined #picolisp
<Hunar> My first and only need was to make a java based gui app, but then realized that a web gui is much better .. but It still bothers me when I see at the frontpage of picolisp.com one of the super powers is listed as (Awesome C / Java interop) .. I hate java alot, I dont want to maintain it 😅 but I thought the current situation is worse? maintaining pil21 and ersatz, instead of just one
<abu[m]> I understand. Though Ersatz is not maintained at all any longer. And I think also it is not worth the effort, Ersatz is just a toy, with almost all features missing.
<abu[m]> Main purpose of Ersatzt was proof of concept, and to bootstrap building pil64 (which needed a running pil to build)
<abu[m]> @lib/java.l was not related to Ersatz
<abu[m]> Ersatzt had something *similar* built in iirc
<Hunar> T :) I thought it only needed to implement once and you forget about it
<abu[m]> I *did* forget about it :)
<abu[m]> Who needs Java except in the context of Android?
<abu[m]> In Android the Java interface is very useful, gives you access to the whole Android toolbox
<Hunar> I want to make a PilBox app that reads gps of the current location, then the compass heading while looking at a place through the camera.. do this at two locations and triangulate the gps location of the place you looked at.. the math are all implemented in pil and works, gps and compass are easy but camera is the problem, I asked before about continuous feed of camera in PilBox but wasn't very interested so I didn't dig into it
<abu[m]> Cool, very interesting!
<abu[m]> yes, continuous feed of camera might be non-trivial
<Hunar> If I get an example of continuous camera in javascript through canvas, would that help?
<abu[m]> Yes, most Java examples can be directly tranlated to PicoLisp
chexum has quit [Ping timeout: 268 seconds]
chexum has joined #picolisp
lf00 has joined #picolisp
lf00 has quit [Quit: Leaving]
calle has joined #picolisp
calle has quit [Ping timeout: 268 seconds]
calle has joined #picolisp
calle has quit [Ping timeout: 276 seconds]