[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-20 Thread TonyM
Mohammad,

Just sharing in case there is a method you want to use.

Please find attached an in progress extended search of my own, using the 
tag $:/tags/SearchResults a few times

It appears below the standard search ( in tabs ).

*Extended* is something I would like to introduce to the standard 
distribution. For example edit the caption of $:/Manager
to read "Tiddler Manager" and 
$:/TagManager
to read "Tag Manager"

And they will appear as a result in the extended search if you search for 
manager.
It's a way of plugins and macros to include themself in the search outcomes 
without searching all system tiddlers

The extended search also searches for the search string in the keywords 
fieldname of any tiddler.

*The Hashtags* Search is a *work in progress* and has abended my wiki, the 
method there may also be used to search for keywords independently.

*System* is system tiddlers only and uses the caption if available (and not 
a transclusion)

*Tags* is for tag tiddlers only and uses the caption if available (and not 
a transclusion)


Regards
Tony



On Saturday, December 21, 2019 at 3:11:59 PM UTC+11, Mohammad wrote:
>
> Hi Bimlas,
>  I tried your combined searchbox and it is quite powerful!
> It is a pity it was not announced here in community!
>
>
> @David Gifford
> This is a wiki for combined search
> https://bimlas.gitlab.io/demo/tw5/combined-search.html
>
> Good to add to toolmap as search tool
>
>
> --Mohammad
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/37e145ab-aa75-4b12-b451-60e9513d96bc%40googlegroups.com.


extended-search.bundle.json
Description: application/json


[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-20 Thread Mohammad
Hi Bimlas,
 I tried your combined searchbox and it is quite powerful!
It is a pity it was not announced here in community!


@David Gifford
This is a wiki for combined search
https://bimlas.gitlab.io/demo/tw5/combined-search.html

Good to add to toolmap as search tool


--Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ace01a24-c618-4696-a303-108f7b46b12d%40googlegroups.com.


[tw5] Re: Two ideas for hiding and expanding

2019-12-20 Thread Mohammad
Good job David!
May be you could add a button for custom to go to full screen editor!

--Mohammad

On Friday, December 20, 2019 at 6:26:06 PM UTC+3:30, David Gifford wrote:
>
> Hi everyone
>
> I came up with two solutions this morning for needs that I had:
>
> 1) a toggle button in viewing mode that hides / reveals content in the 
> tiddler text, hidden by CSS
> 2) a row of toggle buttons that hide / reveal elements of the edittemplate 
> (title, tags, type, field, and custom user content), in order to maximize 
> screen real estate for editing.
>
> See them both here: 
> https://giffmex.org/experiments/expand.edittemplate.html
>
> Open invitation and encouragement for someone here to refine either of 
> these and turn it into a plugin.
>
> Blessings, Dave
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6bb3e95-eb7a-414a-9aaf-d571b5376c89%40googlegroups.com.


[tw5] Improve TW documentation

2019-12-20 Thread Mohammad
In another thread we discussed most of TW features are not well documented 
one case is
filter operators. I propose to add a *type* in the table explains the 
operator to understand
this is a

   - selection modifier, OR
   - selection constructor

Hope others give their comments on other issues they encountered!

--Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/58e5dd22-386b-442d-a8e1-8b5c71f7abec%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread Mohammad
Hi Mark,
 Many thanks for your reply!
The tiddlywiki.com documentation is quite in this regards! Ones cannot find 
how list works!
It took me hours to debug the script and find the source of bug in this 
case!

I do not know if there is any plan to improve TW docs or not.

--Mohammad


On Saturday, December 21, 2019 at 5:10:36 AM UTC+3:30, Mark S. wrote:
>
> The list operator is a constructor, or generator, It ignores its input. So 
> the first filter returns the result of list[population], and the second 
> filter returns the result of list[sample].
>
> The last + operator wins, as it were.
>
> On Friday, December 20, 2019 at 2:19:46 AM UTC-8, Mohammad wrote:
>>
>>
>>1. There are two tiddlers sample and population
>>2. the population tiddler has a list field with *a b c* as field value
>>3. the sample tiddler has a list field with only b as field value
>>
>>
>> Using the below AND run ([filter1]+[filter2]) results in different 
>> results why the AND should return the same result
>>
>>
>> Test
>>
>> <$list filter="[list[sample]]+[list[population]]">
>>
>>
>> 
>>
>>
>> ---
>>
>>
>> <$list filter="[list[population]]+[list[sample]]">
>>
>>
>> 
>>
>>
>> Will results in
>>
>> a
>> b
>> c
>> b
>> ---
>> b
>>
>> Why the results are different?
>>
>> --Mohammad
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e87c6e32-1261-44db-b307-54db546d1668%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread 'Mark S.' via TiddlyWiki
And here's a possible "and" structure that works (I think), but does 
require you to refer to the list fields with !! notation:

<$list filter="[list[population]] 
[list[sample]]-[list[population]remove{sample!!list}] 
-[list[sample]remove{population!!list}]"/>


On Friday, December 20, 2019 at 5:40:36 PM UTC-8, Mark S. wrote:
>
> The list operator is a constructor, or generator, It ignores its input. So 
> the first filter returns the result of list[population], and the second 
> filter returns the result of list[sample].
>
> The last + operator wins, as it were.
>
> On Friday, December 20, 2019 at 2:19:46 AM UTC-8, Mohammad wrote:
>>
>>
>>1. There are two tiddlers sample and population
>>2. the population tiddler has a list field with *a b c* as field value
>>3. the sample tiddler has a list field with only b as field value
>>
>>
>> Using the below AND run ([filter1]+[filter2]) results in different 
>> results why the AND should return the same result
>>
>>
>> Test
>>
>> <$list filter="[list[sample]]+[list[population]]">
>>
>>
>> 
>>
>>
>> ---
>>
>>
>> <$list filter="[list[population]]+[list[sample]]">
>>
>>
>> 
>>
>>
>> Will results in
>>
>> a
>> b
>> c
>> b
>> ---
>> b
>>
>> Why the results are different?
>>
>> --Mohammad
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e19688f-4bac-4a2b-baf5-72a7c704f178%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread 'Mark S.' via TiddlyWiki
The list operator is a constructor, or generator, It ignores its input. So 
the first filter returns the result of list[population], and the second 
filter returns the result of list[sample].

The last + operator wins, as it were.

On Friday, December 20, 2019 at 2:19:46 AM UTC-8, Mohammad wrote:
>
>
>1. There are two tiddlers sample and population
>2. the population tiddler has a list field with *a b c* as field value
>3. the sample tiddler has a list field with only b as field value
>
>
> Using the below AND run ([filter1]+[filter2]) results in different results 
> why the AND should return the same result
>
>
> Test
>
> <$list filter="[list[sample]]+[list[population]]">
>
>
> 
>
>
> ---
>
>
> <$list filter="[list[population]]+[list[sample]]">
>
>
> 
>
>
> Will results in
>
> a
> b
> c
> b
> ---
> b
>
> Why the results are different?
>
> --Mohammad
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7350d90c-10a4-46df-8b08-59b3f331f9c4%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread TonyM
Any such documentation can document the rules and then the exceptions.

It requires collaboration and/or a subject mater expert.

Regards
Tony

On Saturday, December 21, 2019 at 1:34:00 AM UTC+11, TiddlyTweeter wrote:
>
> PMario wrote:
>>
>> ... It is an "organically grown" language. That means, whenever there was 
>> a strong demand, which made sense, something has been implemented, that 
>> solved the specific problem. 
>>
>> ... That's why the filter syntax isn't 100% consistent. ... Because ... 
>> Backwards compatibility trumps consistency!! - always
>>
>> As a result our "filter language" is a little bit more complex, as it 
>> could be ;)
>>
>
> RIGHT. No problem with that. Pragmatic issues. Organic solutions. 
>
> But my wonder is this ...
>
> *Q: Is it possible to logically depict the filter Operators 
> inter-sequencing? *
>
>  
> *In other words, ONE framework to comprehend their relations?*
>
> Best wishes
> TT
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71416b65-b5cb-46e9-a517-8ddab075b6cb%40googlegroups.com.


[tw5] Re: Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread Enrico Guiraud
Hi Jed,
I have looked at Bob a bit today, thanks. I hoped there might have been 
another solution because Bob looks definitely overkill for my needs, it 
does _so much_ (credit to you!) and I would like a more minimal setup.
So far I could not figure out how to have Bob serve my.domain/tiddly1 and 
my.domain/tiddly2 as separate wikis from behind an apache reverse proxy, 
but I guess that's off topic in this thread :) (I have seen the example here 

.

Cheers,
Enrico

On Friday, 20 December 2019 22:14:28 UTC+1, Jed Carty wrote:
>
> When you use the normal node server it creates a new node process for each 
> one, that is why I made Bob just create a new wiki object. I have a little 
> raspberry pi 2 serving 20 or 30 node wikis without trouble using Bob.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00d996c2-b50b-45e1-b65a-53209ea7a361%40googlegroups.com.


[tw5] Re: Two ideas for hiding and expanding

2019-12-20 Thread TonyM
Dave

Thanks for sharing your work. Can I suggest you reverse the order of label 
and checkbox's?

title , tags , type , fields 

In my view this also a little more intuitive for settings, rather than say 
in a task list.

Regards
Tony

On Saturday, 21 December 2019 01:56:06 UTC+11, David Gifford wrote:
>
> Hi everyone
>
> I came up with two solutions this morning for needs that I had:
>
> 1) a toggle button in viewing mode that hides / reveals content in the 
> tiddler text, hidden by CSS
> 2) a row of toggle buttons that hide / reveal elements of the edittemplate 
> (title, tags, type, field, and custom user content), in order to maximize 
> screen real estate for editing.
>
> See them both here: 
> https://giffmex.org/experiments/expand.edittemplate.html
>
> Open invitation and encouragement for someone here to refine either of 
> these and turn it into a plugin.
>
> Blessings, Dave
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7d16881-3d15-4bbe-a431-f2b54bd66a79%40googlegroups.com.


