Re: Compile issues

2021-01-25 Thread Henrik Sarvell
Hi Mike, thanks. On Sun, Jan 24, 2021 at 5:47 PM Mike wrote: > > > henrik@henrik-tuf:~$ llvm-config --version > > 6.0.0 > > You must have LLVM7+. > Tested in range LLVM 7-12, versions in range do not have compatible breaks > in primitives. > > (mike) > > > > -- > UNSUBSCRIBE:

Re: Compile issues

2021-01-24 Thread Henrik Sarvell
Hi Mike, henrik@henrik-tuf:~$ llvm-config --version 6.0.0 On Fri, Jan 15, 2021 at 1:24 PM Mike wrote: > > Whats is llvm version? > > > On Jan 15, 2021, at 08:03, Henrik Sarvell wrote: > >  > Hi Alex, > > I'm trying to compile newest PicoLisp but get this:

Compile issues

2021-01-14 Thread Henrik Sarvell
makefile. I'm on Ubuntu 18.04 but with a newer kernel: 5.4.0-050400-generic if it matters. Regards, Henrik Sarvell

Re: GNU Emacs picolisp-mode

2018-11-12 Thread Henrik Sarvell
Hi Alex, I don't know, too many changes too long ago, I have to do a diff against the one in the standard release and see if I can detect something weird first. On Sun, Oct 7, 2018 at 12:42 PM Alexander Burger wrote: > Hi all, > > On Sat, Oct 06, 2018 at 12:36:27AM +0700, Henrik Sarv

Re: GNU Emacs picolisp-mode

2018-10-05 Thread Henrik Sarvell
I attached my slightly modified version. On Wed, Sep 12, 2018 at 3:57 AM Tedd M. V. wrote: > Hello people, I'm sorry if I'm really confused but I'm just starting to > learn picolisp, reading the tutorial the 'emacs'-style, but at the very > beggining I saw this: > > > "If you prefer to use

Re: signify

2018-04-16 Thread Henrik Sarvell
Hi Mike, I get the impression this is a way to check if a file has not been tampered with as opposed to actually encrypting and decrypting a file or? On Mon, Apr 16, 2018 at 9:28 AM, Mike wrote: > hi all, > > https://bitbucket.org/mihailp/signify-pil/src > signify

Re: Version 17.12 question / error

2018-04-11 Thread Henrik Sarvell
I bit the bullet and refactored, all is good now with the newest version. Regarding detach, would this be a proper way of doing a server where detach is optional?: (de server (P H Detach) (setq *Port P P (port *Port) *Home (cons H (chop H))) (gc) (loop (setq *Sock (listen P))

Re: Feed reader and bookmarker

2018-04-11 Thread Henrik Sarvell
Hi Manuel, I'll try and put it up in some way given the response. Will notify in this thread when done. On Tue, Apr 10, 2018 at 3:52 PM, Manuel Cano <manutalc...@gmail.com> wrote: > Hi, > > Where can we find it? > > Kind regards, > Manu > > 2018-04-08 15:22 G

Re: Version 17.12 question / error

2018-04-11 Thread Henrik Sarvell
Thanks Alex, will try and find the time to refactor all the local calls in the ext library sources. Regarding ssl and httpGate, I'm managing proxy forwarding with Nginx these days (encrypted too) so I could actually just delete them as I don't use them anymore. I should probably create a small

Version 17.12 question / error

2018-04-09 Thread Henrik Sarvell
Hi, I just downloaded and complied the 17.12 version in order to get detach (was using a pre-detach version before). When I try to run my stuff I get [ext/base.l:9] pico -- Bad symbol namespace And that file currently looks like this:

Re: Math exp issue?

2018-02-21 Thread Henrik Sarvell
red-neural-network-in-python-53ec3d1d326a On Wed, Feb 21, 2018 at 7:55 PM, Henrik Sarvell <hsarv...@gmail.com> wrote: > Thanks Alex, > > I'll try them out, and modify multiply to handle an arbitrary amount of > matrices. > > On Wed, Feb 21, 2018 at 11:36 AM, Alexander Bur

Re: Math exp issue?

2018-02-21 Thread Henrik Sarvell
Thanks Alex, I'll try them out, and modify multiply to handle an arbitrary amount of matrices. On Wed, Feb 21, 2018 at 11:36 AM, Alexander Burger wrote: > Hi Henrik, > > > For reference, the article / tutorial: > > https://medium.com/technology-invention-and-more/how-to-

Re: Math exp issue?

2018-02-20 Thread Henrik Sarvell
I think I did it. For reference, the article / tutorial: https://medium.com/technology-invention-and-more/how-to-build-a-simple-neural-network-in-9-lines-of-python-code-cc8f23647ca1 This is the PL solution and it relies on my ext lib here: https://bitbucket.org/hsarvell/ext/overview

Re: Math exp issue?

2018-02-13 Thread Henrik Sarvell
Ah, great resource, thanks, let's see if I can get all the way to the finish line on this one now... On Mon, Jan 29, 2018 at 8:25 AM, Alexander Burger wrote: > On Mon, Jan 29, 2018 at 08:14:31AM +0100, Alexander Burger wrote: > > To the question why it returns 101 for

Math exp issue?

2018-01-28 Thread Henrik Sarvell
Hi list, long time no see! The definition of exp in math.l leads me to believe that we're calling this C function: https://www.tutorialspoint.com/c_standard_library/c_function_exp.htm Since we can't do floating numbers in PL and I notice that math.l uses (scl 6) I would hope to get get something

Re: KangarooTwelve: fast hashing based on Keccak-p

2017-06-01 Thread Henrik Sarvell
The collection is now starting to feel pretty exhaustive :-) On Thu, Jun 1, 2017 at 6:20 PM, Mike Pechkin wrote: > hi, > > Implementation: > http://keccak.noekeon.org/KangarooTwelve.pdf > https://bitbucket.org/mihailp/tankfeeder/src/ >

Re: Too many file descriptors

2017-05-30 Thread Henrik Sarvell
k (a; A 'htmlUrl) 'title (a; A 'title) 'site This 'pubAt (dtp~utcToStamp (a; A 'pubDate)) ) (linkUrl> '+SiteTag Url This) ) ) (close Fd)) ) On Tue, May 30, 2017 at 10:20 PM, Henrik Sarvell <hsarv...@gmail.com> wrote: > T

Re: Too many file descriptors

2017-05-30 Thread Henrik Sarvell
Thanks Alex, I've changed the look to your #1 suggestion now: (dm rssToPages> @ (let Str (or (next) (exclient~call (; This rssLink) "" 5)) (for A (rss~parseFrom (pipe (prin Str) (let Url (req!> '+Url

Too many file descriptors

2017-05-29 Thread Henrik Sarvell
Hi, I know this has been discussed before but it looks like in IRC because I can't find anything via Google. I'm running into too many file descriptors (again), or rather a file descriptor leak. For completeness here is the whole flow: 1.) I loop a list of sites and access pre-downloaded RSS

Re: Order by database question

2017-05-01 Thread Henrik Sarvell
Hi Alex thanks, I suspected that the fact that I was scanning two separate indexes prevented proper ordering - from reading the select tutorial (very good piece that one) - but I wanted to confirm. Added Aux and just replaced the select with your db line and it works. On Mon, May 1, 2017 at

Order by database question

2017-04-30 Thread Henrik Sarvell
Hi list, I've been looking through the docs and all my notes but it looks like I'm not managing to get the result I want no matter how I try. I've got this E/R: (class +UrlTag +Macropisobj) (rel id(+Key +Number)) (rel url (+Ref +Link) NIL (+Url)) (rel usr (+Ref +Link) NIL

Re: Header parsing

2017-04-19 Thread Henrik Sarvell
Hi Rowan, If it makes you feel better, I get all your emails because I've created a Gmail filter that makes sure picolisp mail list mails always go through the filters. On Wed, Apr 19, 2017 at 11:57 AM, Rowan Thorpe wrote: > BTW: I receive DMARC reports about

Re: Is there documentation for the libraries in @lib/ ?

2017-04-08 Thread Henrik Sarvell
http.l Is the base logic for the out of the box app functionality, a lot of it has to do with parsing and building http requests. With this file you can launch your own http server. It's the basis (as in copy paste with some modifications) for my own "web stack" as well:

Re: Future of PicoLisp?

2017-02-08 Thread Henrik Sarvell
How convenient then that compiling PL is trivial, it's probably the easiest and most hassle free thing I've ever had to compile from source. On Fri, Feb 3, 2017 at 8:47 AM, Alexander Burger wrote: > Hi all, > > the future of PicoLisp is dark. I'm not sure if it can survive

Re: Date query question

2016-12-27 Thread Henrik Sarvell
9:02PM +0100, Henrik Sarvell wrote: > > If I do the relations with the +UB index and put 2016-10-01 as the start > > date and 2016-10-20 as the end date for a specific project, do I get that > > project in my result set if I do the collect with sdate 2016-10-15 and > end >

Re: Date query question

2016-12-26 Thread Henrik Sarvell
<a...@software-lab.de> wrote: > On Mon, Dec 12, 2016 at 11:12:22AM +0100, Henrik Sarvell wrote: > > This looks like the one I need, I want all projects whose date range > > has any kind of overlap with the given date range. > > How do you think about the '+UB' tree solution

Re: Date query question

2016-12-12 Thread Henrik Sarvell
This looks like the one I need, I want all projects whose date range has any kind of overlap with the given date range. Thanks, will try it! On Thu, Nov 17, 2016 at 4:10 PM, Alexander Burger wrote: > Hi Henrik, > >> (class +Proj +Macropisobj) >> (rel id (+Key +Number)) >>

Re: Date query question

2016-11-17 Thread Henrik Sarvell
github.io/milestones/ > > I'll be happy if you can review it (and why not, leave a star on it :) ) > > If you want any explanationa on the scheduling algorihtm, I'll be more > than happy to discuss it with you ! > > Cheers, > > Rafik > > 2016-11-17 12:05 GMT+01:00 Henr

Date query question

2016-11-17 Thread Henrik Sarvell
Hi list, I'm trying to build a project scheduler / planner. This is the E/R for a project: (class +Proj +Macropisobj) (rel id (+Key +Number)) (rel nm (+Ref +String)) (rel sDate (+Ref +String)) (rel eDate (+Ref +String)) (dm getCurrent> (Sdate Edate) (filter '((P) (or (<

Re: The behaviour of arg

2016-11-12 Thread Henrik Sarvell
In this case I simply use (arg 1), I just wanted to check if perhaps (arg) defaulted to (arg 1) if no prior next had been called. On Sat, Nov 12, 2016 at 7:45 AM, Alexander Burger wrote: > Hi Henrik, Andreas, > >> I guess this is the unforgiving punishment for calling (arg)

The behaviour of arg

2016-11-11 Thread Henrik Sarvell
Hi Alex and list. If I do like this: (de atst @ (println (arg)) ) (atst 1 2 3) (bye) I never reach (bye) and I can't even abort with ctrl-c or d (had to kill -9), is there a reason for this unforgiving punishment of arg abuse or did I find some minor bug? -- UNSUBSCRIBE:

Date library

2016-11-11 Thread Henrik Sarvell
Hi everyone, I'm announcing the newest addition to the Ext library, a date class, I couldn't find anything like it already. It's not fully tested but I'm putting it out anyway to prevent someone from wasting 4-5 hours of their life by writing duplicate code:

Re: password hashes

2016-11-11 Thread Henrik Sarvell
Great, will try to use this in Macropis instead of shell commands. On Mon, Nov 7, 2016 at 4:07 PM, Mike Pechkin wrote: > hi, > > 1. Now I have a full collection of password hashes: > bcrypt > pbkdf2 > scrypt > 2. yescrypt and Argon2 are candidates in the future. > Every

Re: Simple Routing for web apps

2016-11-11 Thread Henrik Sarvell
Hi Joe, you might want to take a look at Jose's stuff: https://bitbucket.org/iromero91/web.l/src/718174234c82c0d5931754d6c172ef6799eed54d?at=default I'm the author of pl-web ( https://bitbucket.org/hsarvell/pl-web ), it's a bit different than the pure blabla -> blabla mapping, it doesn't provide

Re: MySQL native C wrapper

2016-11-06 Thread Henrik Sarvell
at 2:38 AM, Alexander Williams <a...@unscramble.co.jp> wrote: > OK I see. I'll have a look later today and see if I can handle those > issues. > > Thanks!! > > On 2015-05-02, at 1:33 AM, Henrik Sarvell <hsarv...@gmail.com> wrote: > > I've now updated, due

Re: Ubuntu does not update PicoLisp

2016-09-03 Thread Henrik Sarvell
Weird, PL has always been that rare thing for me that just builds flawlessly without any whining about missing dependencies, in like 5 seconds, on Ubuntu. On Sat, Sep 3, 2016 at 4:04 PM, Alexander Burger wrote: > Hi all, > > Ubuntu stopped to update PicoLisp in its

Re: PicoLisp Docker container

2016-06-08 Thread Henrik Sarvell
pre-compiled ./picoLisp/ into the image. That should help with > scaling. Enjoy. > > On Tue, May 31, 2016 at 7:09 AM, Henrik Sarvell <hsarv...@gmail.com> wrote: >> >> I've got quite a lot of experience with LXC, can recommend highly if >> Docker doesn't cut

Re: Best way to learn picolisp

2016-06-08 Thread Henrik Sarvell
I would say PL is much easier, less cruft. Start with picolisp.com On Wed, Jun 8, 2016 at 2:08 PM, Lawrence Bottorff wrote: > So, what would the best way to learn picolisp be for a total beginner? It > might seem like you should just bite the bullet and learn regular Common >

Re: PicoLisp Docker container

2016-05-31 Thread Henrik Sarvell
I've got quite a lot of experience with LXC, can recommend highly if Docker doesn't cut it. On Sun, May 29, 2016 at 7:52 PM, David Bloom wrote: > Hello List, > > I'm trying to make a PicoLisp container for development and scaling of > PicoLisp applications. At first I

Function browser in Emacs

2016-04-09 Thread Henrik Sarvell
This is a bit off topic but my new function browser does support Picolisp out of the box :) It might come in handy for all Picolispers on Emacs. https://bitbucket.org/hsarvell/list-functions http://www.prodevtips.com/2016/04/09/a-function-browser-for-emacs/ -- UNSUBSCRIBE:

Re: Redesigned Wiki is Live

2016-03-30 Thread Henrik Sarvell
Well done Erik! On Thu, Mar 24, 2016 at 4:34 PM, Erik Gustafson wrote: > Hi List, > > I'm very excited to announce that the redesigned PicoLisp > wiki is now running on the server! Have a look: > >http://picolisp.com > > In my (slightly biased) opinion, PicoLisp

Re: '+Agent' class

2016-03-29 Thread Henrik Sarvell
Hi Erik, the +Agent class in question makes use of rd and pr in combination with asynchronously connecting to multiple external services, like this: (dm eval> (A . @) (let? Sock (sock> This A) (when Sock (out Sock (pr (rest))) (prog1 (in Sock (rd))

Re: Websockets now considered stable

2016-01-16 Thread Henrik Sarvell
-- Undefined > > I can't find the definition of wsServer anywhere. Is it missing from the > repo? > > Thanks, > Joe > > On Mon, Jan 4, 2016 at 4:27 PM, Henrik Sarvell <hsarv...@gmail.com> wrote: >> >> Update: >> >> The socketserver is now complete

Re: picolisp and erlang in distributed/concurrent processing

2016-01-06 Thread Henrik Sarvell
Hi Lawrence, note that if you don't change the FD_SET as per my description here: http://www.mail-archive.com/picolisp@software-lab.de/msg05890.html and recompile you won't be able to run more than about 500 child processes at the same time on the same parent. If you continue reading the above

Re: Issue with wait

2016-01-04 Thread Henrik Sarvell
Yes, very easy indeed :) I actually tried to google for it but I used the wrong search terms. On Mon, Jan 4, 2016 at 8:02 AM, Alexander Burger wrote: > Hi Henrik, > >> "In fact, it has. 'wait' always first checks for pending events before >> it goes to sleep." >> >> Why

Re: Issue with wait

2016-01-04 Thread Henrik Sarvell
simply not able to get at that initial reply, in fact it looks like it's coming when the first publish happens, which I'm now forcing. On Mon, Jan 4, 2016 at 10:34 AM, Henrik Sarvell <hsarv...@gmail.com> wrote: > Yes, very easy indeed :) > > I actually tried to google for it but I used the

Re: Websockets now considered stable

2016-01-04 Thread Henrik Sarvell
edge) only allows 6 simultaneous sockets (including in iframes) per page. We've therefore been forced to turn off for instance the tournament functionality for IE users. On Fri, Jun 26, 2015 at 9:30 PM, Henrik Sarvell <hsarv...@gmail.com> wrote: > Hi all, after over a month without any of the

Re: Issue with wait

2016-01-03 Thread Henrik Sarvell
ault (line 368). On Sun, Jan 3, 2016 at 9:45 AM, Alexander Burger <a...@software-lab.de> wrote: > Hi Henrik, > > On Sat, Jan 02, 2016 at 10:34:25PM +0100, Henrik Sarvell wrote: >> I've recently implemented pub / sub ( http://redis.io/topics/pubsub ) >> in my redis

Re: Emacs REPL not "full-featured"?

2016-01-02 Thread Henrik Sarvell
If the issue is only about jumping to docs perhaps picolisp-jump in my emacs init file might be of help: http://www.prodevtips.com/2015/02/18/my-emacs-init-file-for-2015/ On Sat, Jan 2, 2016 at 11:43 AM, Alexis wrote: > > Lawrence Bottorff writes: > >

Re: Questions about EmuLisp

2016-01-02 Thread Henrik Sarvell
Hi Christophe. AFAIK ClojureScript is pretty much feature complete as opposed to Emu, there's a risk for confusion and perhaps bad PR if an online REPL based on Emu becomes the de facto way of playing around with PL for novices, ie "Why can't I do X which the manual seems to imply?!!" or "This

Issue with wait

2016-01-02 Thread Henrik Sarvell
I've recently implemented pub / sub ( http://redis.io/topics/pubsub ) in my redis class ( https://bitbucket.org/hsarvell/ext/src/default/redis.l?fileviewer=file-view-default ). Redis is apt get installable in Ubuntu 14.04: sudo apt-get install redis-server, it will start and just work immediately

Re: bitmaps from random

2015-12-21 Thread Henrik Sarvell
Neat trick to test RNGs, so obvious in hindsight. On Mon, Dec 21, 2015 at 3:49 PM, Mike Pechkin wrote: > yes, influenced by > http://goo.gl/zhTijq > > > On Mon, Dec 21, 2015 at 3:43 PM, Mike Pechkin > wrote: > >> hi, >> >> bitmaps from (rand)

Re: PicoLisp Website

2015-12-19 Thread Henrik Sarvell
Nice stuff, I like the copy too! :-) On Fri, Dec 18, 2015 at 8:50 PM, Rick Hanson wrote: > Thanks, Christophe, for putting this up. I'm now like AW, I'm only on the > phone. > > Anyway, first thought upon loading the site: Star Trek :) I love > it! Great job! > On

Re: Hosting PicoLisp

2015-12-14 Thread Henrik Sarvell
Here's how I do locally, see the bottom of this text: https://bitbucket.org/hsarvell/macropis On Sun, Dec 13, 2015 at 10:34 PM, Yiorgos Adamopoulos wrote: > On Sun, Dec 13, 2015 at 11:05 PM, Tomas Hlavaty wrote: >> possible to rent such machines

Re: Gorlansky lisp book, 800+ tasks

2015-08-27 Thread Henrik Sarvell
Can the book be freely accessed somewhere so that it's possible see the descriptions of the tasks that you solved? On Thu, Aug 27, 2015 at 9:35 AM, Mike Pechkin mike.pech...@gmail.com wrote: hi, With important backbone support from Mr.Burger all tasks were implemented. Sources are here:

Re: Websockets now considered stable

2015-07-02 Thread Henrik Sarvell
Hi Rick, seems like a fix would be a check there: if sessions dir doesn't exist (and Redis isn't used to store the session) create it and move on instead of breaking down in tears. On Sun, Jun 28, 2015 at 10:47 PM, Rick Hanson cryptor...@gmail.com wrote: I downloaded pl-web and ext and ran the

Websockets now considered stable

2015-06-26 Thread Henrik Sarvell
Hi all, after over a month without any of the prior issues I now consider the websockets part of pl-web stable: https://bitbucket.org/hsarvell/pl-web Gone are the days of 100% CPU usage and zombie processes. With Alex's help the main web server is now more stable (he made me throw away a few

Re: Websockets now considered stable

2015-06-26 Thread Henrik Sarvell
comes this limit from? POSIX IPC? PicoLisp IPC ? 2) I couldn't find the redis part in the code, maybe you can give me a hint where to look? Thanks, your work on websockets will definitely help me in in the future :-) - beneroth - Original Message - From: Henrik Sarvell

Re: https server side

2015-05-27 Thread Henrik Sarvell
I do WSS via httpGate with a CA signed certificate, see this article under the WSS section: http://picolisp.com/wiki/?Websockets On Wed, May 27, 2015 at 8:13 AM, Alexander Burger a...@software-lab.de wrote: On Wed, May 27, 2015 at 07:25:59AM +0200, Alexander Burger wrote: The file names holds

Re: MySQL native C wrapper

2015-05-01 Thread Henrik Sarvell
constraints I believe I'm done for now for the foreseeable future. On Mon, Apr 27, 2015 at 10:14 AM, Henrik Sarvell hsarv...@gmail.com wrote: Yes, you're right, I'll remove it and link straight to the lib, it was something I did in the beginning of the process when I was unsure of how

Re: MySQL native C wrapper

2015-04-27 Thread Henrik Sarvell
on my priority list. Thank you! I find it interesting that you wrote some C to initiate the mysql connection Would it be easier to do it in PicoLisp and simply use libmysqlclient.so ? On 2015-04-27, at 6:00 AM, Henrik Sarvell hsarv...@gmail.com wrote: Hi list, I'm announcing this at a very

MySQL native C wrapper

2015-04-26 Thread Henrik Sarvell
Hi list, I'm announcing this at a very early stage, earlier than I would like to, in case someone else is also thinking about doing a MySQL wrapper, to avoid duplicate work. I'm not doing this because I think that MySQL is in any way a better alternative than the native DB functionality, rather

