Re: Date query question

2016-11-17 Thread Alexander Burger
Another possibility (which I mentioned initially when we discussed this in IRC) is to use a 2-dimensional UB-Tree index. This would be the most efficient way, both in speed and in size (only a single index is required). (class +Proj +Macropisobj) ... (rel sDate (+UB +Aux +Ref +Date)

Re: First post

2016-11-17 Thread CILz
Hello, Thanks for all your suggestions/ideas regarding using PicoLisp DB as a kind of graph database. I now have to experiment... Best, Eric Le 17/11/2016 à 23:17, andr...@itship.ch a écrit : Declarations: I have now experience in actually using any graph databases. One could simply

Re: First post

2016-11-17 Thread andreas
s/Declarations/Disclaimer s/now/no sorry for broken English... - Original Message - From: andr...@itship.ch [mailto:andr...@itship.ch] To: picolisp@software-lab.de Sent: Thu, 17 Nov 2016 23:17:13 +0100 Subject: Re: First post Declarations: I have now experience in actually using any

Re: First post

2016-11-17 Thread andreas
Declarations: I have now experience in actually using any graph databases. One could simply store the pilog declarations as lists or symbols in the DB, as I understand it, this is what Regenaxer did in the mentioned case. The other way would be to model the data as pil DB schema, as Joh-Tob

Re: Date query question

2016-11-17 Thread Alexander Burger
On Thu, Nov 17, 2016 at 04:10:32PM +0100, Alexander Burger wrote: >(? > @Sdate (cons Sdate T) # Range with open end > @Edate (cons Edate NIL)# Reversed range with open start > (select (@Proj) > ((sDate +Proj @Sdate) (eDate +Proj @Edate)) # Search two

Re: later vs. co

2016-11-17 Thread Joe Bogner
Great! To add to the dialog, I am not surprised by co/in-row being similar. I might have actually thought that co would be slightly slower. This task is CPU bound which won't get any benefit from switching coroutines, whereas later spawns new processes (workers) to take advantage of multi-core.

Re: later vs. co

2016-11-17 Thread Alexander Burger
Hi Mike, On Thu, Nov 17, 2016 at 05:01:24PM +0200, Mike Pechkin wrote: > https://bitbucket.org/mihailp/tankfeeder/raw/43d62edb11d56b4ffada4f728ab59b5455c97fbc/pow.l > > https://bitmessage.org/wiki/Proof_of_work Great news! Thanks! ♪♫ Alex -- UNSUBSCRIBE:

Re: Date query question

2016-11-17 Thread Alexander Burger
Hi Joe, > For my own curiosity, should Pilog perform much better than a > collect/filter? I would think that collect/filter should be nearly > instant on upwards of a few thousand items (untested). When the data Yes, I would say so too. And for larger results sets, or if multiple indexes are

Re: Date query question

2016-11-17 Thread Alexander Burger
Hi Henrik, > (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 > (< Sdate (; P sDate) Edate) > (< Sdate (; P

later vs. co

2016-11-17 Thread Mike Pechkin
hi, https://bitbucket.org/mihailp/tankfeeder/raw/43d62edb11d56b4ffada4f728ab59b5455c97fbc/pow.l https://bitmessage.org/wiki/Proof_of_work I've implement more two versions for calculation Bitmessage POW on (later) and (co) functions. It works. environment: o) DELL PowerEdge 430 (modern) o)

Re: Date query question

2016-11-17 Thread Joe Bogner
Henrik, thanks for sharing. Interesting question! > I can fairly trivially do a collect and then a filter on the results of the > collect as shown above. > > But how would the above problem be solved with Pilog and select if we have > more than "a couple of hundred objects" in the database? >

Re: Date query question

2016-11-17 Thread Rafik NACCACHE
All right, but shall you need some auto-scheduling, to YU know where to look! Le 17 nov. 2016 12:54 PM, "Henrik Sarvell" a écrit : > Hi Rafik, > > Nice stuff, but I don't need that magic, the goal here is simply adding > humans to projects and displaying the schedule to see

Re: Date query question

2016-11-17 Thread Henrik Sarvell
Hi Rafik, Nice stuff, but I don't need that magic, the goal here is simply adding humans to projects and displaying the schedule to see who might be available to do new stuff at some point in time. On Thu, Nov 17, 2016 at 12:15 PM, Rafik NACCACHE wrote: > HEy

Re: Date query question

2016-11-17 Thread Rafik NACCACHE
HEy Henrik, Not related by U wrote a project scheduling library and a tasks parser for natural language in Clojure, You might want to take a look on it here: https://github.com/turbopape/milestones There is one online dome here: http://turbopape.github.io/milestones/ I'll be happy if you can

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 (<

Unsubscribe

2016-11-17 Thread jovan
Good bye jovan :-( You are now unsubscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe