[tw5] Re: optimising performance (searching vs saving tiddlers)

2019-07-19 Thread haroulito
Hi Mario,
Many thanks for your posts.
I will be disabling autosave for short periods of intensive editing.

I often have the side pane showing the "Open" or "Recent" tab. I should 
make a point to remember to use a static tab instead although I don't see 
much improvement if I do so.

In terms of plugins, I don't use a lot; basically TiddlyMap, mermaid and 
the supporting plugins for these.

I used to have TiddlyMap always on but then switched to having it disabled 
most of the time and enable it only when I need to use it. It seems to slow 
things down for me probably because it has to create an id field for each 
new tiddler created.

I realise now that I have been disabling TiddlyMap but not the related 
plugins  (HotZone & TopStoryView). I will try disabling these as well to 
see if things speed up.

Using mermaid involves three pluging that are always enabled.

Thanks again,
H.


On Friday, July 19, 2019 at 8:11:47 AM UTC+1, PMario wrote:
>
> Hi,
>
> There is a setting in the control panel: Saving: General tab
>
> You can switch auto-saving off. BUT you need to hit the save-button on 
> your own, from time to time!!
>
> see: 
> https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FControlPanel%2FSaving%2FGeneral
>
> -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/4d1649e3-c509-4b76-82f8-dec0086a713b%40googlegroups.com.


[tw5] Re: optimising performance (searching vs saving tiddlers)

2019-07-19 Thread haroulito
Thanks Watt,
I went through most of the discussion and will go through it again more 
thoroughly to get ideas.

Best wishes 
H.

On Friday, July 19, 2019 at 8:09:19 AM UTC+1, Watt wrote:
>
> Hi haroulito
> If you haven't already seen it there is another useful discussion here;
>
> https://groups.google.com/forum/m/#!topic/tiddlywiki/Aheyeybfydg
>
> Bimlas and others comments towards the end offer some good tips.
> Good luck!
>
>

-- 
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/d735517e-60fc-41b9-8a75-82f9e80b%40googlegroups.com.


[tw5] optimising performance (searching vs saving tiddlers)

2019-07-18 Thread haroulito
Hi all,

I've been pondering on the best approach for maintaining TW performance as 
the size of single-file wikis grows. This has been bothering me for a while 
so I thought to share my thoughts and get any insights / advice.

I have considered to go the node.js or TiddlyServer way but have not taken 
the plunge yet. (I have only done some early tests with TiddlyServer.)

I primarily use 3-4 wikis. The main TW I use is between 7 and 8 mb and when 
it reaches around 8mb I start to export/archive some content to maintain 
the performance. (I only store text, no images or embedded files). I use 
this wiki for my workflow (GTD-style) and for quick entry of content in my 
inbox. 

So performance is crucial as I am creating, editing and tagging many small 
tiddlers in succession and often on occcasions where there is time pressure.

What I need to improve is the delay when clicking to save a tiddler. For my 
8mb wiki it takes about 4 seconds to save each tiddler. On a blank TW with 
all the plugins I need installed it takes ~2 seconds. This difference is 
really noticeable under time pressure and big volumes of work.

(I use TiddlyDesktop with backups enabled. Disabling backups does not 
produce much noticeable difference but I do disable when I bulk-edit 
tiddlers to speed things up)

*Searching*
Searching is fast for the size of wikis I use. If I start splitting my 
content into more wikis then my problem would be searching all the wikis. 

Obviously single-file wikis have various advantages and I also heard Jeremy 
say in one of the hangouts that not all the plugins would work well in a 
node.js implementation.

If I decide to stick to single-file wikis, I've been thinking to merge all 
my wikis just for the purposes of searching. E.g. export all tiddlers from 
all wikis using "[!is[system]]" and import to a single wiki. I would then 
search the single wiki if I can't tell which of the individual wikis I 
should search. Obviously not an elegant way to do things even if the  
process of merging all my wikis could be automated.
 
Any ideas on improving performance of saving tiddlers after editing and 
also ways to search content across multiple single-file wikis?

Many thanks 
H.

p.s.1 My computer setup:
Win7
intel i7, 8gb of ram, magnetic HDD
TW 5.1.19
TiddlyDesktop with backups enabled

p.s.2 I have found this post useful. It seems that there will be 
improvements in indexing but the issue I am facing is about saving tiddlers 
after editing rather than fast searching.
https://groups.google.com/forum/#!topic/tiddlywiki/BXQNiAoJQSE

-- 
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/b37f34ae-6411-480e-83a4-2a20d8ab75e0%40googlegroups.com.


Re: [tw5] Re: question about subtitle visibility & $:/core/ui/ViewTemplate/subtitle

2019-06-01 Thread haroulito
Thanks guys!  Deleting $:/core/ui/ViewTemplate/subtitle fixed it. :-)