Re: PicoLisp on machines with more than 32 gigabyte of RAM?

2015-03-12 Thread Henrik Sarvell
Not that I actually need it but the websocket server currently runs on a machine with 128GB RAM. Works just fine, the websocket router currently juggles hundreds of concurrent and persistent connections without using noticeable amounts of RAM and CPU. Due to a mistake I made processes would

Re: Calm my fears please. . . .

2015-03-09 Thread Henrik Sarvell
When doing web development of the CRUD type the lack of type checking and the incessant whining that results from wrong types is one of the biggest productivity boosts that can be had. On Mon, Mar 9, 2015 at 7:13 AM, Alexander Burger a...@software-lab.de wrote: Hi Lawrence, monads. Does the

Re: A PicoLisp native library tutorial

2015-03-03 Thread Henrik Sarvell
Nice! On Tue, Mar 3, 2015 at 5:36 PM, Alexander Williams a...@unscramble.co.jp wrote: Hi list, Some of you might know me from IRC @aw-Unscramble. I've written my first PicoLisp library, a native C binding for Nanomsg (picolisp-nanomsg) - as an experiment for myself to learn this language.

Re: Rosetta Code !!!

2015-02-20 Thread Henrik Sarvell
Mostly Alexander Burger but I believe another person also did a few, can't remember who though... On Fri, Feb 20, 2015 at 2:07 AM, Lawrence Bottorff borg...@gmail.com wrote: Just saw the picoLisp contribution for picoLisp. Enormous! Who did all that work? LB -- UNSUBSCRIBE:

