ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Picolisp latest found at http://www.software-lab.de/down.html | check also http://www.picolisp.com for more information
inara` has joined #picolisp
inara has quit [Ping timeout: 264 seconds]
clacke[m] has quit [*.net *.split]
andyjpb has quit [*.net *.split]
fwirt[m] has quit [Ping timeout: 256 seconds]
andyjpb has joined #picolisp
pierpal has quit [Ping timeout: 244 seconds]
andyjpb has quit [Ping timeout: 264 seconds]
fwirt[m] has joined #picolisp
clacke[m] has joined #picolisp
pierpal has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
orivej has joined #picolisp
alexshendi has joined #picolisp
rob_w has joined #picolisp
mtsd has joined #picolisp
aw- has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
<mtsd> Good morning everyone!
<Regenaxer> Good morning mtsd!
<mtsd> Hello Regenaxer! Is Bayern warm too?
<mtsd> Stockholm has had over 30 degrees centigrade for weeks now. Very dry season
<Regenaxer> yes, here too. Will be 32 today. Lots of fires in Sweden!
<mtsd> Yes, really bad actually
<Regenaxer> Indeed, I saw the news :(
<mtsd> People are being evacuated and everything. Germany has sent aircraft to help
<mtsd> Thanks! :)
<Regenaxer> well, not me, though I would like to have an aircraft ;)
<mtsd> So would I :)
<Regenaxer> :)
<mtsd> I used to fly gliders as a teenager
<Regenaxer> Wow, cool! A always wanted but never did
<mtsd> I was just a kid, but it was cool.
<Regenaxer> I believe so
<mtsd> Other kids drank beer and drove fast on mopeds. I flew glider aircraft, haha
<Regenaxer> :)
<mtsd> I have some news for you. I am going to hold a picolisp presentation in London in september
<Regenaxer> Really? Great!! :)
<mtsd> Amnesty is arranging an IT- conference and asked if someone could present something. I volunteered
<Regenaxer> Very good!
<Regenaxer> You know what you will talk about already?
<mtsd> I am writing the presentation over the summer, but is it OK to send it to you for proofreading?
<Regenaxer> Sure!
<Regenaxer> Using our old application?
<mtsd> Thanks! I don't want to misrepresent the language
<mtsd> Avoid spreading "fake news" ;)
<Regenaxer> No worries!
<Regenaxer> T
<mtsd> I am going to call it "Simplicity and minimalism in software development"
<Regenaxer> Good title
<mtsd> Thank you!
<Regenaxer> September is soon ;)
<mtsd> yes. time flies :)
<Regenaxer> yeah
<mtsd> Some time ago, I re-wrote an old Python/ Djangp
<mtsd> application in picolisp. Now I have extended it too
<mtsd> I am going to use this as an example
<Regenaxer> Is it used in Amnesty?
<mtsd> Show how much smaller and simpler, but with more features, the pil version is
<mtsd> Yes, it is in use
<Regenaxer> Perfect
<mtsd> It is great to count program size in Kilobytes
<Regenaxer> :)
<Regenaxer> or lines of code
<mtsd> That too. I managed to remove huge blocks of code with a simple re-write some time ago. Fantastic feeling
<mtsd> Never been able to feel the same in other languages
<Regenaxer> Glad to hear that
<mtsd> Sorry, I have to go. But, I will send you the first version of the presentation asap
orivej has quit [Ping timeout: 260 seconds]
<Regenaxer> Many thanks!
<mtsd> Thank you! See you!
mtsd has quit [Quit: Leaving]
alexshendi has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
<Nistur> mornin'
<Regenaxer> Hi Nistur
<Nistur> o7 how's stuff?
<Regenaxer> All good :)
<Nistur> nice :)
<Nistur> I have a skype interview with a studio in Germany later... I am _hoping_ that they don't expect me to speak German :P
<Nistur> that would end badly
<Regenaxer> But you were born in Germany, right?
<Nistur> but I'm far from fluent any more :P
<Nistur> I mean, I could easily re-learn within a week or three
<Nistur> but still :P
<Regenaxer> :)
fwirt[m] has quit [Read error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
fwirt[m] has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
clacke[m] has joined #picolisp
orivej has joined #picolisp
beneroth has joined #picolisp
alexshendi has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
pierpal has quit [Client Quit]
pierpal has joined #picolisp
rob_w has quit [Quit: Leaving]
inara` has quit [Read error: Connection reset by peer]
inara has joined #picolisp
beneroth has quit [Quit: Verlassend]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
styx has joined #picolisp
styx has quit [Quit: styx]
alexshendi has quit [Read error: Connection reset by peer]
andyjpb has joined #picolisp
libertas has quit [Quit: Lost terminal]
libertas has joined #picolisp
andyjpb has quit [Ping timeout: 268 seconds]
alexshendi has joined #picolisp
francogrex has joined #picolisp
<francogrex> Hi, I am trying the PilBox. (https://picolisp.com/wiki/?pilbox)
<Regenaxer> Hi francogrex
<francogrex> i managed to recompile it with the https://software-lab.de/arm32.zip (because it comes with the 64)
<francogrex> hi Rege
<Regenaxer> Recompiled in Android SDK?
<francogrex> hi Regenaxer
<Regenaxer> :)
<francogrex> yes
<Regenaxer> ok, great
<francogrex> are you one of the developers?
<Regenaxer> yes
<francogrex> cool. I like pico. especially all the good examples on rosetta code etc
<Regenaxer> Glad to hear that! So you should hang around here more often ;)
<francogrex> anyway, it worked fine the app (the REPL) and also the java api etc.. (for example (java "java.util.Random" 'nextInt 100) etc)
<Regenaxer> ok, did you also try some of the simple demo ZIPs?
<francogrex> great, but the sharing of the zips (pils) not so good
<Regenaxer> I see
<francogrex> :) yes just what i was saying
<francogrex> pilbox didn't find any shares
<Regenaxer> I noticed that some Samsung devices don't recognize them
<francogrex> i tried sharig with termux and also directly from the folder
<francogrex> i have LG
<Regenaxer> OK
<Regenaxer> In fact I modified the Manifest today
<Regenaxer> Exactly for this problem
<francogrex> Regenaxer: may i suggest one change (simple) one
<francogrex> ?
<Regenaxer> Not sure if it helped though
<Regenaxer> yes, sure
<Regenaxer> I would like to find the reason for this problem
<francogrex> i didn't find an "exit" button, so I am forced to use (java "java.lang.System" 'exit 0) to exit from the app. but would a simple (bye) do it? (all in REPL surely)
<Regenaxer> Ah, better not
<Regenaxer> This just kills picolisp
<Regenaxer> The recommended way is to swype the app out of the task list
<Regenaxer> This terminates all processes
<Regenaxer> But this does not address the above problem
<Regenaxer> Which version did you try?
<francogrex> ok yes. no indeed it doesn't address the inability to locate the ZIPed pils
<Regenaxer> is it before 20180720 (ie today)?
<Regenaxer> yes
<francogrex> let me check...
<Regenaxer> I added this to projects/gen/AndroidManifest.xml :
<Regenaxer> <intent-filter>
<Regenaxer> <category android:name="android.intent.category.DEFAULT" />
<Regenaxer> <action android:name="android.intent.action.SEND" />
<Regenaxer> <data android:mimeType="application/zip" />
<Regenaxer> </intent-filter>
<Regenaxer> This lets PilBox appear if you *share* the ZIP
<francogrex> the PilBox.tgz i get from the page nit from git
<francogrex> not
<francogrex> that is dated 25may
<Regenaxer> ok, a bit old
<Regenaxer> Try this one: https://software-lab.de/PilBox.tgz
<Regenaxer> It is the rolling release
<francogrex> ok thanks I will try
<Regenaxer> Thank you
<francogrex> i have <intent-filter>
<francogrex> <category android:name="android.intent.category.DEFAULT" />
<francogrex> <action android:name="android.intent.action.SEND" />
<francogrex> <data android:mimeType="application/zip" />
<francogrex> </intent-filter>
<francogrex> but still the same. I have the zip on the /sdcard/
<francogrex> could that be it?
<francogrex> i'm not much on android development expert
<Regenaxer> Hmm
<Regenaxer> If you "share" in the Download app, it pops up a dialog with mail, whatsapp and mor
<Regenaxer> Is PilBox contained there?
<Regenaxer> If not, then the problem must be that the mimetype is not recognized
<Regenaxer> android:mimeType="application/zip"
<Regenaxer> Could you test on your system, if it works when you replace "application/zip" in the Manifest with "application/x-zip-compressed" ?
<Regenaxer> The above link says:
<Regenaxer> the mimeType is "application/x-zip-compressed" on Android 5.0
<Regenaxer> I wonder why
<francogrex> ok Regenaxer. i can try. though not sure it will be that. I have Android 7.0
<Regenaxer> Understand
<Regenaxer> Really strange why we have this problem on some devices (and on most not)
<francogrex> when sharing with the Download PilBox pops up too yes
<Regenaxer> ah, cool, so it works there?
<francogrex> it pops up and allows sharing, but unfortunately nothing changes (zip not loaded in pilbox)
<Regenaxer> oh!
<francogrex> that's why i say it maybe be something else. is it possible to test with just an App.l file?
<Regenaxer> yes, you can create a new one in the repl
<Regenaxer> $ mkdir myApp
<Regenaxer> myApp/App.l -> Edit
<Regenaxer> But being able to read a ZIP is important for useful work
<Regenaxer> So if "it pops up and allows sharing", what is passed to PilBox?
<Regenaxer> Something must go wrong there. Do you think you can debug?
<francogrex> Regenaxer: hmm, it could be something simple but unfortuately i am not very good at debugging android projects. I can try later (see if i succeed)
<Regenaxer> Thanks, this would be very helpfuL
<Regenaxer> I cannot do it as it works here everywhere
<francogrex> :) ok i will give it a try
<Regenaxer> If you call 'termux-share' with the APK, what happens?
<Regenaxer> Some error message?
<francogrex> no, works like you showed: $ termux-share ~/storage/downloads/myApp.zip &
<francogrex> no errors
pierpal has quit [Quit: Poof]
<Regenaxer> Simply does nothing?
pierpal has joined #picolisp
<Regenaxer> BTW, I do it without '&' at the end (ie not in background)
<francogrex> yes then I launch pilbox and nothing appears in the pil list
<Regenaxer> Ah, so it indeed starts PilBox
<Regenaxer> Very strange :)
<francogrex> it's ok. we'll solve it sooner or later. meanwhile i am happy the REPL works fine and i can do some programming on android and use java api etc
<Regenaxer> Good :)
<Regenaxer> I go to sleep. Good night, and thanks for the help francogrex!
<francogrex> good night. thank you.
francogrex has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
alexshendi has quit [Ping timeout: 276 seconds]
stix has joined #picolisp
fwirt[m] has quit [Ping timeout: 245 seconds]
clacke[m] has quit [Ping timeout: 276 seconds]
alexshendi has joined #picolisp
pierpal has quit [Ping timeout: 244 seconds]
fwirt[m] has joined #picolisp
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
stix has quit [Quit: stix]
clacke[m] has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Ping timeout: 276 seconds]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp