[tw5] Re: Custom Tiddler $:/Manager?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
@Mohammad -- Hah! I invoked it wrong! Getting old. This code will always cause a recursion error if run directly from a tiddler. That's because the wikify template will attempt to wikify it's own self, getting stuck in a loop. So.. @Jose probably needs to label it as $:/tags/ViewTemplate and

[tw5] Re: Custom Tiddler $:/Manager?

2018-07-14 Thread TonyM
Previous post edited and new attachment on the Google Forum Opps Tony On Sunday, July 15, 2018 at 2:02:46 PM UTC+10, TonyM wrote: > > Jose, > > Not one to discourage experimentation, you are trying to jump in the deep > end. > > Lets try something different > Lets look at the manager first > >

[tw5] Re: Custom Tiddler $:/Manager?

2018-07-14 Thread TonyM
Jose, Not one to discourage experimentation, you are trying to jump in the deep end. Lets try something different Lets look at the manager first The regular manager lets you select to filter by tag? But it has no value by default. Searching through the tag manager we find the line <>

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread Mohammad
Very good code! I used this with modification to list all .png tiddlers *Mohammad* On Sunday, July 15, 2018 at 7:22:55 AM UTC+4:30, Mark S. wrote: > > This should do that: > > \define myregexp() ^([a-zA-Z]+\.){2}[a-zA-Z]+$ > <]">> > > In this example, I'm using groups and a quantifier, since

[tw5] Re: Server setup tutorials; anyone interested?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
I'm using xubuntu 18.04. Couchdb is not in the repository. Wonder why? And, attempting to add it with the specified PPA doesn't work either -- says there is no Release file. It appears the couchdb files for ubuntu were released just 4 days ago. It kind of looks like there is a release file.

[tw5] Re: Custom Tiddler $:/Manager?

2018-07-14 Thread Mohammad
Mark, I tried it on tiddlywiki.com and it gives recursion error, when you open the wikified text! /Mohammad On Sunday, July 15, 2018 at 1:25:35 AM UTC+4:30, Mark S. wrote: > > Is this the code giving an error? When I try it, either as a tiddler or as > a view template, I don't get a recursion

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread 'Mark S.' via TiddlyWiki
This should do that: \define myregexp() ^([a-zA-Z]+\.){2}[a-zA-Z]+$ <]">> In this example, I'm using groups and a quantifier, since the first match gets repeated twice. You can expand that out if it's easier to scan. -- Mark On Saturday, July 14, 2018 at 7:31:52 PM UTC-7, TonyM wrote: > >

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread TonyM
Josiah, I am glad for your help, and marks - I need to jump into regex soon, but it seems to require a lot of rote learning - perhaps I can make a wiki for that? In the case in question the three words can only be a-zA-Z What would I replace \w with for this outcome? Thank Tony On Sunday,

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread @TiddlyTweeter
Ciao TonyM & Mark S. Really interesting work. A few small non-consequential notes on the regex ... This is just for interest. Marks' ... ^\w+?\.\w+?\.\w+?$ is perfectly serviceable. But it will work simpler too ... ^\w+\.\w+\.\w+$ ... The qualifying "?" that is to prevent "greedy" matches

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-14 Thread Michael Z.
You probably don't have xdg-open installed. Try $ which xdg-open to see if it is there. Otherwise you can install it with sudo apt-get install xdg-utils It is used to open standard applications on the desktop. -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-14 Thread @TiddlyTweeter
I'm not a JavaScript programmer but it's possible in TW to get quite raw with it to good effect sometimes. But it's mainly limited to the pre-parser you get that freedom. I really like and use a lot BJ's Flexity plugin that let's me use standard JS regular expressions in TW without the

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-14 Thread 'Mark S.' via TiddlyWiki
> > I think this is a bug I stumbled upon previously. Is java script free of > bugs? > Javascript gets pounded on by millions (billions?) of users every day. In the vein of "Gödel, Escher, Bach", there's bound to be some bugs in there. The question is, how long does it take before you

[tw5] Re: Server setup tutorials; anyone interested?

2018-07-14 Thread Ste Wilson
Am attempting to follow on my pi. Couchdb is not a package automatically in the repositry. Just to be picky, if it were, it would be sudo apt-get install couchdb I'm currently so far unsucsesfully following the instuctions on Apache couchdb to install it. -- You received this message because

[tw5] Re: Custom Tiddler $:/Manager?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
Is this the code giving an error? When I try it, either as a tiddler or as a view template, I don't get a recursion error. -- Mark On Friday, July 13, 2018 at 10:26:50 PM UTC-7, Jose Eduardo Mares Dominguez wrote: > > I've only been using Tiddlywiki for a couple days and I don't know how to >

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-14 Thread Ste Wilson
I finally got around to trying this. Ssh'd into my pi 3, wget-ed the link to the arm7 version. chmod +x tiddlyArmV7 And then ./tiddlyArmV7 The following is what happened... pi@raspberrypithree:~/bob $ sudo ./tiddlyArmV7.1 NodeSettings - Parsed raw settings. Websockets listening on 8081 Serving

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread 'Mark S.' via TiddlyWiki
Application level validation. It will be interesting to see how that works out. -- Mark On Saturday, July 14, 2018 at 12:54:13 AM UTC-7, TonyM wrote: > > Mark, > > This actually seems to work really well. I always like to return the > favour so perhaps you will find this interesting and its

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
What? You think an actual programming language might be easier to understand than widgets! Heresy! ;-) The list field (s) is the closest thing to arrays in WikiText. So you could put [[Clean House]] [[Rename File]] into the list field of a tiddler called "aList". Then your tabs could look

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-14 Thread talha131
Additionally, the reason I don't want to use tags is the order of the tiddlers. I want to tiddlers to appear in a specific order. I can do that with tag by dragging and dropping but that order is reflected everywhere. If I want to have to orders, one sorted by title and other manually, then I