[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-20 Thread TonyM
A Gloom (Can we have a more personal name?)
 

>
> just like Lucifer & Sinatra, I must first figure and do it myself-- habit 
> that's really hard to kick
>
> I so agree with this !

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9f905caf-8900-4ac6-bdfb-132babff763d%40googlegroups.com.


[tw5] Re: TW5 request: autosave every N minutes

2019-12-20 Thread 'Mark S.' via TiddlyWiki
https://ooktech.com/TiddlyWiki/TimerActions/#%24%3A%2Fplugins%2FOokTech%2FTimerActions

On Friday, December 20, 2019 at 2:44:06 PM UTC-8, TonyM wrote:
>
>
> On the OT, there is a plugin that enables timed triggers, sorry no 
> reference to give you.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9806c124-daa6-41fe-959e-bb21688567ed%40googlegroups.com.


[tw5] Re: [tw] TiddlyWiki 5 European Portuguese pt_PT Translation

2019-12-20 Thread TonyM
Duarte,

Thanks so much for your contribution, I am not a Portuguese speaker but 
value the internationalisation of such. 

I hope in time there will be some easy documentation for designers to 
internationalise their own designs. Then they can call for translations for 
a small set of messages and instructions.

Regards
Tony

On Friday, December 20, 2019 at 2:39:47 AM UTC+11, Duarte Farrajota Ramos 
wrote:
>
> After a long hiatus here a long overdue updated translation.
> Fixed a few typos, improved a bunch of strings and added missing ones.
>
>
> On Monday, 24 October 2016 00:10:46 UTC+1, Duarte Farrajota Ramos wrote:
>>
>> Hey everyone, hello again.
>>
>> I've recently had the opportunity to actually work with a tiddlywiki with 
>> Portuguese set as default language for the UI, so it's giving a good 
>> opportunity to quality check the translation
>> Here's an updated version with some minor fixes and improvements. Also 
>> includes the fix for the issue reported in github 
>>  about date 
>> format, in case it causes merge troubles.
>>
>> Hope it still goes in time for the next 5.1.14 release.
>> All the Best
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb8ceefd-b8f1-4a58-90f6-f23a8f0599a4%40googlegroups.com.


Re: [tw5] Pin Unpin Posts

2019-12-20 Thread TonyM
Jeremy,

Sorry I have not had time to respond comprehensively to these serious 
questions. I apologize for the length of the response but I am trying to be 
concise, and address a less well known approach.

First, Jeremy thanks for remaining open and prepared to discuss a 
difference of opinion.

Perhaps first I can illustrate three philosophical approaches to community 
moderation. 


   1. The First and most common is locking down most possible features and 
   asking administrators to implement exceptions eg; Only administrators can 
   Pin they must be asked
  - A Subversion of this is where administrators do things without 
  explanation and are not seen to be accountable or working in the forums 
  interest. I had an experience of this where the owner of a non-political 
  Facebook group threatened to lock me out because what I said "tested" his 
  own political world view (although indirectly). I would thus have no 
right 
  of reply (I was sent a lot of private support), the community was in his 
  image, not the members.
   2. The second is totally laissez faire, with all features exposed and no 
   guidance or moderators who can reverse less appropriate use, eg; total 
   hands off
   3. The Third lays between 2 and 1 maximising the features available to 
   all users, but administrators gently suggesting the best practice in public 
   comments for all to see, asking the user to alter their behaviour, and only 
   when necessary actually intervening on a per-post or user level. eg tell 
   people when they should use pins, unpin if misused but only with a reply or 
   post as guidance. For example I did not know that pins were public 
   (earlier), had I known I would have immediately changed my practices.

The third approach can reduce the admin required while maximising the 
features to the community. It has the effect of building a culture, and all 
members start to work together to encourage this culture, not just the 
admins, thus democratising and distributing the curation. Occasionally 
debates will occur about a particular feature but this is better that 
having a limited group of admins or no curation at all.

The Third approach is an evolutionary one, and should be as permissive as 
possible, and avoid "knee Jerk reactions".

How is option three different to current methods? - The community would 
have more features available to self organise and the use of these features 
will develop within the community. More features will help address many of 
the limitations the community currently experiences.
  


> Are you saying that this community practices active moderation without a 
> real need? Or that you’re afraid it’s going to start doing so?
>

Yes, I am both afraid it’s going to start doing so, and now features that 
could help, are already switched off.
 

> It’s important that the community is welcoming to new users. I’ve said a 
> few times that having open moderation provides a poor experience for 
> new/rare users of the forum. Plus we don’t definitively know which features 
> are controlled by the moderation permission setting, so we don’t even know 
> what powers we’re handing out.
>

A Good forum culture with active users, we have many, I am one will curate 
and support new/rare users of the forum even better than now. I am not 
talking so open we loose control.
 

>
> and thus demanding more effort from moderators on the basis of "perceived" 
> concerns. An agreed, transparent framework of decision should be based on 
> evidence not opinion (including my own).
>
>
> What are the perceived concerns that you’re thinking of? What kind of 
> evidence do you mean?
>

I think one example is the recent pinning issue. Apart from my own pins, 
which could be argued were valid, as far as I can see only two other pins 
occurred and yet the response was is to stop pinning. I and other users 
changed out behaviour as soon as we had more information, administrators 
could still unpin? and it was no longer a problem but locking it out 
occured right away. We did not give this a feature to become part of the 
culture. The evidence I speak of is the experience and what happens in the 
forum, for example there was evidence that informing users of the 
limitations of pinning was working. 
 

>
> You invited us to comment on this and I know my suggestion may seem 
> non-intuitive and contradictory to many groups, but I is based on my 
> experience.
>
>
> I think I understand your suggestion, and I hope I’ve explained clearly 
> why I’m not in favour of opening up moderation again.
>

Perhaps you can now see in my words the cost of this approach comes at a 
feature and cultural cost. However I am not asking to open moderation up, I 
am asking to open features and allow self and community with moderation 
only intervening if something becomes unmanageable (after the community has 
an opportunity to manage it, and asks for such help.
 

>
> People now migrate to 

[tw5] Re: TW5 request: autosave every N minutes

2019-12-20 Thread TonyM
I Actualy find auto or manual save sufficient on stable environments but would 
appreciate a save after an idle period. A count Down to autosave would be nice. 

One advantage of a timed autosave if you are editing text in a particular way 
without the draft mechanisium it can save the last bytes entered.

On the OT, there is a plugin that enables timed triggers, sorry no reference to 
give you.

I would be keen to have a timed save "has changed" to a separate file than the 
loaded file, and a method to recover changes lost.

Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0385dee7-aea0-47f7-b5a6-5f39f47becc8%40googlegroups.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread TonyM
Bimlas

Sorry for my previous stream of consciousness reply. I agree every person 
should have there own tiddler and a field for each essential relationship is 
important e.g. mother father but my siblings are a relationship that should be 
derived not encoded, ie they share one or more of my parents. Or cousins the 
children of my aunts and uncles should be derived. I think whereever possible a 
relationship should be evaluated and not encoded.

Please forgive my extending into advanced concepts.

I can imagin a single relationships table for all mutable relationships keyed 
by date with possible fuzzy and missing values. When navigating a tree you 
would do so at a given time, typically now. However one day it would be 
possible to introduce a time slider so one can view the tree, even annimate it 
over time. E.g. new tree is derived after divorce, we can handle "dotted line" 
relationships.

Whilst this sounds complex I think it may be one of the only ways to truly 
represent such potentially complex data. As a result of accepting the reality 
of change and time as a serial number I think we can Actualy reduce the 
complexity of the problem in the long run.

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/330f7a22-b104-4daa-9539-6869ae830e5e%40googlegroups.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread TonyM
Josiah,

I think the idea of immutable and mutable relationships is importiant. In fact 
some relationships are mutable in ways people do not think off for example 
genetics can expose a different genetic father. I think tentative relationships 
could have value e.g. he is my father in marriage and by default my genetic 
father but these are two relationships. One which can change with new 
information. 

At first it seems almost chaotic but there is one scale against which we can 
align everything possible and that is time. Birth and death dates but also 
marriage, defacto and divorce some of which have extended meaning such as my 
mothers remarriage is also the date I may become a step child. Relationships 
can have start and end dates including be reestablished.

However valuable time is to order many things including the changing of 
relationships over time it becomes even more important to handle fuzzy or 
missing values.

Bimlas my point about the kin operator is it can be used to achieve these 
objectives. It could be better to enhance the kin operator than write a new 
one. But this is your choice.

Tony


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b1e14ad-a03c-4832-bc90-08de723d5cf4%40googlegroups.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread bimlas
Josiah,

Thanks for the advice, I'm thinking about it!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba37ded5-cf71-4b85-bc95-4187f8713228%40googlegroups.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread bimlas
Josiah,
 

> Added a slightly more complex example (the second one).
>

Thanks for the example, that's what I wanted! 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a414c111-5cd6-4217-b9d0-5cfbc18e06db%40googlegroups.com.


Re: [tw5] Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread 'Mark S.' via TiddlyWiki
I've noticed that when opening up a TW file in a browser, it takes a lot 
more memory (10x) than the original TW file. I suspect that there is a lot 
of stuff that has to be "unpacked" into memory. By extension, the same 
thing probably happens inside of a node running tw.

On Friday, December 20, 2019 at 12:28:10 PM UTC-8, Enrico Guiraud wrote:
>
> Hi Jeremy,
> tiddlywiki uses 110MB of RAM to serve an *empty *tiddlywiki.
>
> The total size of all wikis that I need to serve is currently less than 
> 15MB. I'm perfectly ok with all tiddlers being loaded in memory.
> What I find weird is that every server I spin up has an overhead of 110+ 
> MB, and I'm looking into ways to reduce that.
>
> Cheers,
> Enrico
>
> On Fri, 20 Dec 2019 at 21:19, Jeremy Ruston  
> wrote:
>
>> Hi Enrico
>>
>> TiddlyWiki under Node.js loads the entire wiki into RAM. It does so in 
>> order to support server-side processing (such as serverside page 
>> rendering). But, of course, it is relatively resource intensive, and 
>> unnecessary if all the server is doing is acting as a front end to a 
>> database of tiddlers, and the browser is doing all the rendering.
>>
>> Arlen Beiler recently did some exploration along these lines recently:
>>
>>
>> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSe4-y4wR%3D6o_ihBmYe8E_bUqAgqT0tpb7LwaSpv7K9Uw%40mail.gmail.com
>>  
>> 
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> --
>> Jeremy Ruston
>> jer...@jermolene.com
>> https://jermolene.com
>>
>> On 20 Dec 2019, at 15:59, Enrico Guiraud  
>> wrote:
>>
>> 
>> Hi all,
>> big fan of tiddlywiki (I routinely use 3, hosted on a VPS) and recently I 
>> started advertising it to my friends.
>> To get more people into tiddlywiki, I just set them up for them on my VPS.
>>
>> The problem: I'm now serving an average of 5-6 tiddlywikis, and my little 
>> VPS is almost out of RAM: each tiddlywiki server uses 110 MB or more. 
>> That's _a lot_, isn't it?
>>
>> Can anyone suggest ways to reduce memory usage when serving multiple 
>> tiddlywikis?
>>
>> Would it be possible to have one server serve different wikis on 
>> different paths (and if so, would it help)?
>>
>>
>> Does anyone know what causes the large memory usage and whether it can be 
>> optimized? I would be willing to put some hours into this -- am a 
>> developer, but don't know much about javascript.
>>
>>
>> Cheers,
>>
>> Enrico
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e9d9e0d4-3d54-462a-af72-4bcb92d2c268%40googlegroups.com
>>  
>> 
>> .
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/55AC7B95-5384-4889-A7AE-82B063FCD22C%40gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6f21cff6-261e-4029-bfe7-b231f91477f6%40googlegroups.com.


[tw5] Re: Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread Jed Carty
When you use the normal node server it creates a new node process for each 
one, that is why I made Bob just create a new wiki object. I have a little 
raspberry pi 2 serving 20 or 30 node wikis without trouble using Bob.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7aebdeb0-5828-4fd6-a86a-5160aefa592c%40googlegroups.com.


Re: [tw5] Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread Enrico Guiraud
Hi Jeremy,
tiddlywiki uses 110MB of RAM to serve an *empty *tiddlywiki.

The total size of all wikis that I need to serve is currently less than
15MB. I'm perfectly ok with all tiddlers being loaded in memory.
What I find weird is that every server I spin up has an overhead of 110+
MB, and I'm looking into ways to reduce that.

Cheers,
Enrico

On Fri, 20 Dec 2019 at 21:19, Jeremy Ruston  wrote:

> Hi Enrico
>
> TiddlyWiki under Node.js loads the entire wiki into RAM. It does so in
> order to support server-side processing (such as serverside page
> rendering). But, of course, it is relatively resource intensive, and
> unnecessary if all the server is doing is acting as a front end to a
> database of tiddlers, and the browser is doing all the rendering.
>
> Arlen Beiler recently did some exploration along these lines recently:
>
>
> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSe4-y4wR%3D6o_ihBmYe8E_bUqAgqT0tpb7LwaSpv7K9Uw%40mail.gmail.com
> 
>
> Best wishes
>
> Jeremy
>
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 20 Dec 2019, at 15:59, Enrico Guiraud  wrote:
>
> 
> Hi all,
> big fan of tiddlywiki (I routinely use 3, hosted on a VPS) and recently I
> started advertising it to my friends.
> To get more people into tiddlywiki, I just set them up for them on my VPS.
>
> The problem: I'm now serving an average of 5-6 tiddlywikis, and my little
> VPS is almost out of RAM: each tiddlywiki server uses 110 MB or more.
> That's _a lot_, isn't it?
>
> Can anyone suggest ways to reduce memory usage when serving multiple
> tiddlywikis?
>
> Would it be possible to have one server serve different wikis on different
> paths (and if so, would it help)?
>
>
> Does anyone know what causes the large memory usage and whether it can be
> optimized? I would be willing to put some hours into this -- am a
> developer, but don't know much about javascript.
>
>
> Cheers,
>
> Enrico
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e9d9e0d4-3d54-462a-af72-4bcb92d2c268%40googlegroups.com
> 
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/55AC7B95-5384-4889-A7AE-82B063FCD22C%40gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFYBBUiZkOQYvovLH0o_JHh%3DOHWJ9qXWS1gy1fc%2BSfCE%2BJu2hw%40mail.gmail.com.


Re: [tw5] Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread Jeremy Ruston
Hi Enrico

TiddlyWiki under Node.js loads the entire wiki into RAM. It does so in order to 
support server-side processing (such as serverside page rendering). But, of 
course, it is relatively resource intensive, and unnecessary if all the server 
is doing is acting as a front end to a database of tiddlers, and the browser is 
doing all the rendering.

Arlen Beiler recently did some exploration along these lines recently:

https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSe4-y4wR%3D6o_ihBmYe8E_bUqAgqT0tpb7LwaSpv7K9Uw%40mail.gmail.com

Best wishes

Jeremy


--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

>> On 20 Dec 2019, at 15:59, Enrico Guiraud  wrote:
> 
> Hi all,
> big fan of tiddlywiki (I routinely use 3, hosted on a VPS) and recently I 
> started advertising it to my friends.
> To get more people into tiddlywiki, I just set them up for them on my VPS.
> 
> The problem: I'm now serving an average of 5-6 tiddlywikis, and my little VPS 
> is almost out of RAM: each tiddlywiki server uses 110 MB or more. That's _a 
> lot_, isn't it?
> Can anyone suggest ways to reduce memory usage when serving multiple 
> tiddlywikis?
> 
> Would it be possible to have one server serve different wikis on different 
> paths (and if so, would it help)?
> 
> 
> 
> Does anyone know what causes the large memory usage and whether it can be 
> optimized? I would be willing to put some hours into this -- am a developer, 
> but don't know much about javascript.
> 
> 
> 
> Cheers,
> 
> Enrico
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e9d9e0d4-3d54-462a-af72-4bcb92d2c268%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55AC7B95-5384-4889-A7AE-82B063FCD22C%40gmail.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread TiddlyTweeter
bimlas wrote:
>
> Originally I started this route and it seemed like a good solution for 
> parents, but it led to duplication of siblings. If there is a family that 
> has a mother and a father, then I have to indicate to the father that the 
> mother is his wife and vica versa. I have to list each of the brothers and 
> sisters separately for brothers and sisters. After thinking through this, I 
> came to the conclusion that the family itself and its participants should 
> be accounted for in a separate tiddler. For example, I could create a "Mom 
> + Dad's Family" tiddler with three fields: parents, parents relationship, 
> children. Each field would be a list of individuals (father, mother, 
> brother, etc.). If I'm wondering who are the chidlren of "father", I'm 
> looking for the family tiddler where "father" is in the "parents" field 
> ("Mom + Dad's Family"). If I'm wondering about "father" parents, I'll find 
> which tiddler contains "father" in the "children" field ("Grandmother + 
> Grandfather's Family"). With this method, a "father" can belong to multiple 
> families because they are divorced in one family ("parents relationship" 
> field) and married in the other. One disadvantage of this is that it is 
> harder to do a recursive search (dad's dad).
>

I think it is not easy.  Let me comment from the point of view of someone 
who has made lots of these charts of actual families ... 

"CONJUGATION" is critical. It is the marriages (or co-habitation status 
etc) that create the bond that children come from (including adoption). 
Once a person is BORN/ASSIGNED their existence is NOT MUTABLE. But 
*conjunctions 
ARE mutable*/and often multiple over time (e.g. death, divorce, 
re-marriage). 
So you have a combination of mutable & immutable. Its difficult to 
categorise/depict the mutable part!

*The reality of what to do lies in practicality. What is it that end most 
users need to depict?*
For most of the Western world that would be the "nuclear family" (mom, dad, 
children) replicated one step up (i.e. mom & dad's parents) and one step 
down (i.e. mom & dad's children's children). That is 4 generations in total.

*Just getting closer to that point would be a major achievement!!! :-)*

I think once the complications of "conjugation" can be handled everything 
will get easier. 

Just my thoughts!
Josiah

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad1a047b-dffe-4841-94f8-8bde1c8528cc%40googlegroups.com.


[tw5] Re: Looking for an example family tree

2019-12-20 Thread TiddlyTweeter
Ciao Bimlas ...

Added a slightly more complex example (the second one). It is a "Term 
Chart" like the last one. But not so symmetrical as the last one. "Ego" is 
a woman. Covers 4 generations. One above "ego", two below. One divorce (no 
re-marriage). One death (no descendents). (You could ignore the divorce or 
death if it makes it too complicated!)

https://tidbits.wiki/tw_kinship/tw_kinship.html#Notes%20for%20Bimlas


Let me know if you want more. Or if you want an example "Family Tree."

Best wishes
TT

On Thursday, 19 December 2019 20:37:09 UTC+1, TiddlyTweeter wrote:
>
> Bimlas
>
> No problem. I will add another example sometime tomorrow. I'll let you 
> know.
>
> Best wishes, Josiah
>
> On Thursday, 19 December 2019 20:20:21 UTC+1, bimlas wrote:
>>
>> Josiah,
>>
>> This example helped me to discover the shortcomings of my solution. 
>> Thanks again!
>>
>> Could I ask for another diagram that is not so symmetrical, please? It 
>> would be better to test the traversal of the "graph".
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7444904c-330c-406d-a92f-1228b6865208%40googlegroups.com.


[tw5] Help reducing RAM usage when serving multiple tiddlywikis

2019-12-20 Thread Enrico Guiraud
Hi all,
big fan of tiddlywiki (I routinely use 3, hosted on a VPS) and recently I 
started advertising it to my friends.
To get more people into tiddlywiki, I just set them up for them on my VPS.

The problem: I'm now serving an average of 5-6 tiddlywikis, and my little 
VPS is almost out of RAM: each tiddlywiki server uses 110 MB or more. 
That's _a lot_, isn't it?

Can anyone suggest ways to reduce memory usage when serving multiple 
tiddlywikis?

Would it be possible to have one server serve different wikis on different 
paths (and if so, would it help)?


Does anyone know what causes the large memory usage and whether it can be 
optimized? I would be willing to put some hours into this -- am a 
developer, but don't know much about javascript.


Cheers,

Enrico

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e9d9e0d4-3d54-462a-af72-4bcb92d2c268%40googlegroups.com.


[tw5] Re: TW5 request: autosave every N minutes

2019-12-20 Thread Eric Shulman
On Friday, December 20, 2019 at 7:04:24 AM UTC-8, Chuck R. wrote:
>
> My setup: TW5.1.19 on tiddlyspot.com using Firefox v71
>

I recommend upgrading your document to 5.1.21 (the current release) or even 
5.1.22pre-release (the latest development build) 

Just a handy idea I had for the future of TW5. 
>
> I see that TW has an autosave function and it autosaves every time you 
> finish editing a tiddler. But as my TW gets bigger it takes longer and 
> longer to save the file to a website (tiddlyspot.com), so I don't want to 
> save every time I close a tiddler, I want to save every  N minutes, where 
> the user enters N. A value of 0 would be "no autosave every N minutes". Or 
> they could enter minutes from 1-999. The save settings are "choose one" 
> like a radio button and could become: 
> o No autosave
> o Autosave on saving tiddler
> o Autosave every __ minutes
>
> This would require TW5 to do some time calculations to see how much time 
> has passed, as well as accounting for the "midnight problem" where I last 
> save a tiddler on 2019-12-19 11:59pm and then if it's set to save every 10 
> minutes, it would save (only if changes were made) at 2019-12-20 12:09am.
>

* The "midnight" problem shouldn't be difficult.  Internally (in 
Javascript), time values can be represented as "absolute values", expressed 
as milliseconds since a system-wide base date/time.  This eliminates all 
consideration of date boundaries, but *might* still be relative to your 
current time zone, though it might also be expressed as UTC (
https://en.wikipedia.org/wiki/Coordinated_Universal_Time).

* If you are currently editing a tiddler when the timer-based autosave is 
triggered, what do you want it to do?  The easiest solution is to save BOTH 
the "Draft of..." tiddler AND the underlying 'saved' tiddler, so that both 
of them will be stored.  However, I'm not sure if this would *always* be 
the desired action, so perhaps a checkbox option (e.g., [x] autosave draft 
tiddlers) would be useful.

* Sometimes, when I am working on complex changes, I don't want to save 
anything until I am completely satisfied that I haven't broken something.  
There should be an easy-to-access button (e.g., a sidebar PageControls 
button) to quickly disable/enable the current autosave setting.

* If you are using the default "download saver", then saving the file 
usually triggers an interactive system-provided dialog (i.e., "Save 
as...").  This would interrupt the current activity of the user every N 
minutes.  This shouldn't be a problem unless you set the autosave interval 
to be inconveniently short (like once a minute!)

* Should there be a minimum allowable interval (e.g., not less than 5 
minutes) for timed autosaves?  Should this minimum be based on which saver 
you are currently configured to use?  For example, if I am working on a 
locally stored (file://) document, I might want to save every minute, but 
if I am working online (e.g., http:// to TiddlySpot) I might want to limit 
automatic uploads to every 30 minutes to prevent excessive overhead, 
especially if I am on a slow connection or working with a large file.

Your thoughts?

-e





> Thanks for considering this!
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/661402cb-a3c7-48a1-9d32-b339ad8afd5f%40googlegroups.com.


[tw5] TW5 request: autosave every N minutes

2019-12-20 Thread Chuck R.
My setup: TW5.1.19 on tiddlyspot.com using Firefox v71

Just a handy idea I had for the future of TW5. 

I see that TW has an autosave function and it autosaves every time you 
finish editing a tiddler. But as my TW gets bigger it takes longer and 
longer to save the file to a website (tiddlyspot.com), so I don't want to 
save every time I close a tiddler, I want to save every  N minutes, where 
the user enters N. A value of 0 would be "no autosave every N minutes". Or 
they could enter minutes from 1-999. The save settings are "choose one" 
like a radio button and could become: 
o No autosave
o Autosave on saving tiddler
o Autosave every __ minutes

This would require TW5 to do some time calculations to see how much time 
has passed, as well as accounting for the "midnight problem" where I last 
save a tiddler on 2019-12-19 11:59pm and then if it's set to save every 10 
minutes, it would save (only if changes were made) at 2019-12-20 12:09am.

Thanks for considering this!


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ece333e0-f718-421c-a239-ec28496a55df%40googlegroups.com.


[tw5] Re: TW5: Can TW get the browser name?

2019-12-20 Thread Eric Shulman
On Friday, December 20, 2019 at 6:39:38 AM UTC-8, Chuck R. wrote:
>
> Found it. Under the Sidebar, under More, then Explorer, then info/ folder, 
> then browser/ folder, there are a bunch of variables. Looks like I want 
> *$:/info/browser/name* and *$:/info/browser/version*. 
>

Note that these particular tiddlers are only available if you install the 
"browser sniff" plugin.

To do that, go to the $:/ControlPanel, select the "plugins" tab, and press 
the big blue "Get more plugins" button.

This will display a modal dialog.  Press the big green "Open plugin 
library" button, and you will find an entry for:

Browser sniffing
$:/plugins/tiddlywiki/browser-sniff
5.1.21

Press the "install" button to add it to your current TiddlyWiki document.  
Then save-and-reload for it to take effect.

Once that is completed, you will find $:/info/browser/name and 
$:/info/browser/version now exist in your document.

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85da0bbd-8484-4b23-a3ae-5f117bec2e39%40googlegroups.com.


[tw5] Two ideas for hiding and expanding

2019-12-20 Thread David Gifford
Hi everyone

I came up with two solutions this morning for needs that I had:

1) a toggle button in viewing mode that hides / reveals content in the 
tiddler text, hidden by CSS
2) a row of toggle buttons that hide / reveal elements of the edittemplate 
(title, tags, type, field, and custom user content), in order to maximize 
screen real estate for editing.

See them both here: https://giffmex.org/experiments/expand.edittemplate.html

Open invitation and encouragement for someone here to refine either of 
these and turn it into a plugin.

Blessings, Dave

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7fdec19-69cb-4c72-bb8f-cc408dbc56f5%40googlegroups.com.


[tw5] Re: viewport, screen size and tiddler size

2019-12-20 Thread Eric Shulman
On Friday, December 20, 2019 at 6:24:54 AM UTC-8, Chuck R. wrote:
>
> Others might need a slightly different way to do this. Just to add my 2 
> cents I found some variables in https://tiddlywiki.com/#InfoMechanism. 
> One was
>  $:info/browser/screen/width
>

Note that this value (and also the $:info/browser/screen/height) are the 
number of *pixels* in your display,
and do not vary based on the browser window size.  Unless unless the 
browser window is currently maximized,
these values will typically be greater than the actual browser window size.

I recommend using 100vw and 100vh when computing a desired size,
so that it will always be relative to the browser window size.

-e


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ecf026d-6429-42b9-84c7-27c84969b391%40googlegroups.com.


[tw5] Re: TW5: Can TW get the browser name?

2019-12-20 Thread Chuck R.
Found it. Under the Sidebar, under More, then Explorer, then info/ folder, 
then browser/ folder, there are a bunch of variables. Looks like I want 
*$:/info/browser/name* and *$:/info/browser/version*. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/994ca25a-acc9-4539-8929-06b5d7aa6367%40googlegroups.com.


[tw5] Re: TW5: Can TW get the browser name?

2019-12-20 Thread Chuck R.
The Tiddler InfoMechanism also has a bunch of variables in there.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddbde383-bf05-4df9-b8c6-c103bc273c4e%40googlegroups.com.


[tw5] How to create a journal entry for each of the next n days?

2019-12-20 Thread kat
I'm trying to make a button that will create a journal tiddler for each of 
the next n days from today.

For example if I enter n=3 it will create separate journal tiddlers for 
2019-12-20, 2019-12-21 and 2019-12-22.

I thought something like what I have written below might work, thought I'm 
not sure that lists can even be used in this way.

Number of days from now: <$edit-text tiddler="$:/state/n"/>

<$button>
<$list filter:[each tiddler from <> to {{$:/state/n}} days from now.] >
<$action-createtiddler $basetitle=<> />
Add journals



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9af4699e-a536-4720-a5eb-b1aa3e0ad92d%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread TiddlyTweeter
PMario wrote:
>
> ... It is an "organically grown" language. That means, whenever there was 
> a strong demand, which made sense, something has been implemented, that 
> solved the specific problem. 
>
> ... That's why the filter syntax isn't 100% consistent. ... Because ... 
> Backwards compatibility trumps consistency!! - always
>
> As a result our "filter language" is a little bit more complex, as it 
> could be ;)
>

RIGHT. No problem with that. Pragmatic issues. Organic solutions. 

But my wonder is this ...

*Q: Is it possible to logically depict the filter Operators 
inter-sequencing? *

 
*In other words, ONE framework to comprehend their relations?*

Best wishes
TT


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a776d7aa-c7a0-41d7-bfcd-0f67010771ef%40googlegroups.com.


[tw5] Re: TW5: Global setting to limit height of a tiddler when viewing it?

2019-12-20 Thread Eric Shulman
On Friday, December 20, 2019 at 6:15:22 AM UTC-8, Chuck R. wrote:
>
> I see there is a button on a tiddler (shown in edit mode) to limit the 
> height of the tiddler in edit mode. That's not what I want. I want to limit 
> the max height of all tiddlers when viewing them and use a global variable 
> to do so. Using CSS would be fine also but I don't know what class to 
> override in my Stylesheet.
>

Use this:
.tc-tiddler-body { max-height: 50vh; overflow-y:auto; }

You can, of course, adjust the max-height value to suit your specific 
needs.  You could also replace "max-height" with "height" which would force 
all tiddlers to be the same height, even if their content is shorter.

note: "vh" units refer to the current height of your browser window.
If you resize the window, the tiddler heights will adjust automatically.
If you use other kinds of CSS units (e.g., "em", "px", "in", "cm", etc.)
then the tiddlers heights will no longer be adaptive to the window height.

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73449527-53a8-4c8f-9bf2-db34c1132545%40googlegroups.com.


[tw5] Re: viewport, screen size and tiddler size

2019-12-20 Thread Chuck R.
Others might need a slightly different way to do this. Just to add my 2 
cents I found some variables in https://tiddlywiki.com/#InfoMechanism. One 
was
 $:info/browser/screen/width

. This is for the current production version of TW which I think is 5.1.21. 

HTH. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc34ec9e-70fc-40be-bc54-757cea2ea9ac%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread TiddlyTweeter
PMario wrote:
>
> TiddlyTweeter wrote:
> ...
>
>> It is not the best documented plugin in history but it is definitely one 
>> of the BEST.
>>
>
> :
>
> Thx for the reminder. I'll take the roses ;)
>

Welcome :-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/47ad4004-9263-4371-a4dd-82e07fa92b9e%40googlegroups.com.


[tw5] TW5: Global setting to limit height of a tiddler when viewing it?

2019-12-20 Thread Chuck R.
I see there is a button on a tiddler (shown in edit mode) to limit the 
height of the tiddler in edit mode. That's not what I want. I want to limit 
the max height of all tiddlers when viewing them and use a global variable 
to do so. Using CSS would be fine also but I don't know what class to 
override in my Stylesheet.

I could also put in every tiddler an , 
but that's not a global, automatic solution. 

I looked through TW5.1.21 help and the appearance settings and didn't find 
a global setting to limit the height of all tiddlers yet. Is there such a 
setting?

Thank you.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1acca80c-fe7d-4067-9f9d-37a5c54ffe1a%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread TiddlyTweeter
Chuck R. wrote:
>
> ... it would be easier to switch back and forth between theme tweaks 
> (which define the width of various main elements on the page like sidebar 
> and story river and twiddlers) for debugging.
>

Sounds like you need a "toggle button" (with two or more change states). 
Sounds like you want dynamic change? 
Doable. Different approach than discussion has been about so far?
TT  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/92fb5289-0e14-4a96-ac2e-3e173c3072be%40googlegroups.com.


[tw5] Re: TW5: How do I show the value of a field of a tiddler?

2019-12-20 Thread Chuck R.
Lol. That's the one. That's the only syntax I didn't try. Thanks. It worked.

On Thursday, December 19, 2019 at 2:00:39 PM UTC-5, Mark S. wrote:
>
> Do you mean {{!!myfield}} ?? This is a transclusion. Here the !! means to 
> bring in a field value. Since no tiddler is stated, it defaults to the 
> current tiddler.
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d1f4cb9-1b72-4d84-a35e-138840070d0d%40googlegroups.com.


[tw5] Favorites Plugin 4 beta: a rewrite of favorites 3.x

2019-12-20 Thread Mohammad
Favorites Plugin 4.0.0 a Rewrite
20th December 
2019 at 5:17pm
WARNING

Don't use for any purpose except evaluating the new features! DONT install 
on your own wiki!

ONLY for Evaluation Favorites New Features!

Tiddlywiki5.1.21+
 
LicenseMIT
 
Release4.0.0 beta
 
Statusin progress

New concepts

A new major relase of Favorites plugin is planned. It WILL contains

   - Favorite folders (like firefox bookmark folder)
   - Export all favorite items (planned)
   - Clear all favorite items (planned)
   - Change category by drag and drop
   - Add items by drag and drop
   - Add new items from tiddler view toolbar
   - Remove items from Favorites sidebar tab
   - Remove items from tiddler view toolbar

How to use

   - From right sidebar, open the Favorites tab and try
  - add remove items
  - reorder items
  - change category (folder)
  - add remove new items from tiddler view toolbar
   
Demo

https://kookma.github.io/TW-Favorites/


Please send your feedback!


--Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24e91ad4-94ed-4f89-8c82-d4f02b65f9cb%40googlegroups.com.


[tw5] Re: TW5.1.19: Can I copy the contents of a whole web page into a tiddler?

2019-12-20 Thread Chuck R.
Ok I just did a View Source in the browser, and copied all the HTML in to a 
new tiddler and saved it. It was enormously tall. So to make it less tall I 
put it in an  
but when I saved the tiddler I got a blank screen an no scroll bars. In 
edit mode all the HTML is there. 

So now I removed the  and  elements from the tiddler, along 
with any  tags, saved it, and still there is nothing when I save the 
tiddler, and no scroll bars. 

Since I'm not familiar with  that much I'm not sure what is going 
wrong. And there should not be any limit to data in a tiddler. By checking 
Tools, Page info I see the html page is 22.9KB. 

The HTML starts with a  followed by a table. If the 
table has specified fit widths and it's too wide for the tiddler would that 
cause all the content to be hidden when I save the tiddler? 

I made my TW browser window max size and made the sidebar hidden to 
maximize the width I could show and still the content is invisible. I might 
end up having to remove the content from the table elements, I think the 
content is just 2 columns with a blank column on the left and text in the 
right column. 

Hmmm.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c140cf7-1910-40b0-9f66-e5790bff278d%40googlegroups.com.


[tw5] Re: TW5.1.19: Can I copy the contents of a whole web page into a tiddler?

2019-12-20 Thread Chuck R.

On Thursday, December 19, 2019 at 5:02:34 PM UTC-5, TonyM wrote:
>
>
>
> (1) you can use a utility in your browser to copy content as html, then 
> paste this into a tiddler and it will render somewhat.. But many web pages 
> have a whole lot of images etc... stored in separate files and this breaks 
> down.
>
>
I'm using Firefox v71 on Windows 10 right now. I also have a Windows 7 
machine I might be using. I'm not finding any native option to copy a page 
as html, were you referring to an addin perhaps? I even checked under 
Tools, Web developer. It's ok if I don't get images at this point. I will 
check Firefox addins for something like this.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6f1a0c81-2fe4-4b38-9f75-721789f7d78d%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread PMario
On Friday, December 20, 2019 at 2:06:38 PM UTC+1, Chuck R. wrote:
>
> Yes a more general, bundle solution would be fine. I just didn't want to 
> ask for too much, so I asked for a little. This is just an idea for the 
> future. In the future a bundle could include the theme, any theme tweaks, 
> and anything else related to appearance. 
>

As TT wrote, a bundle can already include themes. ... I was thinking about 
a possibility to package bundles as plugins.  BUT ... it would be a bit 
contrary to the initial purpose of bundles. 

Which is: A bundle should contain tiddlers, that can be overwritten by the 
user. 

A packaged bundle would contain "shadow tiddlers"

-m

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0be53f30-92b3-440c-b5dc-c4ca87a95e97%40googlegroups.com.


[tw5] Re: TW5.1.19: Can I copy the contents of a whole web page into a tiddler?

2019-12-20 Thread Chuck R.
 worked perfectly! Thank you again!

On Thursday, December 19, 2019 at 5:04:04 PM UTC-5, TonyM wrote:
>
> Chuck Post script
>
> In  the Iframe I recommend Use Width="100%" and height as you desire.
>
> Tony 
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac1d1556-6fa1-4575-9d50-4c25c96f7aa2%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread PMario


On Friday, December 20, 2019 at 2:10:11 PM UTC+1, PMario wrote:
>
> On Friday, December 20, 2019 at 12:30:47 PM UTC+1, TiddlyTweeter wrote:
> ...
>
>> It is not the best documented plugin in history but it is definitely one 
>> of the BEST.
>>
>
> :
>
> Thx for the reminder. I'll take the roses ;)
>
> -- OT - 
>
> At the moment I'm busy to get the "Save / Restore Stories" proof of 
> concept ready. Implementing the functionality is relatively simple BUT the 
> UI part should be simple too. 
>
> If everything goes well, I'm sure, the bundler will also benefit. eg: drag 
> & drop list AND filtered lists. ..
>
> just a teaser
> -- end OT ---
>
> -m
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc5e3608-7999-4845-8e01-74e33b256d2c%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread PMario
On Friday, December 20, 2019 at 12:30:47 PM UTC+1, TiddlyTweeter wrote:
...

> It is not the best documented plugin in history but it is definitely one 
> of the BEST.
>

:

Thx for the reminder. I'll take the roses ;)

-- OT - 

At the moment I'm busy to get the "Save / Restore Stories" proof of concept 
ready. Implementing the functionality is relatively simple BUT the UI part 
should be simple too. 

If everything goes well, I'm sure, the bundler will also benefit. eg: drag 
& drop list AND filtered lists. ..

just a teaser
-- end OT ---

-m





-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b5bad9b-f32a-44a7-9a2f-b57eb15aee6e%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread Chuck R.
Yes a more general, bundle solution would be fine. I just didn't want to 
ask for too much, so I asked for a little. This is just an idea for the 
future. In the future a bundle could include the theme, any theme tweaks, 
and anything else related to appearance. 

I prefer not to have the sidebar disappear too soon as I use a more narrow 
browser width, and I prefer the sidebar on the right side even with a more 
narrow browser width. The reason for this is I have multiple browser 
windows (not just browser tabs) open as I copy and paste data into TW. 

The reason I asked for this is I was having trouble adding a new button to 
the page control bar and I thought it might be because I set the sidebar to 
be too narrow. But I don't think that is the case now but for debugging it 
would be easier to switch back and forth between theme tweaks (which define 
the width of various main elements on the page like sidebar and story river 
and twiddlers) for debugging. 

Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01d84901-3da5-41b2-8fe4-76fd583dcadb%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread PMario
On Friday, December 20, 2019 at 12:57:20 PM UTC+1, TiddlyTweeter wrote:
...

> What I have noticed is that *skilled programmers too* have trouble 
> sometimes with list filters.
>

That's true. As it is now, the "filter syntax" is growing into a "DSL" 
Domain Specific Language. It started with some basic features, that where 
needed to create the TW UI. 

The full list looked like this: 

Filter Formal Grammar
   
   - FilterOperator: after
   - FilterOperator: all
   - FilterOperator: backlinks
   - FilterOperator: before
   - FilterOperator: bf
   - FilterOperator: butfirst
   - FilterOperator: butlast
   - FilterOperator: commands
   - FilterOperator: each
   - FilterOperator: eachday
   - FilterOperator: field
   - FilterOperator: first
   - FilterOperator: get
   - FilterOperator: has
   - FilterOperator: indexes
   - FilterOperator: is
   - FilterOperator: last
   - FilterOperator: limit
   - FilterOperator: links
   - FilterOperator: list
   - FilterOperator: listed
   - FilterOperator: modules
   - FilterOperator: moduletypes
   - FilterOperator: next
   - FilterOperator: nsort
   - FilterOperator: nsortcs
   - FilterOperator: nth
   - FilterOperator: plugintiddlers
   - FilterOperator: prefix
   - FilterOperator: previous
   - FilterOperator: regexp
   - FilterOperator: removeprefix
   - FilterOperator: removesuffix
   - FilterOperator: rest
   - FilterOperator: reverse
   - FilterOperator: sameday
   - FilterOperator: search
   - FilterOperator: shadowsource
   - FilterOperator: sort
   - FilterOperator: sortcs
   - FilterOperator: suffix
   - FilterOperator: tag
   - FilterOperator: tagging
   - FilterOperator: tags
   - FilterOperator: title
   - FilterOperator: untagged


... It is an "organically grown" language. That means, whenever there was a 
strong demand, which made sense, something has been implemented, that 
solved the specific problem. 

On the way, some "syntax" decisions had to be made. Sometimes it turned out 
(after a year or 2), that "the other possibility" would have been better, 
in the long run. That's why the filter syntax isn't 100% consistent. ... 
Because ... 

Backwards compatibility trumps consistency!! - always

As a result our "filter language" is a little bit more complex, as it could 
be ;)

just some thoughts. 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8aae52b5-41fd-4e46-897d-0e75e4e2fc9d%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread TonyM
Folks

I will give a better comment at my desktop tomorrow.

Each run with selection modifiers and selection constructors are interpreted 
sequentially and also alter the result. Its more like the dos or Linux filters 
such as pipe input and output. 

For example we can't use parenthesis to change order as we can in maths. 

Its just a different way to conceptualize it and filters are well suited to 
handling sets (of titles).

I think a conceptual overview would help that I am now more qualified to write 
than I was before.

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/88cc5db6-1a74-477a-9f60-4baaafbeadd5%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread TiddlyTweeter
Mohammad wrote:

> It seams I don't know how list works or it is a bug


It is a problem with list filters sometimes working out IF an issue is a 
bug OR lack of understanding.

*In theory* it should be possible to present a logical table of filter 
operations showing scope?
But perhaps not? Not sure! But I have never seen one.

What I have noticed is that *skilled programmers too* have trouble 
sometimes with list filters.

I am not a programmer and my approach to list filters is largely 
"stab-in-the-dark".

Just notes
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/118d2ea1-1451-4317-9b1d-e80c99b927e5%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread Mohammad
I think to see if there are common tiddlers in two tiddlers list field one 
needs to use the contain operator



On Friday, December 20, 2019 at 1:49:46 PM UTC+3:30, Mohammad wrote:
>
>
>1. There are two tiddlers sample and population
>2. the population tiddler has a list field with *a b c* as field value
>3. the sample tiddler has a list field with only b as field value
>
>
> Using the below AND run ([filter1]+[filter2]) results in different results 
> why the AND should return the same result
>
>
> Test
>
> <$list filter="[list[sample]]+[list[population]]">
>
>
> 
>
>
> ---
>
>
> <$list filter="[list[population]]+[list[sample]]">
>
>
> 
>
>
> Will results in
>
> a
> b
> c
> b
> ---
> b
>
> Why the results are different?
>
> --Mohammad
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68209408-eed2-48d3-b56a-415b50ed7758%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread TiddlyTweeter
My take on this is simply to use PMario's "Bundler" plugin to export 
packages of bespoke settings as JSON files. 

Discussion: 
https://groups.google.com/forum/#!msg/tiddlywiki/_Uqbg08Pjow/J-coR68cCAAJ

Demo: https://wikilabs.github.io/editions/bundler/

One "Bundle" per configuration set. Can include palettes, themed items, 
tweaks, whole plugins, whatever you need ...
Then export.

Then import whichever set you need for quickly changing configurations.

The big advantage it is a universal method that works now. 
The only thing you need to divine is which Tiddlers need including.

It is not the best documented plugin in history but it is definitely one of 
the BEST.

Best wishes
TT 

On Thursday, 19 December 2019 18:48:29 UTC+1, Chuck R. wrote:
>
> My system: TW5.1.19 on tiddlyspot.com
>
> This is an idea for the future. 
>
> I'd like to be able to switch between palettes but also between theme 
> tweaks under Control Panel > Appearance > Theme Tweaks. Can we set up so 
> theme tweaks and the palette colors save under a Palette entry? I tend to 
> like my sidebar more narrow before it breaks so I have settings for that. 
>
> Thank you! You all have been very helpful. :)
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/75552923-90bf-45cb-ba8d-05becf98f170%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread Mohammad
It seams I don't know how list works or it is a bug


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ddf4e4b-378b-4cef-b5d8-c8d847b2aa77%40googlegroups.com.


[tw5] Re: list operator and + prefix

2019-12-20 Thread Mohammad


On Friday, December 20, 2019 at 2:12:27 PM UTC+3:30, TonyM wrote:
>
> Mohammad
>
> The its not quite an and without parentheses.
>
> [list[sample]] +[list[population]]
>
> The give the results I expect because the + and - prefixes operate on the 
> list fed to it so far.
>
>
> [list[sample]] [list[population]]
>
> Would give you the content of both lists after removing duplicates. This 
> is I think more like the and you perceive.
>
> The plus says members of first list and tests each title and passes only 
> titles that are also found in the second list.
>

This is correct! So why the first part returns all tiddlers in 
[list[population]]??
It should return only b which is the result of first run and IS found in 
the second run!!

 

> Using a negative would say list members of the first list but remove those 
> in the second list ie do not pass on those found in the second list.
>
> This is in part due to the filter nature each run follows the previous one 
> and acts on the result of the previous run if you use - + or ~
>
> Filters typically reduce the set first presented to a subset according to 
> its conditions.
>
> For this reason the order is esentiial because one is the source the 
> second is an operation ibn the members in the source.
>
> On way to look at is the second list has a leading operator so it will 
> perform an operation on the list so far.
>
> Regards
> Tony
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8757454d--4ff0-8a60-822f524d341b%40googlegroups.com.


[tw5] list operator and + prefix

2019-12-20 Thread TonyM
Mohammad

The its not quite an and without parentheses.

[list[sample]] +[list[population]]

The give the results I expect because the + and - prefixes operate on the list 
fed to it so far.


[list[sample]] [list[population]]

Would give you the content of both lists after removing duplicates. This is I 
think more like the and you perceive.

The plus says members of first list and tests each title and passes only titles 
that are also found in the second list.

Using a negative would say list members of the first list but remove those in 
the second list ie do not pass on those found in the second list.

This is in part due to the filter nature each run follows the previous one and 
acts on the result of the previous run if you use - + or ~

Filters typically reduce the set first presented to a subset according to its 
conditions.

For this reason the order is esentiial because one is the source the second is 
an operation ibn the members in the source.

On way to look at is the second list has a leading operator so it will perform 
an operation on the list so far.

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e738d0f1-4fa8-4fed-a32a-24ad96653e0d%40googlegroups.com.


[tw5] list operator and + prefix

2019-12-20 Thread Mohammad

   
   1. There are two tiddlers sample and population
   2. the population tiddler has a list field with *a b c* as field value
   3. the sample tiddler has a list field with only b as field value


Using the below AND run ([filter1]+[filter2]) results in different results 
why the AND should return the same result


Test

<$list filter="[list[sample]]+[list[population]]">





---


<$list filter="[list[population]]+[list[sample]]">





Will results in

a
b 
c 
b
- 
--
b


W hy the 
results are different?

--Mohammad





-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e256e64-36a2-41f9-976e-8c6c7ed3e8cf%40googlegroups.com.


[tw5] Re: TW5: Can we have the pallet setting include theme tweaks settings?

2019-12-20 Thread PMario
Hi,
IMO Theme Tweaks are not part of the palette, but part of a theme. So 
should be able to use the theme-switcher. 

The only problem at the moment is, there is no easy way to create a theme 
plugin based on your actual settings. 

A workaround may be: 

 - Use the following Advanced Search: Filter: 
[prefix[$:/themes/tiddlywiki/vanilla]] -[[$:/themes/tiddlywiki/vanilla]]
 - Export them as JSON file
 - Drag and drop import 

Or ask Tony, how to package them as a "Bookmar Toolbar" in the browser. 
-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68963d74-4dd6-4a44-bc44-0e4771c86cb5%40googlegroups.com.