On Sat, Jun 1, 2019 at 5:18 AM PMario  wrote:

> Hi,
>
> You should do what Mat wrote. ... If you open ViewTemplates in view mode,
> some of them show stuff 2 times, because they are activated 2 times ...
>
> 1st activation is done with PageTemplate and the
> 2nd activation is done showing / viewing the tiddler content. .. So it's
> "kind" of a reflection.
>
> -mario
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/5ALJ6oEdPb4/unsubscribe.
> To unsubscribe from this group and all its topics, 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/958dbf26-1f2f-46a1-a3f4-9a284d7772bf%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANC63YOuA36EU3tcMpgOLUy9ZHGavN%3D5wtwL0EGJpnY%2BaCxhxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] question about subtitle visibility & $:/core/ui/ViewTemplate/subtitle

2019-05-31 Thread haroulito
Hi there,
Maybe a daft question but I've been trying things on TW for a while today 
and should get on with some work! :-) So I thought to give up the search 
and pick your brains for some insights. 

I wanted to hide the "modified" timestamp from the standard tiddlers in 
view mode. I modified $:/core/ui/ViewTemplate/subtitle by deleting 
$:/tags/ViewTemplate from it's tag field. It did the trick.

When I tagged $:/core/ui/ViewTemplate/subtitle again with 
$:/tags/ViewTemplate, the subtitle (with the timestamp) became visible 
again in standard tiddlers but $:/core/ui/ViewTemplate/subtitle started 
displaying two timestamps while it had none before. How did I manage to 
mess up the template of a shadow tiddler?

Many thanks 
H.

P.s. I use ver 5.1.19

-- 
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/090eef2e-0020-419f-972d-c10f6f7d4b9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: listing related tags (not children or parents)

2018-11-04 Thread haroulito
Dear bimlas, Mark and Tony,
Many thanks for your replies.

@bimlas: Your code did the trick! Many thanks, that's what I need. :-)

(The original tag (e.g. "project") is listed again among the list of 
related tags but I can live with that and it's probably not worth looking 
into this further.)

@Mark: I had found out the hard way, about the importance of the blank line 
in the middle.  :-(
Thanks for the hint.

@Tony: Thanks. Looking again at the code I had posted it seems that the 
closing markup tag () was omitted because the short version of list 
filter was used? I.e. all in a single line and an extra "/" as the 
penultimate character.

Thanks again everybody!



On Saturday, November 3, 2018 at 10:13:24 PM UTC, bimlas wrote:
>
> Welcome to the community!
>
> I tried the code you wrote, but it did not work nor for me, so I modified 
> it:
>
> <$list filter="[tag[Project]tags[]]"/>
>
> It collects all the tiddlers that have the "Project" tag and then collects 
> their other tags.
>
> If I understand you, you are actually interested in the tag intersections, 
> thus you might find it useful:
>
> https://bimlas.gitlab.io/#Filter%20by%20multiple%20tags%20easily%3A%20FilteredTag%20example
>

-- 
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/f83efd23-6d01-4ab2-8998-ca695361043c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] listing related tags (not children or parents)

2018-11-03 Thread haroulito
Dear TW community,
I am using TiddlyWiki a lot lately but I am a novice in terms of fiddling 
with it. I am looking for a way to list related tags to a list of tiddlers 
(returned by list filter, for instance). I've searched a few times but 
can't find something and I'm wondering whether there is an easy way to 
implement it.

A simple scenario is given below:
Let's say tiddler1 tags two other tiddlers (tiddler2 & tiddler3) and when 
we run list filter it returns:

   - tiddler2 
   - tiddler3

I then need to get the parent tiddlers of tiddler2 (i.e those tagging 
tiddler2, as opposed to those tagged by tiddler2 which we can get with list 
filter or toc-selective-expandable).

I need to do the same for tiddler3, aggregate and list the results (ideally 
with a count of the number of tiddlers tagged by each "related" tag). This 
way I can see that tiddler2 which is tagged by tiddler1 is also tagged by 
e.g. tiddler4. This helps to view how I can narrow down long lists of 
results through the use of "related" tags.

Another way to view this might be: for a given tiddler go one level down in 
the toc tree, see if any of the branches intersect with other toc trees and 
get all parents of the intersections.

Any hints as to how to implement this? Apologies if a solution exists and I 
haven't come across it. I just came across the filter/plugin by bimlas but 
didn't have a chance to test it yet so not sure if it will tackle the 
problem.

Many thanks 
haroulito

p.s.1.
I found the following code in 
http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section which 
might do part of the job but I cannot get it to work:

<$list filter="[all[current]tag[Project]]">

<$list filter="[all[current]tagging[]]"/>



p.s. 2
This is my first post here and I have to say that Tiddlywiki is simply 
amazing and the community is 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 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/aa2e69d2-490a-4bc3-b961-a548accd09e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.