[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Charlie Veniot
I just discovered the other thing that causes me problems: lack of proximity. I do find it difficult looking at "Tag 4" in that filter and not seeing the filter operator right before it. So I see the comma, and I backtrack away from "Tag 4" to figure out the filter operator is "tag". That

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Charlie Veniot
Oh man, that is pretty awesome. I can see the majority of the folk loving that. But you're right, for my disability, that isn't explicit enough for me to distinguish what's going on. Too many ways of specifying individual tags, and I start getting into some cognitive overload. I'm the same

Re: [tw5] Re: Question about the TiddlyWiki GG

2021-09-24 Thread Álvaro
Sorry for this late reply, now i rarely visit GG (here or in TiddlyTalk) I've seen your rejection to tiddlytalk and your reasons. I understand them but also I think that you could have made a hasty decision. I also think that the edit of posts was a hasty decision. In your analogy there are

[tw5] pmario's file-backups not working in firefox with tw classic

2021-09-24 Thread John Rouillard
Hi all: At some point in the past 4 months or so I lost the ability to save a twclassic tiddlywiki with pmario's file-backups addon. I get the following screen: [image: 2021-09-24 12_39_59-tbGTD - a tiddlywiki based system to Get Things Done — Mozilla Firefox.png] this happens even if I

[tw5] Re: 3D file preview?

2021-09-24 Thread Ste
No worries. :) just wondering... And giving the thread a bump! On Monday, 20 September 2021 at 13:10:03 UTC+1 Alex Davies wrote: > I'm afraid I haven't had any time to really work on this, and I don't > anticipate getting more free time until after Christmas. > > On Sunday, September 19, 2021

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Jean-Pierre Rivière
For an easy reading, edit your tiddlers with a fixed font like courier or terminal. Le vendredi 24 septembre 2021 à 19:15:47 UTC+2, Álvaro a écrit : > I don't know if they are loving that or not. The commas aren't easy to see > between brackets (for me). If I begin on end of filter run, i also

[tw5] Re: WikiLabs plugin update + New plugins

2021-09-24 Thread PMario
On Friday, September 24, 2021 at 2:12:39 PM UTC+2 TiddlyTweeter wrote: Would it be okay to open a discussion thread about its practical use on Your > GitHub ? > Sure. You can open a discussion: https://github.com/wikilabs/plugins/discussions

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Álvaro
It works fine. I tried to find a alternative, but I wasn't lucky. When I resee your filter, I remember about the multiple parameters in filter operator with commas (from last version, 5.1.23). And we can add a second filter run that it applies your filter to result of first run. Then you can

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Jean-Pierre Rivière
I was thinking that the tagging operator was the zay to get tiddlers that all share all of the tags in input. That's what the dec say: "output: the titles of any tiddlers that carry the input tags". So my function would be: \define fun(tags) <$vars four="[tags[]count[]match[4]]"> <$set

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Álvaro
I don't know if they are loving that or not. The commas aren't easy to see between brackets (for me). If I begin on end of filter run, i also have this problem. But any can build his/her mental shorcuts to avoid it. If someone can't solve a problem, maybe he/she can create a "alternative way"

[tw5] Re: how to add a button to the top right of the tiddler to copy the title ?

2021-09-24 Thread TW Tones
I know I am late to the GG party, spending more time in Discourse now, Try my attached json on tiddlywiki.com. It contains; - A button to copy the current title - A button to copy the current tiddler text - A neat little trick to link to the last tiddler and or copy buttons from the

Re: [tw5] Counting specific words

2021-09-24 Thread TW Tones
I would just add all the solutions here it are counting words in a title or string or the text field. None are attempting to render the tiddler first so that lists transclusions and macros etc.. are first expanded. You can use the wikify widget to wikify the result into a variable and pass

Re: [tw5] Counting specific words

2021-09-24 Thread paulgilbert2000
Thank you very much, both work, also one more question , to get anywhere remotely close to writing code like this for tiddly wiki , what language should i try to learn, i have no coding skills, and was just wondering if i would invest my time in learning a bit, what language should i be

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread TW Tones
Alvaro; Have you tested this? {{{ [tag[Tag 1]*,*[Tag 2],[Tag 3],[Tag 4]] :filter[tags[]count[]compare:eq[4]] }}} I cant see it working. Here is says * NEW IN: 5.1.23 Filter operators support multiple parameters which are separated by a ,

[tw5] Re: Just a Filtering Code Pattern

2021-09-24 Thread Jean-Pierre Rivière
That's fine by me. And yes filters are fun even if sometimes a bit tricky. So for the fun of it, you could arrange your filter so that the input would be the 4 tags you want. something like that: \define fun(tags) <$set variable=occ filter="[[$tags]put your filter code

[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-09-24 Thread Jean-Pierre Rivière
Yes it does trigger a javascript exception. The following code does the things you want, if I have well understood your goal. <$vars target="<>"> <$wikify name=todayfilter text=" [get[task_date]match[<>]]"> <> : <> <$list filter="[regexp[db___]!sort[task_start_time]filter]"> <$link><$view

[tw5] Re: WikiLabs plugin update + New plugins

2021-09-24 Thread TiddlyTweeter
> > PMario wrote ... > Data tiddlers have advantages for some usecases and disadvantages for > others. ... I think the concept of dadatiddlers can only be removed if we > can create something, that is adequate but works with tiddlers. At the > moment we don't have such a mechanism. > Right.

[tw5] Re: WikiLabs plugin update + New plugins

2021-09-24 Thread TiddlyTweeter
Stobot wrote: > @pmario - ... I had it setup one tiddler per user (all 26,000 of us) and > searching was painful. I instead dumped the same information into a > datatiddler with just the userid as the key, and a delimited string of > fields as the value, and your keyvalues filter operator