Re: Installation issues

2015-02-17 Thread Henrik Sarvell
To complicate things I've attached my two local versions of picolisp.el and inferior-picolisp.el When I diff them I see quite substantial differences. Unfortunately I have no idea why I made those changes as I didn't take any notes and it was several years ago. On Tue, Feb 17, 2015 at 7:12

Re: Installation issues

2015-02-13 Thread Henrik Sarvell
Hi Lawrence, I have no idea, I have never installed the dist version. I usually install like at the bottom of this article: http://picolisp.com/wiki/?Websockets On Fri, Feb 13, 2015 at 2:39 PM, Lawrence Bottorff borg...@gmail.com wrote: Is this different from the distribution version? BTW, the

Re: Installation issues

2015-02-13 Thread Henrik Sarvell
Hi Alexis, if I google picolisp emacs I see the following URL as the #1 result: https://github.com/tj64/picolisp-mode That is what I use when I code PL in Emacs, works great! I've added a few keywords to the mode and the doc jumping in my init.el, could post both changes here if anyone is

Re: modules?

2015-02-11 Thread Henrik Sarvell
As far as avoiding getBob clashes PL already has class and namespace functionality. On Tue, Feb 10, 2015 at 2:23 AM, Lawrence Bottorff borg...@gmail.com wrote: I'm a total Lisp noob (and a very rusty programmer), but from OO (Java, et al) there is (behind the scenes, i.e., preprocessor) name

Re: modules?

2015-02-09 Thread Henrik Sarvell
Hi Lawrence, if you're talking about something like Ruby's gems, then no. On Mon, Feb 9, 2015 at 5:45 PM, Lawrence Bottorff borg...@gmail.com wrote: I'm wondering what you offer in lieu of modules (as with, say, Python). Is there a black box way to package up code in picoLisp that has

Re: Wiki: Websockets with PicoLisp, 404

2015-02-03 Thread Henrik Sarvell
Yes it can, I just haven't gotten around to updating the links. Here is Jose's new bitbucket identity: https://bitbucket.org/iromero91/ On Mon, Feb 2, 2015 at 4:33 PM, Jon Kleiser jon.klei...@fsat.no wrote: Hi, Just want to mention that the wiki page http://picolisp.com/wiki/?Websockets

Re: A Minimal PicoLisp DB/GUI Application, Importing

2015-01-15 Thread Henrik Sarvell
Hi Jon, maybe this script will be of help: https://bitbucket.org/hsarvell/ext/src/tip/sqlimport.l?at=default It's very crude but it is trying to handle the SQL - PicoDB conversion through the constraint that you have to first run it on table A if A is referenced in table B, and then run it again

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Henrik Sarvell
Isn't this a non-issue, simply enter and store all numbers regardless of location with country code + number without leading zero, eg 4912345678? Will work for all countries everywhere, I never store numbers without the country code in my mobile nowadays and always works regardless if I'm in said

Re: Syntax Highlighting in PicoLisp

2014-11-24 Thread Henrik Sarvell
I wasn't precent in the IRC but this seems to be a non-issue, if people want syntax highlighting they can implement the VIM files themselves, for emacs there are the files in lib/el. FWIW, I've attached what my emacs looks like. On Mon, Nov 24, 2014 at 10:02 AM, andr...@itship.ch wrote: Hi

Re: Tell limit?

2014-11-04 Thread Henrik Sarvell
Thanks for that. I've slept on it and I will go for a third option, storing all the content in a structure that looks exactly like the current routing table that stores all the PIDs, when it arrives, to avoid sending it as an argument via tell. On Mon, Nov 3, 2014 at 5:20 PM, Alexander Burger

