exit codes

2014-05-06 Thread Christophe Gragnic
Hi, Say I have a PicoLisp script named tests.l. Is there a way to have an exit code for: pil -bye tests.l I couldn't find anything about this in the «invocation» section of the docs. Thanks. chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris)

Re: exit codes

2014-05-06 Thread Alexander Burger
Hi Christophe, Say I have a PicoLisp script named tests.l. Is there a way to have an exit code for: pil -bye tests.l Yes, though the above would never reach tests.l, because 'bye' is called before it. You could call (bye 7) at the end of tests.l, or pil test.l -bye 7 ♪♫ Alex --

Re: exit codes

2014-05-06 Thread Christophe Gragnic
On Tue, May 6, 2014 at 2:48 PM, Alexander Burger a...@software-lab.de wrote: Hi Christophe, Hi Alex, Thanks (again…) for your quick reply. Say I have a PicoLisp script named tests.l. Is there a way to have an exit code for: pil -bye tests.l Yes, though the above would never reach tests.l,

Using OpenStreetMap Geo-Data with PicoLisp

2014-05-06 Thread Alexander Burger
Hi all, after a lot of procrastination, I crunched out today an article about PicoLisp canvas programming, and the handling of geographic data from the OpenStreetMap project: http://picolisp.com/wiki/?osmGeoData I incorporated some short video sequences for better illustration. Perhaps this

Re: Using OpenStreetMap Geo-Data with PicoLisp

2014-05-06 Thread Joe Bogner
Hi Alex, I look forward to reading the article. To load the videos only when needed, you could take a screenshot of video and use that as the image on the page. You could have a javascript click event that replaces the image HTML with the video tag. That's the first idea that came to mind. I

Re: Using OpenStreetMap Geo-Data with PicoLisp

2014-05-06 Thread Alexander Burger
Hi Joe, Hi Alex, I look forward to reading the article. To load the videos only when needed, you could take a screenshot of video and use that as the image on the page. You could have a javascript click event that replaces the image HTML with the video tag. That's the first idea that came to

Re: Using OpenStreetMap Geo-Data with PicoLisp

2014-05-06 Thread Christian Kellermann
* Alexander Burger a...@software-lab.de [140506 20:27]: Hi all, after a lot of procrastination, I crunched out today an article about PicoLisp canvas programming, and the handling of geographic data from the OpenStreetMap project: http://picolisp.com/wiki/?osmGeoData I incorporated

Re: Using OpenStreetMap Geo-Data with PicoLisp

2014-05-06 Thread Alexander Burger
Hi Christian, in the document, and it seems that whenever the page is opened or refreshed, all those videos get reloaded. Have you tried with the preload=none attribute? As I read the spec it should make preloading the videos unattractive for the browser... Indeed! This sounds like the