Re: task db example

2016-10-03 Thread Rowan Thorpe
On 3 October 2016 at 18:49, Alexander Burger  wrote:
> ..[snip]..
>
> For
>
>(if (= (type Item) '(+Task))
>
> I have a minor suggestion:
>
>(if (isa '+Task Item)
>
> This is more general, and would survive inheritance.
>
> ..[snip]..
>
> BTW, Joe's exact name is Bogner ;

Thanks for both important corrections (applied)  :-)

-- 
Rowan Thorpe
PGP fingerprint:
 BB0A 0787 C0EE BDD8 7F97  3D30 49F2 13A5 265D CCBD

"A riot is the language of the unheard." - Dr. Martin Luther King
"There is a great difference between worry and concern. A
worried person sees a problem, and a concerned person solves a
problem." - Harold Stephens
"Ignorance requires no apologies when it presents questions
rather than assertions." - Michael Sierchio (OpenSSL mailing list)
"What we need more than an end to wars is an end to the
beginning of all wars." - Franklin Roosevelt
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: task db example

2016-10-03 Thread Rowan Thorpe
I finally tidied-up and uploaded the task-manager tool I created last
month, based initially on Joe Bognor's wiki-page demo-app (for which I
asked on this list about copyright for the wiki-pages - there were
speculative answers/suggestions, but not a conclusive one yet...):

  https://github.com/rowanthorpe/taskwrangle

I don't get to work often with picolisp, so probably did some things
sub-optimally - feedback welcome!

The quickest way to see what it does is to scan the func-defs in the
lib-file, but here's an overview:

fields:
 * number
 * name
 * priority
 * tags
 * due
 * parent
 * children
 * blocks
 * blockedby
 * comment

functionality:
 * add/destroy/modify tasks
 * return/display tasks:
   - select by field-matches/ranges
   - sort/reverse-sort by field
   - display specific or all fields
   - show raw task-objects or task-numbers in linked fields
 * help output (per-function or all, based on home-cooked docstring system)
 * frontend wrapper funcs like (isdone), (rename), (unparent), etc...

-- 
Rowan Thorpe
PGP fingerprint:
 BB0A 0787 C0EE BDD8 7F97  3D30 49F2 13A5 265D CCBD

"A riot is the language of the unheard." - Dr. Martin Luther King
"There is a great difference between worry and concern. A
worried person sees a problem, and a concerned person solves a
problem." - Harold Stephens
"Ignorance requires no apologies when it presents questions
rather than assertions." - Michael Sierchio (OpenSSL mailing list)
"What we need more than an end to wars is an end to the
beginning of all wars." - Franklin Roosevelt
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: task db example

2016-09-06 Thread Alexander Burger
Hi Rowan,

> How is stuff posted on the wiki copyrighted/licensed?
> Public Domain? GPL?

Uh, good question! I never really thought about that. I would assume
that as PicoLisp is under a MIT licence, so should also be the stuff in
the wiki. But can that even apply to docs, or is it simply Public
Domain?

Is there anybody in this list who can say more about it?

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: task db example

2016-09-06 Thread Rowan Thorpe
On 24 August 2016 at 16:08, Joe Bogner  wrote:
> Some discussion on irc this morning prompted me to create a simple example
> showing how to interact with the db directly.
>
> I posted it to the wiki and am sharing it here in case anyone would benefit
>
> http://picolisp.com/wiki/?taskdb

This is a great example of an intuitive "on-ramp" for a concept which
can feel a bit opaque when reading reference-text, but becomes much
simpler with the "learn by doing" approach. Thanks so much for this.

I got enthusiastic while experimenting with it yesterday, and ended up
adding various features and functionalities to the point that I have a
real-world mini-app (usable for my purposes at least, without the
over-engineered "platform" effect which usually makes me stop using
other solutions due to lack of time/cognitive-bandwidth). I will
upload it but first want to credit the demo-app appropriately as
original source. How is stuff posted on the wiki copyrighted/licensed?
Public Domain? GPL?

-- 
Rowan Thorpe
http://twitter.com/rowanthorpe
PGP fingerprint:
 BB0A 0787 C0EE BDD8 7F97  3D30 49F2 13A5 265D CCBD
"There is a great difference between worry and concern. A
worried person sees a problem, and a concerned person solves a
problem." - Harold Stephens
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: task db example

2016-08-25 Thread Mike Pechkin
Thanks, perfect start point.


On Wed, Aug 24, 2016 at 4:08 PM, Joe Bogner  wrote:

> Some discussion on irc this morning prompted me to create a simple example
> showing how to interact with the db directly.
>
> I posted it to the wiki and am sharing it here in case anyone would benefit
>
> http://picolisp.com/wiki/?taskdb
>
>
>