ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
pointfree has quit [Ping timeout: 272 seconds]
pointfree has joined #picolisp
ubLIX has quit [Quit: ubLIX]
orivej has quit [Ping timeout: 248 seconds]
andyjpb has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
<razzy> hi all. what is best option to run picolisp on android? i newbie with android. termux and pkg install picolisp cannot find picolisp.
<razzy> also. my googling is limited on a phone for 3 days.
<Regenaxer> Hi razzy!
<Regenaxer> hmm, there *is* picolisp as a Termux package
<Regenaxer> Perhaps you have a x86 CPU?
<Regenaxer> On Termux available only compiled versions for Arm
<Regenaxer> PilBox also runs only on Arm
<clacke_movim> For all arms?
<Regenaxer> PilBox provides a plugin for ARMv7
<clacke_movim> Istr there was some issue with some old phone I had, perhaps it was a an ARMv6
<Regenaxer> If you install ans start PilBox, it shows an error with which CPU it foud
<clacke_movim> Yeah I remember getting that
<razzy> well i am pretty sure i have arm. samsung galaxy s4
<Regenaxer> ok
<Regenaxer> So "apt list picolisp" does not work?
<Regenaxer> and "apt install picolisp"?
<Regenaxer> On Termux I mean of course
<razzy> there is pkg on termux no? does termux have aome emulation options?
<razzy> both apt versions find nothing.
<Regenaxer> I think there is pkg, but I never used. Always used apt
<razzy> the cpus are weird ARM cortex a15 and a7.
<razzy> could i copy picolisp for arm and run it from termux?
clacke_movim has left #picolisp [#picolisp]
Blue_flame has joined #picolisp
<Regenaxer> Yes, at least I do so with the 64 bit version. I copy the one from the PilBox build
<Regenaxer> But it *must* be available directly as a Termux package (just more outdated)
<razzy> i will try copying in evening.
<Regenaxer> But why do you not have it in Termux?
clacke_movim has joined #picolisp
<razzy> must is strong word. any idea how to check repositories?
<Regenaxer> apt list picolisp
<Regenaxer> apt show picolisp
<Regenaxer> apt search picolisp
<razzy> i can found other sw. but not picolisp. maybe i have some bad repository?
<Regenaxer> hmm
<Regenaxer> apt update ?
<razzy> nothing
<Regenaxer> :(
<razzy> afk. i will join later and read the log. if anyone has other idea than copy.
razzy has quit [Ping timeout: 272 seconds]
<Blue_flame> They stopped providing builds requiring gcc. So pil32 was removed. See if building from source works. Or try the binary from pilbox apk. This may need to be converted to emu version from which you can copy the modified binary(needs root).
<Regenaxer> Ah, I see! Thanks Blue_flame!
<Regenaxer> razzy is gone already ...
<Blue_flame> You're welcome!
<Regenaxer> :)
<Regenaxer> PilBox on ARMv7 uses https://software-lab.de/arm32.zip
<Regenaxer> It is in fact pil64 / emu
rob_w has joined #picolisp
Blue_flame has quit [Quit: Blue_flame]
razzy has joined #picolisp
razzy has quit [Ping timeout: 272 seconds]
razzy has joined #picolisp
razzy has quit [Changing host]
razzy has joined #picolisp
<razzy> blue_flame thx. regenaxer so i can use arm.zip pilbox version no problem? will try later.
<Regenaxer> Yeah, but the above contains only some binaries
<Regenaxer> To get a fully runing system, PilBox might be easier
<Regenaxer> At has a REPL too
<Regenaxer> To try it, install PilBox from Google Store (don't start it yet), then download arm32.zip and "share" it to PilBox.
<razzy> oh, "share" i do bot know what do you mean.
<razzy> ok i loaded pilbox tried it. and it does not work. pilbox is for arm64 and pilbox os saying my os is armeabi-v7a
<Regenaxer> Right
<Regenaxer> So download the above Zip with your browser, and click on the "Open" button that pops up when the download finished
<Regenaxer> (grr, I almost cannot type on Penti here. I'm on a train in Hokkaido that shakes a lot)
<Regenaxer> Or go to your "Downloads" App and either open it with PilBox or "share" it to PilBox
<Regenaxer> "share" is withh a long press on the Zip, then click the share button
<Regenaxer> (the three dots forming a equal-sided triangle with the right side open)
<Regenaxer> Do *not* unpack the Zip btw
<razzy> ok. will try later. afk.
<Regenaxer> Some Samsung devices seem to suggest that
razzy has quit [Ping timeout: 245 seconds]
jibanes has quit [Ping timeout: 258 seconds]
jibanes has joined #picolisp
razzy has joined #picolisp
razzy has quit [Changing host]
razzy has joined #picolisp
<razzy> (i would not expect japanese trains to shake. maybe minor earthquake?) btw, thx for attention.
<Regenaxer> haha, yes, not a local train
orivej has joined #picolisp
andyjpb has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
Blue_flame has joined #picolisp
<razzy> Blue_flame thx.
<Blue_flame> mention not
<razzy> he he. i tried to open downloaded arm.zip in pil and it froze. Regenaxer both options does not seem to work. will think about it
<razzy> black screen. hmm.
<Blue_flame> force stop, clear app data, then share zip to Pilbox works?
<Blue_flame> Last time I had tried I was stuck with a similar issue. Sent a bug report when android complained about ANR error. Guess that report went to /dev/null
<razzy> will try. newbie user to android.
<razzy> clear app data means clear RAM?
<Blue_flame> No, go to settings, Pilbox app, then there should be an option clear data.
<Blue_flame> settings->app->pilbox->clear data option
<Blue_flame> ^To be more specific
<Regenaxer> I'm not sure too, people I know with 32 bit Samsung had no problem
<Regenaxer> I once tried such a device too, Samsung XCover
<Regenaxer> At least one of the options (in Downloads click to open, or long-press to share)
<Regenaxer> The XCover is a strange beast: 64-bit hardware aut only 32-bit OS!
<Blue_flame> They had also done it for note 4 xynos version. It was for parity with qualcomm cpu note 4.
<Blue_flame> *exynos
<Regenaxer> I see
xkapastel has joined #picolisp
Green_flame has joined #picolisp
Green_flame has quit [Client Quit]
Blue_flame has quit [Ping timeout: 252 seconds]
Blue_flame has joined #picolisp
andyjpb has quit [Ping timeout: 272 seconds]
<razzy> i am blindly trying combinations of memory wipes and pilbox shares.
<razzy> so far no luck.
<Regenaxer> Strange
<Regenaxer> What exactly happens? Black screen?
<razzy> black screen.
<Regenaxer> You could also try to start it from Termux
<Regenaxer> $ termux-share ~/storage/downloads/arm32.zip
<Regenaxer> You need to call termux-setup-storage once to set up the links to storage in Termux
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #picolisp
Blue_flame has quit [Quit: Blue_flame]
orivej has quit [Ping timeout: 268 seconds]
<aecepoglu[m]> Do you know of solutions to 99 lisp problems in picolisp, that don't rely heavily on existing functions and showcase more primitive approaches (eg, instead of using the 'nth' function, it implements one from scratch)
<Regenaxer> You mean in addition to https://picolisp.com/wiki/?99problems ?
<Regenaxer> The 99 problems are a bit sick. They are tailored completely to Prolog originally
<Regenaxer> so they are all tree searches
<aecepoglu[m]> I mean in addition to those. I have gone through the first few of them and it seems like picolisp has a function dedicated to achieving the result exactly with a single function
<aecepoglu[m]> And I wondered if there were solutions that were less reliant on those, so I could learn the lispy ways first by following problems (and solutions)
rob_w has quit [Remote host closed the connection]
<Regenaxer> Which single function?
<aecepoglu[m]> Lets say the "nth"
<razzy> no luck. so far. i can run termux-share ./arm32.zip and it will stall/freeze.
<Regenaxer> The first examples use 'tail'
<Regenaxer> razzy: Oh, strange
<Regenaxer> aecepoglu[m], so I'm not sure I understand what you look for. The examples use the simplest function available I think
<Regenaxer> Anyway, I found these problems rather silly and frustrating. Repeating similar things
<Regenaxer> rosettacode is much better
orivej has joined #picolisp
<Regenaxer> Must sleep. Good night! ☺/
xkapastel has quit [Quit: Connection closed for inactivity]
<razzy> Regenaxer good night to far away time zones.
razzy2 has joined #picolisp
razzy has quit [Ping timeout: 244 seconds]
f8l has quit [Ping timeout: 252 seconds]
xkapastel has joined #picolisp
f8l has joined #picolisp
andyjpb has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #picolisp
andyjpb has quit [Ping timeout: 246 seconds]
ubLIX has joined #picolisp
<Regenaxer> Thanks razzy2! Good morning!