alexshe5 has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshe66 has joined #picolisp
alexshendi has quit [Remote host closed the connection]
<Hunar>
Good morning :)
<abu[m]>
Good morning Hunar!
<Hunar>
I uploaded to github, now this works (download "raw.githubusercontent.com" "hunar1997/My-PicoLisp-Projects/main/thing.zip" "thing.zip") but setting *Repo and downloading doesn't work
<abu[m]>
What might go wrong?
<abu[m]>
I debug
<abu[m]>
ok, I know why
<abu[m]>
I did (debug 'download) and then looked at 'Src'
<abu[m]>
The problem is that the "/" is removed
<abu[m]>
(vi 'pbSettings) then we see '(let? S (fold (val> (field -1)))
<abu[m]>
'fold' removes the slash
<Hunar>
Oh
<Hunar>
Is it necessary?
<abu[m]>
Probably PilBox needs another global *Path then
<abu[m]>
I think the fold is needed because people type strange stuff if they have to enter manually
<abu[m]>
E.g. the input has automatically the first letter in upper case on some GUs
<abu[m]>
Not sure if it would be wise to remove the 'fold'
<abu[m]>
Perhaps I'm too paranoid concerning user's abilities?
<abu[m]>
Just 'lowc' instead?
<Hunar>
My url has uppercase letters too, would that be a problem?
<abu[m]>
yes
<abu[m]>
fold converts them
<Hunar>
Well, the user can do anything he wants in the terminal :) so I think it might be unnecesarry
<abu[m]>
Only power users ;)
<Hunar>
Should I just tell my (future) users (when I finally make an app) to just paste this long download command in the terminal :| where I do the download and extract etc..
<abu[m]>
You mean the simple REPL in PilBox?
<Hunar>
yes
<abu[m]>
Depends on the type of users
<Hunar>
My users would be people who don't even know what is a programming language, so every step would be hard for them.
<abu[m]>
yes, I'm afraid so
<Hunar>
I think I should get a system setup to compile PilBox and start working on the storage thing
<abu[m]>
That would be great!
<abu[m]>
Also you could make a custom PilBox then, with your app installed out of the box
rob_w has joined #picolisp
<Hunar>
That would be the best way, but I like to install it into PilBox instead :)
<abu[m]>
I should extend the PilBox settings
<abu[m]>
Two more input fields for *Repo and *Path
<Hunar>
:)
<Hunar>
Cant we just have a url of the zip?
<abu[m]>
How should it be triggered?
<abu[m]>
used if the download field is empty?
<abu[m]>
And a full URL in inconvenient, needs to be parsed and split then
<Hunar>
Ok, so just Repo filed which is software-lab.de when empty, and path
<Hunar>
without removing slashes and lowercassing :)
<abu[m]>
of course ;)
<Hunar>
I'll go to figure out if I could compile PilBox without too many issues
<abu[m]>
good
alexshe66 is now known as alexshendi
<Hunar>
Ok built an apk called it MyPilBox, presses install, says (not installed) 😐 is the sdkmanager commands in the README file up to date?
<abu[m]>
I hope so. Did you call mk.pilBox ?
<abu[m]>
What I do is:
<abu[m]>
$ vi assets/run/Version && echo <myKey> | ./mk.pilBox
<Hunar>
Yes I call mk.pilBox .. the instruction (sdkmanager "ndk-bundle") didn't work, I had to add a version, not sure what to pick so I chose (sdkmanager "ndk-bundle;r25") which I saw from sdkmanager --list
<Hunar>
and used jdk8-openjdk, do I need the official version from the website or openjdk is fine?
<abu[m]>
Ah, ndk-bundle is no longer needed, as PilBox.tgz has all libs pre-build
<abu[m]>
And normall Debian JDK is fine
<abu[m]>
btw, the README from 19oct22abu has ndk-bundle removed
<Hunar>
I downloaded software-lab.de/PilBox.tgz today, version is 20221018 .. I'm on archlinux
<abu[m]>
ok, so this is not released yet
<abu[m]>
No problem I think, no relevant changes
<Hunar>
I get some errors too during build ix.io/4foJ
seninha has joined #picolisp
<abu[m]>
Why does it say "target 18"? MINSDK is 21
<abu[m]>
And I don't remember the details for the signing key :(
<Hunar>
Ah, sorry ... the sign thing is fixed.. so only the top error and the (cannot remove) errors remain
<abu[m]>
The remove errors are probably only because the files were not created due to the error before
<abu[m]>
So the question is what that target 18 means
<abu[m]>
Something with the Java version?
<abu[m]>
Cause the SDK target seems not used yet
<Hunar>
Ah, fixed that too :) It was using java18 instead of java8 .. didn't read the README very carefully
<Hunar>
let me try now
<abu[m]>
Cool!
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
<Hunar>
Finally working :) I had to (grep -R software_lab) and replace it in so many places to avoid conflicting with PilBox
<abu[m]>
Perfect!
<abu[m]>
Later today I will try to implement the new fields in pbSettings
<Hunar>
:D
v_m_v has joined #picolisp
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #picolisp
<abu[m]>
Hunar: What do you think? I can remove the global *Repo, right?
<Hunar>
Yes :) no problem
<abu[m]>
good
<abu[m]>
I cannot release a new PilBox atm, but if you like you can try this App.l http://pb1n.de/?7f8fee
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #picolisp
<Hunar>
IT WORKS!
<abu[m]>
Great! :)
<Hunar>
It just maybe needs a line of text to explain what it is. otherwise perfect :D
<abu[m]>
true
<Hunar>
I couldn't work on the app since I need a 64bit android 11 machine.. I found an online free website with android 11 but it was 32bit
seninha has quit [Remote host closed the connection]
<abu[m]>
oh :(
v_m_v has quit [Remote host closed the connection]
<Hunar>
I also found this blossos.com which I think is what I want.. I need to download it tomorrow
<Hunar>
typo: blissos.com
<Hunar>
still typo: blissos.org
<abu[m]>
☺
chexum has quit [Remote host closed the connection]