[tw] Re: Using the List Widget for OR Operations?

2016-09-19 Thread Zaphod Beeblebrox
*PMario said:*

I did make some tests, but with the existing reveal widget, it gets more 
> complicated than using the list filter to mimic the reveal behaviour. .. So 
> imo no different possibility from my side :)
>

Thank You for testing, anyway :)


*@Jed:*

Thanks so much for your comprehensive breakdown of the Logic Operators - 
That really helps a lot! :)

--Zaphod

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31799596-c044-41a8-8128-c5094f555efc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-19 Thread HansWobbe
I found your notes to be quite helpful.  Thanks for sharing them and for 
all of your many contributions to the community.

Regards,
Hans


On Sunday, September 18, 2016 at 4:42:35 PM UTC-4, Jed Carty wrote:
>
> ... I am really not sure that they will be very helpful to anyone who 
> doesn't have at least some background in digital logic and due to the 
> limits of the symbols my keyboard makes easily the notation isn't very 
> good. Let me know if you see any mistakes or have any questions.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/409206f0-1af9-46ea-9b4c-86a17d1f5796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
I put my notes here 
, hopefully they 
will be useful. I am really not sure that they will be very helpful to 
anyone who doesn't have at least some background in digital logic and due 
to the limits of the symbols my keyboard makes easily the notation isn't 
very good. Let me know if you see any mistakes or have any questions.

The take away from this is that if you want to do something that uses only 
filter operators that take an input list and return values based on a 
binary test (which is most of them) than you should be able to do any 
filtering operation with a single list widget.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a4a6faf4-b035-46fe-b5d9-9e7951d89b0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
Jeremy beat me to it. 

You could also use 

<$list fiter="[is[current]!has[posters]!has[lobbycards]!has[discovers]]">
This is equavilent to the filter 
[is[current]]-[has[posters]]-[has[lobbycards]]-[has[discovers]] returning 
nothing
 

and avoid the empty message part. I just realized that in the writeup I did 
I got nor and nand backwards in all of my examples and I need to rewrite 
them. I will hopefully put up the fixed explanation later tonight. There 
not being any explanation of the filters in terms of digital logic or set 
theory operations has been bugging me so I need to just write it and be 
done.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/88f95384-79ba-4836-b60f-c93c2eaf7a58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
I have been looking at logical operations with filters for a while. Since you 
can do a nor b by [all[]]-[tag[a]]-[tag[b]] you should be able to do any 
logical statement that uses the operators tag, has, field and is (maybe others 
also, I will make a list) using a single filter. 

I will write up some notes and post them later. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18c037d6-a742-4cfd-b48f-657973ffface%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-12 Thread PMario
Hi Zaphod,

There are always several methods to achieve something in TW. Using the list 
widget as you do here is one of them.
IMO the $reveal widget in combination with the tw transclude mechanism and 
the transclude widget would be a better fit here. 

But this is my impression having a very fast view at the problem. So I'd 
need to do some experiments - later today - to be sure. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/796d6a45-ecfd-4589-877f-ee8992ffda5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.