Subscribe

2023-08-24 Thread Todd Coram
Hello "Todd Coram" :-) You are now subscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

PilBox & Java object lifecycle

2023-08-24 Thread Todd Coram
Hi, I have a long running PilBox Android app that tends to just "crash" (with a "Webpage not Available... net:ERR_CONNECTION_REFUSED") after running for a few hours. At this point, the REPL is unresponsive at this point and nothing is in the PilBox log file. My app makes heavy use of Java call

Re: PilBox & Java object lifecycle

2023-08-24 Thread Todd Coram
I should be a little clearer: I "instantiate" dozens Java object every 5 seconds and wonder how Pilbox affects their life-cycle /todd On Thu, Aug 24, 2023, at 12:42 PM, Todd Coram wrote: > Hi, > I have a long running PilBox Android app that tends to just "crash&quo

Re: PilBox & Java object lifecycle

2023-08-24 Thread Todd Coram
Hi Alex, Fantastic language (Picolisp) and very, very useful port to Android. On Thu, Aug 24, 2023, at 2:15 PM, Alexander Burger wrote: > Is this is really the cause of the problem? Most java calls do not make a new > object each time, and stored in the hash map are not all involved objects, but

Re: PilBox & Java object lifecycle

2023-08-26 Thread Todd Coram
On Fri, Aug 25, 2023, at 3:52 AM, Alexander Burger wrote: > and did some test. Works fine, and gives - as expected - a null pointer > exception if the object is accessed from Lisp again. Great! I've got same results here. Of course, tracking every object instantiation that gets stuffed into the

SSL connection approaches...

2023-09-09 Thread Todd Coram
Hi, I've been porting my "pure" Common Lisp MQTT client to Picolisp, and it has gone very well for non-SSL connections (I just used "connect"), but I am looking for a canonical way to connect to a SSL/TLS encrypted socket (no certs needed, I just need basic encryption). I've been using pipe and

Re: SSL connection approaches...

2023-09-09 Thread Todd Coram
Thanks Alex. My MQTT client is minimal, and the Common Lisp implementation, has been running in production for over a year. I hope to do same with the Picolisp version, which has only "ncat/socat" as a dependency, It's open source, but not ready for "release" quite yet... /todd -- UNSUBSC

Re: SSL connection approaches...

2023-09-09 Thread Todd Coram
Hi AW, When I am NOT using SSL (but doing a local TCP connection to MQTT server), it is pure PicoLisp. Most of my needs are local, but I do occasionally each out to an internet hosted MQTT server. The MQTT client code I wrote a few years ago was in a subset of Common Lisp (small enough of a s