[tw] Re: Listfilder for backlinks for two titles?

2016-07-04 Thread 'Mark S.' via TiddlyWiki
Probably something in between. Like a button or section that will drop down to let you change. You would want a caption field, and a key word field so that images could be searched. But you wouldn't want the edit box to be open all the time, because it would be too easy to accidentally change te

[tw] Re: Listfilder for backlinks for two titles?

2016-07-04 Thread Jed Carty
I did make a photo gallery at one point, but I am not sure I ever packaged it as a plugin by itself. You can see it here . Adding some ability to add notes to images is a good idea. Adding

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-04 Thread David Gifford
On Monday, July 4, 2016 at 12:17:46 AM UTC-5, Mark S. wrote: > > > > P.S. I guess the field/feature I would want in a photo gallery (and I'm > thinking more of personal use) is the ability to annotate. Sort of an > alternative to Adobe photo management or AC/DC. > > Mark: don't know if this is

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-04 Thread David Gifford
Oh wow, that is nice, Mark! I will give that a try. That opens up all sorts of new ideas in my head. Dave On Mon, Jul 4, 2016 at 12:17 AM, 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > Hi Dave, > > So it looks like the way your code and/or template worked before (not sure > wh

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread 'Mark S.' via TiddlyWiki
Hi Dave, So it looks like the way your code and/or template worked before (not sure which way you were using it) was to have a "gallery" tiddlers, with a title that would match the tags of images you would want to display. It seems likes now, if you want to have gallery tiddlers composed of ima

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread David Gifford
Yeah Birthe, that was an early attempt, with the images right in the TW. Later came the one I mentioned in this thread, where the images were embedded via links. Dave On Sun, Jul 3, 2016 at 6:39 PM, 'Birthe C' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > Hi Dave, > > I remember you cre

[tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread 'Birthe C' via TiddlyWiki
Hi Dave, I remember you created a huge gallery as early as 2013. https://groups.google.com/forum/#!searchin/tiddlywiki/TW5$20image$20gallery/tiddlywiki/PpJsdJr99n8/nY-9eAXGB6YJ. It

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread David Gifford
Hi Mark see my responses in bold below On Sun, Jul 3, 2016 at 4:02 PM, 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > Hi Dave, > > Making a photo gallery has been something in the back of my mind for > awhile. Unfortunately, I seem to lack much of an aesthetic sense. I bet you

[tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread 'Mark S.' via TiddlyWiki
Hi Dave, Making a photo gallery has been something in the back of my mind for awhile. Unfortunately, I seem to lack much of an aesthetic sense. I bet you would come up with something really cool. Can you explain what you mean by this: But a lot of the galleries would combine two tags (photos t

[tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread David Gifford
Hi everyone, Don't want you guys to sweat too much over this one... My use case is simply a file where I collect photos from around the world, store them locally, image link to them from my TW, and either tag them or (use backlinks as tags) by country and by topic (e.g. modern architecture, na

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread Jeremy Ruston
Hi Mark I'd emphasise again the importance of measuring the performance characteristics of the existing implementation before thinking about optimising it. The speed of the backlinks operator is much more sensitive to the overall number of tiddlers than to the number of tiddlers whose backlinks

[tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread 'Mark S.' via TiddlyWiki
Hi Jed, I was thinking about this particular use-case. If I knew which call to make a filter into an array, it would be fairly easy to write a javascript macro that would return the intersection of the two sets without the cross-multiplying of the nested <$list> approach. I'm guessing that the

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread Jeremy Ruston
Hi Dave > So would you guys say that using list filters for backlinks is LESS > inefficient than using list filters for tagging? By “using list filters for backlinks” do you mean using a list widget to generate a list of backlinks? If you’re asking about the relative efficiency of rendering li

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread David Gifford
So would you guys say that using list filters for backlinks is LESS inefficient than using list filters for tagging? I would have assumed the opposite, since tags involve tag pills and dropdowns. That is what gave me the idea of using backlinks, to avoid the slow down that eventually occurs with us

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread Jeremy Ruston
The backlinks filter operator is inherently slow because every tiddler needs to be parsed to find all the outgoing links, and then filtered to choose the links to the target tiddler. Parsing is a slowish process because it involves analysing the tiddler text character by character to find the sy

[tw] Re: Listfilder for backlinks for two titles?

2016-07-03 Thread Jed Carty
Mark, It wouldn't be hard to make something that does that and me and Jeremy (and others) have discussed adding something like that. The last I heard the problem was getting consistent syntax and then everyone got busy with other work, I am going to add some discussion ideas to the meetup late

[tw] Re: Listfilder for backlinks for two titles?

2016-07-02 Thread 'Mark S.' via TiddlyWiki
How many tiddlers are we talking about here? Have you tried Jed's code to see how long it takes? There must be an internal JS function that turns filters into arrays of titles. With that bit of knowledge, it should be possible to make a javascript macro that takes two filters and returns the in

[tw] Re: Listfilder for backlinks for two titles?

2016-07-02 Thread David Gifford
Yeah I think I would need something a little more efficient, then. Dave On Saturday, July 2, 2016 at 3:46:11 PM UTC-5, Jed Carty wrote: > > I have no idea how many is too many. It may not be a problem but the > inside second is going to be evaluated once for everything returned by the > first.

[tw] Re: Listfilder for backlinks for two titles?

2016-07-02 Thread Jed Carty
I have no idea how many is too many. It may not be a problem but the inside second is going to be evaluated once for everything returned by the first. If the first returns 100 results than adding the inner loop could mean that it takes 100 times the time to evaluate. Filters are done pretty well

Re: [tw] Re: Listfilder for backlinks for two titles?

2016-07-02 Thread David Gifford
how many tiddlers is too many? On Sat, Jul 2, 2016 at 1:01 PM, Jed Carty wrote: > It is horribly inefficient but this may work if you don't have too many > tiddlers: > > <$list filter='[[Spain]backlinks[]]' variable=LinksSpain> > <$list filter='[[Modern]backlinks[]field:title]'> > <$transclude m

[tw] Re: Listfilder for backlinks for two titles?

2016-07-02 Thread Jed Carty
It is horribly inefficient but this may work if you don't have too many tiddlers: <$list filter='[[Spain]backlinks[]]' variable=LinksSpain> <$list filter='[[Modern]backlinks[]field:title]'> <$transclude mode="block"/> -- You received this message because you are subscribed to the Google Group