Re: Sample code showing 'eval' and 'run' with binding environment

2014-10-24 Thread Henrik Sarvell
Simple example: http://www.prodevtips.com/2008/08/13/explicit-scope-resolution-in-pico-lisp/ On Thu, Oct 23, 2014 at 4:14 PM, Alexander Burger a...@software-lab.de wrote: Hi Jon, To better understand the purpose with a binding environment offset when using the functions 'eval' and 'run', I

Re: Documentation again

2014-08-13 Thread Henrik Sarvell
). - - From: Henrik Sarvell hsarv...@gmail.com; To: picolisp@software-labde; Subject: Re: Documentation again Sent: Tue, Aug 12, 2014 5:16:39 AM I noted that it's not possible to download PDFs

Re: Documentation again

2014-08-12 Thread Henrik Sarvell
and simple formats: 1. Text 2. Orgmode 3. HTML -- * From: * Henrik Sarvell hsarv...@gmail.com; * To: * picolisp@software-lab.de; * Subject: * Re: Documentation again * Sent: * Tue, Aug 12, 2014 5:16:39 AM I noted that it's not possible to download PDFs

Re: Documentation again

2014-08-11 Thread Henrik Sarvell
I noted that it's not possible to download PDFs at all from Scribd anymore without paying $9. What about making them downloadable from picolisp.com? On Tue, Aug 12, 2014 at 1:57 AM, Thorsten Jolitz tjol...@gmail.com wrote: Christophe Gragnic christophegrag...@gmail.com writes: Le 7 août 2014

Re: Solved: Tell mechanism issue (perhaps OT)

2014-08-07 Thread Henrik Sarvell
Hi Jorge, how much RAM does it have, is it a 64bit machine? I have checked the number Alex mentioned on some of our servers, all running Ubuntu 12.04, servers below 64GB RAM have that number set to 32768 per default, machines with 128GB got 98304. On Thu, Aug 7, 2014 at 12:49 PM, Jorge Acereda

Re: Solved: Tell mechanism issue (perhaps OT)

2014-08-07 Thread Henrik Sarvell
Jorge, forget that question, I just got told that osx only have the 32bit version. On Thu, Aug 7, 2014 at 1:09 PM, Henrik Sarvell hsarv...@gmail.com wrote: Hi Jorge, how much RAM does it have, is it a 64bit machine? I have checked the number Alex mentioned on some of our servers, all running

Re: Implementation Education

2014-08-07 Thread Henrik Sarvell
Hi Alabhya, if I were you I would learn enough C to understand the pil32 source and then go through it. On Thu, Aug 7, 2014 at 4:00 PM, Alabhya Singh alab...@yahoo.com wrote: To be able to use a language with utmost confidence one should be able to understand its implementation so much so as

Re: Implementation Education

2014-08-07 Thread Henrik Sarvell
pil64 and assembly respectively. -- * From: * Henrik Sarvell hsarv...@gmail.com; * To: * picolisp@software-lab.de; * Subject: * Re: Implementation Education * Sent: * Thu, Aug 7, 2014 9:31:10 AM Hi Alabhya, if I were you I would learn enough C to understand

Re: Frameset errors in doc/index.html

2014-08-07 Thread Henrik Sarvell
I see no JS errors in the console of FF 22 and Chrome 33. On Thu, Aug 7, 2014 at 6:28 PM, Alexander Burger a...@software-lab.de wrote: Hi Jon, I use the frame-based solution for doc lookup (index.html by me) Me too :) !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Frameset//EN

Re: Solved: Tell mechanism issue (perhaps OT)

2014-08-07 Thread Henrik Sarvell
The fix has been running now for roughly 24 hours with PIDs both below and above 16bit with roughly 2-30 requests per second depending on the hour, works flawlessly. One reset from 98304 to 300 has already happened without issues. Using pil64. On Thu, Aug 7, 2014 at 2:19 PM, Alexander Burger

Re: Tell mechanism issue (perhaps OT)