[tw5] How to create list of tiddlers and pass to tabs macro?

2018-07-14 Thread talha131
I am trying to create a list a tiddlers inside tabs <> The tiddlers are 1. Clean Noise 2. Rename File I am going to add more to the list. Is it possible to create a list or an array and then pass it to tabs macro? Something like let aList = [ 'Clean Noise', 'Rename 'Other

[tw5] Re: How does this macro work to download a binary file?

2018-07-14 Thread Jed Carty
One way browsers get around handling incompatible data types is to convert them into a base 64 representation that uses only basic ascii characters. Tiddlywiki encodes non-text tiddlers in the same way. Browsers can, give the correct mime type, treat the base64 encoded string as though it were

[tw5] Re: Is it better to host images externally rathern than in TW for performance?

2018-07-14 Thread talha131
Thank you Mark. I wasn’t aware of this feature. I have switched to lazy loading and hosting images inside TW. Let see how long until TW starts showing signs of stress. :) ​ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw5] How does this macro work to download a binary file?

2018-07-14 Thread leeand00
\define download-xlsx-tiddler(title,caption) $caption$ \end It's called like this: <> I see that it mentions the MIME type of the and the base64 format is also mentioned, but I don't think I really understand it. It looks like it's using transclusion and a filter, but I don't really

[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread Michael Z.
Thank you all for your help. I ended up using \define csv(title) <> <$macrocall $name="csv" title={{!!title}} /> Works great, thanks again. /Michael -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: Is it better to host images externally rathern than in TW for performance?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
You can supposedly use lazy loading with the current node version of TW, and presumably the variants like Bob. Basically images get loaded only on demand. -- Mark On Saturday, July 14, 2018 at 7:06:58 AM UTC-7, talha131 wrote: > > Right, mostly screenshots. I too make each image go through

[tw5] array.find polyfill for Twitter plugin

2018-07-14 Thread zemoxian
As an update, I’ve found that I can copy and paste a simple polyfill into a tiddler. Then set its type to “application/javascript” and plugin-type to “startup”. I’ve run into this on a few older browsers/ OSs. I didn’t wrap them in (function(){}) bodies or add “use strict”; or anything so I

[tw5] Re: Is it better to host images externally rathern than in TW for performance?

2018-07-14 Thread talha131
Right, mostly screenshots. I too make each image go through ImageOptim or sometimes change png to low quality jpg before using them. With the next version of tiddlywiki or a future version of bob there will be a secure online node solution where it should be

[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread zemoxian
Have you tried “[all[current]tagging[]]”? That’s the way I usually do it. I’ve rarely had an issue with 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

[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread 'Mark S.' via TiddlyWiki
The csvtiddlers macro must change it's own current tiddler value, so your filters won't work, but might have with a different macro that made other assumptions. The "filter" string only gets immediately interpreted in the <$list> widget AFAIK Try \define filtbycur(title) <> \end <$macrocall

[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread Jed Carty
I haven't dug into it too much but that looks like a bug in the csv tiddlers macro. I think that it isn't properly importing variables so the currentTiddler variable isn't available which prevents either of the filters you are trying from working. This works but it is a bit awkward: \define

[tw5] Re: TW in Public -- Zemox Cloud Map

2018-07-14 Thread TonyM
Nice a tag cloud with a range slider for the counts, nice. Also introduces the idea of a better fold unfold thanks for sharing On Saturday, July 14, 2018 at 10:33:53 PM UTC+10, @TiddlyTweeter wrote: > > @zemoxian 's ZemoxWiki has a really > interesting Cloud Map

[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread Michael Z.
Tony, thanks for your extensive answer and advice. I appreciate that but perhaps I expressed my problems not clearly. I don't want to use the macro inside a widget. I just want the macro to process all tiddlers tagged with the name of the current (viewed) tiddler. So please let me rephrase my

[tw5] TW in Public -- Zemox Cloud Map

2018-07-14 Thread @TiddlyTweeter
Zemox Wiki has a really interesting Cloud Map that illustrates leveraging TiddlyWiki well ... http://zemox.tiddlyspot.com/#Tag%20Cloud:%5B%5BTag%20Cloud%5D%5D%20%5B%5BSystem%20Tag%20Cloud%5D%5D This uses "CSS counters" fed by counts of tagged Tiddlers to create the scaling. -- You received

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread TonyM
Mark, This actually seems to work really well. I always like to return the favour so perhaps you will find this interesting and its implications. Place the following in a tiddler tagged $:/tags/ViewTemplate \define myregexp() ^\w+?\.\w+?\.\w+?$ <$list filter="[titleis[missing]]"

[tw5] Re: Test if a tiddler title is of a particular form

2018-07-14 Thread TonyM
Mark, Thanks, that will list all tiddlers with that title form (Exhaustive testing remains) And the following will reveal if the current tiddler has this form \define myregexp() ^\w+?\.\w+?\.\w+?$ <$list filter="[is[current]regexp]"> Thanks Heaps On Saturday, July 14, 2018 at 3:43:00 PM

[tw5] Re: Care to beta test Tekkan One?

2018-07-14 Thread Riz
@Stratos. Appreciate your words. However, I must point you towards the warnings posted a couple of messages back. Thank you. Riz -- 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,

[tw5] Re: Care to beta test Tekkan One?

2018-07-14 Thread Riz
@Alex. I sincerely apologise for the inconvienience caused. I admit the lack of a warning on github readme was an oversight on my part. I will try to update as soon as I get a chance. The code is open, it has no licence restrictions other than that of the parent product- TW5 which is bound by