2014-08-04 Thread Henrik Sarvell
To sum up some IRC communication, it's not the parent id that gets told, it's a sibling PID. I will be back with more when the problem arises again. On Mon, Aug 4, 2014 at 12:30 PM, Alexander Burger a...@software-lab.de wrote: Hi Henrik, When using the new websocket server (

Tell mechanism issue (perhaps OT)

2014-08-03 Thread Henrik Sarvell
This question might be OT or self-evident for someone with better basic understanding of Linux than me. When using the new websocket server ( http://picolisp.com/wiki/?Websockets ) in production (tell ParentPid 'func bla bla) stops working after a while. Here comes the weird part, the most

Re: Doubts about the benefits of WebSockets

2014-07-15 Thread Henrik Sarvell
FWIW, in my case I fall back to polling every 10s in case websockets are not supported. However, as soon as IE9 penetration drops to an insignificant level I will stop with fallbacks. On Tue, Jul 15, 2014 at 7:11 PM, andr...@itship.ch wrote: Seems like we have a similar goal, Amaury! Cool :)

Re: Doubts about the benefits of WebSockets

2014-07-14 Thread Henrik Sarvell
Hi Alex, doesn't all that polling you're doing introduce a lot of unnecessary requests to the server. There can be up to 200 persons logged in at the same time at the site where I'm using websockets now, that would be 100 HTTP POSTS per second with full HTTP headers etc just to check for

Re: Doubts about the benefits of WebSockets

2014-07-14 Thread Henrik Sarvell
44KB / second is far from insignificant IMO, it works out to 0.35 Mbit/s if I'm not mistaken, we're paying 20 EUR per month per 1Mbit at our current co-location. Well worth spending a couple of days to avoid permanently. Plus, the goal is to have much much more people logged in in the future. On

Re: Doubts about the benefits of WebSockets

2014-07-14 Thread Henrik Sarvell
Yes but that's a residential subscription, before we moved to co-location we used fasthosts.co.uk (highly recommended if you don't do the kind of realtime stuff I do at work). With fasthosts you get unlimited speed and transfers but when you do what we do you quickly realize that it doesn't work

Re: Websockets

2014-07-13 Thread Henrik Sarvell
Hi Andreas. I don't put httpGate behind Apache since I don't need to use port 443, in any case without that websocket proxy module I'm not sure it would even be possible. Yes, making those two numbers configurable is probably a good idea and trivial to implement, will fix that asap. On Sun,

Websockets

2014-07-12 Thread Henrik Sarvell
The past few days I've been working on websockets and the write up is here: http://picolisp.com/wiki/?Websockets There are two settings that could be discussed right away on this mailing list: 1.) The appropriateness of clearing out disconnected clients from the tag and id lists every 5 seconds,

Re: nooby question re lists and quoting

2014-04-17 Thread Henrik Sarvell
hardcoded command. Thanks again and I'm sure I'll be back with more questions! Best, Simon On Wed Apr 16 2014 at 10:02:09 PM, Henrik Sarvell hsarv...@gmail.com wrote: Hi Simon, this is similar to stuff in my own system command helper script, I use it a lot: https://bitbucket.org/hsarvell

Re: nooby question re lists and quoting

2014-04-16 Thread Henrik Sarvell
Hi Simon, this is similar to stuff in my own system command helper script, I use it a lot: https://bitbucket.org/hsarvell/ext/src/tip/cmd.l?at=default It might give you some ideas. On Thu, Apr 17, 2014 at 10:13 AM, wrote: Hi, Simon, you can use apply here: (de exe2 (X) (apply 'call X)

Re: Would a logging framework make sense for PicoLisp

2014-04-12 Thread Henrik Sarvell
. On April 11, 2014 7:07:25 PM CEST, Henrik Sarvell hsarv...@gmail.com wrote: I feel like I have changed the original now to such an extent that I don't have to ask anymore :-) It feels like a derivative work. However, attribution is kept in the source: https://bitbucket.org/hsarvell

Re: Would a logging framework make sense for PicoLisp

2014-04-11 Thread Henrik Sarvell
Hi Andreas, can I put this in my ext lib: https://bitbucket.org/hsarvell/ext? I will of course keep the head with your email and info etc. On Mon, Mar 10, 2014 at 6:06 PM, Thorsten Jolitz tjol...@gmail.com wrote: andr...@itship.ch writes: Hi Andreas, I'm not sure if I understand you

Re: Would a logging framework make sense for PicoLisp

2014-04-11 Thread Henrik Sarvell
/hsarvell/ext Only difference in behaviour is that if you do for instance (setq *LogOn T) results will be unpredicable, it needs to be set to NIL or one of the four values, for instance (setq *LogOn 'debug). Enjoy! On Fri, Apr 11, 2014 at 9:28 PM, Henrik Sarvell hsarv...@gmail.com wrote: Hi

Re: Would a logging framework make sense for PicoLisp

2014-04-11 Thread Henrik Sarvell
/0544acf09a6c162f685f28a2e8f2bef8eba23058/log.l?at=default On Sat, Apr 12, 2014 at 12:48 AM, Jakob Eriksson ja...@aurorasystems.euwrote: If it is derivative, you should ask. On April 11, 2014 7:07:25 PM CEST, Henrik Sarvell hsarv...@gmail.com wrote: I feel like I have changed the original now

  1   2   3   4   >