[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Mal,

This is really short and beautiful, I don't understand the logic!

--Mohammad

On Saturday, February 16, 2019 at 7:26:33 AM UTC+3:30, Mal wrote:
>
> This seems to work in tiddlywiki.com/prerelease/: 
> 
>
> <$vars number="256" length="5">
> {{{ [addprefix[00]split[]lastjoin[]] }}}
> 
>
>
> Note that it will left truncate the number if it is already longer than 
> the desired length.
>
> Mal
>
>

-- 
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/73580a2d-92ea-4bd1-9f53-569e03e74928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mal


On Saturday, 16 February 2019 14:51:36 UTC+10, Mark S. wrote:
>
> That's very clever. Splitting on "nothing". And apparently, somewhat 
> surprisingly, the resulting array doesn't collapse like it frequently does 
> in filters.
>
>
> Yes, I'm not sure why this works, given the usual uniqueness property of 
filter lists, as discussed in issue #3757 
.

It would be nice to have some sort of substring operator to be able to do 
this without the gymnastics.  On the other hand, a padding operator or even 
a number formatting operator would also be nice, but I think Jeremy has 
already commented on keeping the list of mathematics/string operators to a 
minimum.

Mal

-- 
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/674bd29e-6e4d-4087-bb9e-8481ce85a1a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Switzerland likes TiddlyWiki - grüezi!

2019-02-15 Thread HansWobbe
This impressive display of what can be done with TiddlyWiki, might well 
inspire others.  It would be interesting to see if we could help promote it 
and TW effectively. For a start, I'm posting a simple tweet.

-- 
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/ac1881ba-59dc-408d-83d8-066ea20cf9ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Days operator offset by 1 day in timezones west of GMT

2019-02-15 Thread Hubert
Hello,

I'm aware this topic was raised many times before, so my apologies for the 
sprawl.

TiddlyWiki treats all dates in fields as UTC, which makes sense. We have 
the view widget to 'translate' that UTC date to our local time (depending 
on time zone, daylight saving time offset etc). All good so far.

However, the days filter operator by definition skips any time portion of a 
date field and only evaluates its date portion. At the same time, the days 
operator still treats date fields as UTC, which results in a full day 
negative offset of the interpreted date in timezones east of GMT.

To illustrate my point:

<$list filter="[all[tiddlers]tag[task]days:date[0]]">
{{!!title}}


This will list all tasks that have today's date in its date field. So, on 
16 February 2019, all tasks dated 20190216 will be listed by the above list 
filter, provided that your timezone is GMT or ahead (Asia, Australia etc). 
In timezones behind GMT (The USA, South & North America, etc), the filter 
will not list any 20190216 tasks on 16 February 2019, because the days 
operator has offset the UTC date of 20190216 by whatever number of hours 
behind the midnight of 20190216 that match the relative UTC offset of that 
timezone. This means that if you're in, say, New York, 20190216 will be 
offset from UTC by 5 hours and result in 201902151900 and the date is now 
interpreted as 20190215 (time is skipped), so essentially 1 full day.

As far as I'm aware and if my understanding is correct, there's no way to 
work around this behaviour using the days operator but I would still like 
to hear about your ideas.

What I'd like to suggest as well is that the date operator only works on 
full days and doesn't produce a negative offset from UTC in timezones east 
of Greenwich (the negative offset will always amount to 1 full day, because 
time is ignored by this operator). If we're working with full days I don't 
believe we should need to factor in any time offsets.

I understand the design principle behind interpreting all date fields as 
UTC and I'm in favour of it, when it comes to time. But I also think that 
using the days filter operator may result in unexpected behaviour with no 
workable or easy workaround if the local time is behind GMT.

I'd be happy to hear about your thoughts or suggestions to work around this 
problem.

Thank you,
Hubert

-- 
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/211255a2-b346-4364-81bf-41a3a3461201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread 'Mark S.' via TiddlyWiki
That's very clever. Splitting on "nothing". And apparently, somewhat 
surprisingly, the resulting array doesn't collapse like it frequently does 
in filters.

-- Mark

On Friday, February 15, 2019 at 7:56:33 PM UTC-8, Mal wrote:
>
> This seems to work in tiddlywiki.com/prerelease/: 
> 
>
> <$vars number="256" length="5">
> {{{ [addprefix[00]split[]lastjoin[]] }}}
> 
>
>
> Note that it will left truncate the number if it is already longer than 
> the desired length.
>
> Mal
>
>

-- 
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/50f4a9e0-98d9-4e6d-a41e-06846222fa64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mal
This seems to work in tiddlywiki.com/prerelease/: 


<$vars number="256" length="5">
{{{ [addprefix[00]split[]lastjoin[]] }}}



Note that it will left truncate the number if it is already longer than the 
desired length.

Mal

-- 
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/ec2ee0f2-889a-46bc-89d6-36d38405fe5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] I figured out how to do a macro for an image text link!

2019-02-15 Thread Suzanne McHale
I am no good at programming, so this took about half-an-hour of repeated 
typing, saving and frustration in my Tiddlywiki! I just wanted to create a 
macro for a text link to my images subfolder (rather than embed an image) 
which I want to do sometimes. I eventually got this to work:


   1. Create a new tiddler and name it (imageTextLink, for example). The 
   only tag for it will be *$:/tags/Macro*.
   2. The syntax below defines the text that will be linked, the url to be 
   linked to (an image inside an *images/* subfolder for my Tiddlywiki) and 
   the image itself.


*\define imageTextLink(text,url,image)
[ext[$text$|images/$url$]]
\end*



In a tiddler in which you want the link from, call the macro thus:


*Image: <>*


Hope that makes sense! I'm just feeling pleased and accomplished (which is 
a feeling I have rarely) at figuring this out - I could not find any 
documentation for this on the Tiddlywiki.com site  
(unless it is hidden somewhere?).

-- 
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/72ba7a3c-d637-4672-b3d1-0769396b85bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Switzerland likes TiddlyWiki - grüezi!

2019-02-15 Thread Mohammad
Very insetting Simon!
This is a real complex application of TW.
--Mohammad

On Saturday, February 16, 2019 at 5:29:09 AM UTC+3:30, BurningTreeC wrote:
>
> Here's a tiddlywiki in the swiss wilds, very interesting!
>
> http://atlas-disciplines.unige.ch/
>

-- 
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/4978f406-279a-4d94-b80e-ad500640aeef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tinka and TW 5.1.19+ Issue

2019-02-15 Thread Mohammad
Many thanks Josuha,

Looking forward to see your solution.

Cheers
Mohammad


On Saturday, February 16, 2019 at 12:59:44 AM UTC+3:30, Joshua Fontany 
wrote:
>
> I may have a solution to this with my latest build of the JsonMangler 
> plugin. I'm almost to the point where I can read/write to packed plugins 
> using just the native tiddlywiki UI elements, actions, etc. Doing some 
> final testing before I release it. I'm taking inspiration from Tinka and 
> adding a ControlPanel element & recreating some of the Tinka ui style.
>
> This was inspired by your request for more examples. Thanks Mohammad.
>
> More soon. :)
>
> Joshua Fontany
>
> On Monday, February 11, 2019 at 8:34:32 PM UTC-8, Mohammad wrote:
>>
>> As Ton Gerner stated here
>>
>> https://groups.google.com/d/msg/tiddlywikidev/W6epqYBZyRU/tXNv7UOGDgAJ
>>
>> Tinka has stopped working as TW 5.1.19. My experiments shows it has 
>> problem also with 5.1.18 final release, but works in 5.1.18pre.
>>
>> I re-post the issue here to see if the author Andreas Hahn is notified to 
>> have a look at the plugin.
>>
>> I also kindly ask Simon to check and see if there is something changed 
>> from TW side.
>>
>> Tinka is a very popular plugin and we hope keep it working with the new 
>> release of Tiddlywiki
>>
>>
>> Thank you 
>> 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 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/e6d34b36-25f7-4c3c-925c-c34c88c967a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread TonyM
Post script

I am reading the Business model on Disqus and think we must be careful. 
What do others think?

Tony

On Saturday, 16 February 2019 14:06:43 UTC+11, TonyM wrote:
>
> Bimlas,
>
> Once again we are seriously fortunate to have you as a *full stack 
> developer who trying to make versatile stuff* taking an interest in 
> TiddlyWiki.
>
> This disqus commenting solution seems to fill a serious gap in interaction 
> with tiddlywiki. Can you answer a few questions for me please;
>
>- With the disqus plugin is there a need to write to the wiki, or is 
>the thread all handled in Disqus? Thus even read only single file wikis 
> can 
>provide inline comments?
>- Once I comment on your Wiki, I found a way for me to see all my 
>comments on your wiki and or other wikis (assumed) from inside my disqus 
>account. However I can't see a way to get back to the tiddler from disqus
>- Do you know what the business model for Disqus is, and how will they 
>make money, pay for the service, are we the product?
>- So no account is needed for Guest login (now I have an account I 
>cant test easily)?
>
> Thanks so much for your work
>
> Tony
>
> On Saturday, 16 February 2019 01:37:07 UTC+11, bimlas wrote:
>>
>> Folks,
>>
>> I'll soon publish the Disqus plugin, but before releasing, please help in 
>> testing: you can write comments for each tiddler separately (on the bottom 
>> of them): https://bimlas.gitlab.io/
>>
>> Unfortunately, signing in (Disqus, Google, Facebook, etc.) is mandatory, 
>> otherwise I would have to accept all guest comments one by one.
>>
>> EDIT:
>>
>> Enabled guest commenting, because it seems that not everybody like to 
>> login just to write a comment.
>>
>> EDIT:
>>
>> To be clear: Disqus is not my software, it is a worldwide blog comment 
>> hosting service for web sites and online communities: 
>> https://en.wikipedia.org/wiki/Disqus
>>
>

-- 
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/0321f9ff-edcc-4d13-a745-1a33499fdffb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread TonyM
Bimlas,

Once again we are seriously fortunate to have you as a *full stack 
developer who trying to make versatile stuff* taking an interest in 
TiddlyWiki.

This disqus commenting solution seems to fill a serious gap in interaction 
with tiddlywiki. Can you answer a few questions for me please;

   - With the disqus plugin is there a need to write to the wiki, or is the 
   thread all handled in Disqus? Thus even read only single file wikis can 
   provide inline comments?
   - Once I comment on your Wiki, I found a way for me to see all my 
   comments on your wiki and or other wikis (assumed) from inside my disqus 
   account. However I can't see a way to get back to the tiddler from disqus
   - Do you know what the business model for Disqus is, and how will they 
   make money, pay for the service, are we the product?
   - So no account is needed for Guest login (now I have an account I cant 
   test easily)?

Thanks so much for your work

Tony

On Saturday, 16 February 2019 01:37:07 UTC+11, bimlas wrote:
>
> Folks,
>
> I'll soon publish the Disqus plugin, but before releasing, please help in 
> testing: you can write comments for each tiddler separately (on the bottom 
> of them): https://bimlas.gitlab.io/
>
> Unfortunately, signing in (Disqus, Google, Facebook, etc.) is mandatory, 
> otherwise I would have to accept all guest comments one by one.
>
> EDIT:
>
> Enabled guest commenting, because it seems that not everybody like to 
> login just to write a comment.
>
> EDIT:
>
> To be clear: Disqus is not my software, it is a worldwide blog comment 
> hosting service for web sites and online communities: 
> https://en.wikipedia.org/wiki/Disqus
>

-- 
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/2d11aa10-f07f-43ea-bb43-679fc9b5a060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread TonyM
Bluey?

Here is a complete TOC recursive pair of macros if you feel like building 
your own, This one will traverse the whole tree, but not display those that 
match the filter.

\define each-level(filter)
<$list filter="$filter$" variable=nul>
[[$(currentTiddler)$]]

<$list filter="[is[current]tagging[]]">
<>

\end
\define list-toc(tiddlername filter)
Top of TOC
<$tiddler tiddler="$tiddlername$">
   <$list filter="[is[current]tagging[]]">
   <>
   

\end

<>
there is no indenting each level in this

As stated before you cant have a tree of untagged tiddlers, if that tree is 
defined by tags, However you could have a tree defined by using another 
field such as the parent field, the advantage also being you can force only 
one parent.

\define each-child(filter)
[[$(currentTiddler)$]]
<$list filter="[parent[$(currentTiddler)$]]">
<>

\end
\define list-tocP(tiddlername)
<$tiddler tiddler="$tiddlername$">
   [[$tiddlername$]]
   <$list filter="[parent[$tiddlername$]]">
   <>
   

\end

<>

This can be facilitated using marios TOCP 
plugin https://wikilabs.github.io/editions/tocP/

Back to the tag based TOC, I did asked myself why you may want untagged 
tiddlers in a tree, and realising the normal approach is that children are 
tagged with the parent I realised even the lowest "leaf" on a tag tree has 
a tag, you will not find even those at the bottom free of tags. However If 
the TOC finds a tiddler that no other tiddler uses as a tag, then it will 
be a leaf. I may use this to identify leaves.

For my above examples I am looking for an easy method to indent each level.

Best wishes 
Tony


On Friday, 15 February 2019 23:42:36 UTC+11, TonyM wrote:
>
> Blue,
>
> Can I suggest you look into learning how to make your own set of recursive 
> macros to do what the toc macro does? You can research how the existing 
> ones work or possibly search for posts of mine on this previously. If you 
> can find it let me know.
>
> The fact is you can do anything you want in a to if you build it yourself.
>
> 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 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/69ac0be4-8bac-4553-ba0f-40cfb054406d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Switzerland likes TiddlyWiki - grüezi!

2019-02-15 Thread Julio Peña
Hello there,

Oh wow interesting indeed! Thanks for sharing.

Best regards,

Julio

On Friday, February 15, 2019 at 8:59:09 PM UTC-5, BurningTreeC wrote:
>
> Here's a tiddlywiki in the swiss wilds, very interesting!
>
> http://atlas-disciplines.unige.ch/
>

-- 
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/13be8e50-3d5d-45e4-81d6-11fa7119a297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Switzerland likes TiddlyWiki - grüezi!

2019-02-15 Thread BurningTreeC
Here's a tiddlywiki in the swiss wilds, very interesting!

http://atlas-disciplines.unige.ch/

-- 
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/80d93a32-8c90-478a-ac89-ba38f4451454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread Blue Steel
Hmm I see, I think I'll stick with the current functionality then, and see 
if I can figure out macros to automatically tag new Tidders with 'Unsorted' 
at some point. Thanks for the helpful replies everyone.

On Friday, February 15, 2019 at 12:57:06 PM UTC, S. S. wrote:
>
> Blue Steel,
>
> As I said in my first post:
>
>> Perhaps not exactly what you want to end up with.
>>
>
> TiddlyWiki's built in Table-of-Contents Macros 
>  are based on a 
> tag-tree of "parent-child" tiddlers. This means each parent tiddler is the 
> name of a tag which is used by its "children" tiddlers. And each of those 
> children in turn can be names of tags used by their own "children". 
>
> Using that would mean that for each "untagged" tiddler to appear in your 
> *Unsorted* tiddler, they would have to be tagged with *Unsorted* ! Oops - 
> but then they would not be untagged!
> I guess one way to do it would be to tag all new tiddlers with an 
> *Unsorted* tag to begin with. Then the tiddlers would show up in your 
> Table of Contents. You could also put this in the text field of your 
> *Unsorted* tiddler just to display the list there:
>
> <>
>
> Later when you decide how to tag them, you add the new tags, and delete 
> the *Unsorted* tag.
>
> Would that work for you?
>
> On Friday, February 15, 2019 at 7:20:31 PM UTC+7, Blue Steel wrote:
>>
>> Thanks guys! I combined both your answers to get: 
>> <>
>>
>> It works correctly in showing the untagged Tiddlers within the "Unsorted" 
>> Tiddlers note, but it doesn't show up in the Table of Contents for some 
>> reason. Any ideas?
>>
>

-- 
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/9a9106ef-ecc2-4e2a-bfa9-0f489f32ae8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Thanks! I deleted the test messages.

-- 
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/e8b1cb28-caa9-48b5-8929-101ee5531560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread @TiddlyTweeter
Mohammad,

Some of the JS code in this may be helpful?

https://ibnishak.github.io/Tesseract/pluginsandmacros/index.html#Action-JSONtid

This utility by Riz was created to auto-name and number with padded prefix. 
It was specifically aimed to convert JSON collections of Tiddlers without 
title fields to be imported.

Maybe parts of it are useful?

Best
Josiah

On Friday, 15 February 2019 19:17:54 UTC+1, Mohammad wrote:
>
> Thanks Mark, 
>
> I tried to do not touch JS in Tiddler Commander and also keep code simple! 
> (Of course I know very little java script) 
> but seems I have to use JS. For example TW has nothing with string 
> search/replace and the JS code you provided do the job very well.
>
> The macro I proposed above works for me but, modifying the *bulk tiddler 
> creator* makes code complex and difficult to understand.
>
> --Mohammad
>
>
> On Friday, February 15, 2019 at 9:27:41 PM UTC+3:30, Mark S. wrote:
>>
>> Hi Mohammad,
>>
>> Your macros show a deep knowledge of the tools in TW.
>>
>> I'm a bit concerned that each level of indenture requires another chunk 
>> of code, which may be hard to maintain.
>>
>> The thing is, this sort of thing is easy if you have the right text 
>> tools. We need the concat function and a substr function. Unfortunately the 
>> new tools lack the substr. How do you feel about using javascript macros 
>> (and filters) in TW-commander?
>>
>> I just thought of another approach. Maybe. You could use a list filter 
>> and call it recursively. Each time you prefix a "0". When the length (new 
>> math function?) reaches the padded number length, the recursion ends and 
>> the result is sent back. The problem here is that I don't the parameters 
>> for the length function. The length would have to be compared to the target 
>> length and the only comparison tool is the revealwidget.
>>
>> -- Mark
>>
>> On Friday, February 15, 2019 at 8:31:53 AM UTC-8, Mohammad wrote:
>>>
>>> Mark,
>>>  String operation are added to TW - prerelease, see below
>>>
>>> Ref: 
>>>
>>>- 
>>>
>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/strings.js
>>>- 
>>>
>>> https://github.com/Jermolene/TiddlyWiki5/commit/9b2d52716a24197ba9fd67b708cbe2c56fa1b5d0
>>>
>>>
>>> By the way, please let me know your opinion on the above macros.
>>>
>>> --Mohammad
>>>
>>> On Friday, February 15, 2019 at 7:57:17 PM UTC+3:30, Mark S. wrote:

 Like others in the forum, I'm finding that search links do not work. 
 You had a post earlier (which I can't get to) about new string operators 
 being added in the pre-release. But there's no documentation for string 
 operators -- only the new math operators.

 I'm wondering if, with the new string operators, it would be possible 
 to make a simpler, more concise padding macro that could provide any level 
 of padding?

 Could you share any information or documentation you've uncovered about 
 the string operators?

 Thanks!
 -- Mark

 On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:
>
> Asked by Josiah here:
>
> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ
>
> To produce numbers zero padded like
>
> 001
> 002
> 003
> ...
>
> 099
> 100
>
> Here is a macro to do that
>
> \define zeropad-range(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
>
> Example
>
> 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
> 018 019 020 021 022 023 024 025
>
> The below macro works up to 1000
>
> \define zeropad-range4(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[000]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$reveal type="lt" default=<> text="99" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> 
> <$reveal type="gt" default=<> text="99" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
>
>
>
> --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 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/f3d70b41-17bc-4dc0-93b1-cd407b22de17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tinka and TW 5.1.19+ Issue

2019-02-15 Thread Joshua Fontany
I may have a solution to this with my latest build of the JsonMangler 
plugin. I'm almost to the point where I can read/write to packed plugins 
using just the native tiddlywiki UI elements, actions, etc. Doing some 
final testing before I release it. I'm taking inspiration from Tinka and 
adding a ControlPanel element & recreating some of the Tinka ui style.

This was inspired by your request for more examples. Thanks Mohammad.

More soon. :)

Joshua Fontany

On Monday, February 11, 2019 at 8:34:32 PM UTC-8, Mohammad wrote:
>
> As Ton Gerner stated here
>
> https://groups.google.com/d/msg/tiddlywikidev/W6epqYBZyRU/tXNv7UOGDgAJ
>
> Tinka has stopped working as TW 5.1.19. My experiments shows it has 
> problem also with 5.1.18 final release, but works in 5.1.18pre.
>
> I re-post the issue here to see if the author Andreas Hahn is notified to 
> have a look at the plugin.
>
> I also kindly ask Simon to check and see if there is something changed 
> from TW side.
>
> Tinka is a very popular plugin and we hope keep it working with the new 
> release of Tiddlywiki
>
>
> Thank you 
> 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 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/daf8b5e7-94ef-4ee4-9cb6-bb3423ad8b92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Thanks Mark.
I enjoyed this discussion and learned alot!

--Mohammad

On Friday, February 15, 2019 at 11:04:30 PM UTC+3:30, Mark S. wrote:
>
> A little late to the party. Here's my version, that takes any number (or 
> character) for padding:
>
> \define padder-reg() ^$(len)$$
> \define padder(str,len,chr:"0")
> <$vars len=<<__len__>>>
> <$list filter="[<__str__>addprefix<__chr__>]" variable="padstr">
> <$list filter="[length[]!regexp]" emptyMessage=<<
> padstr>>>
> <$macrocall $name="padder" str=<> len=<<__len__>> chr=<<__chr__>>
> />
> 
> 
> 
> \end
>
> <>
>
> The weakness is if the starting number has more characters than the pad 
> number, it will never complete.
>
> -- Mark
>
> On Friday, February 15, 2019 at 11:28:24 AM UTC-8, Mohammad wrote:
>>
>> Added to TW-Scripts.
>>
>> On Friday, February 15, 2019 at 10:31:43 PM UTC+3:30, Eric Shulman wrote:
>>>
>>> On Friday, February 15, 2019 at 9:36:26 AM UTC-8, Mohammad wrote:

  But we do not know in advance what is the number, and it is given by 
 user!
 So if n is a variable, then how we can generate these numbers?

>
>>> If we DID know the number in advance, we could just use it in the 
>>> operand of the range[...]
>>>
>>> For example, suppose the desired number is, say, 256.  Then we could 
>>> just modify the filter be:
>>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256]]
>>>
>>> However, since you want the number to be "given by user", we need to use 
>>> a different approach.  Instead of hard-coding the number, we can use the 
>>> limit[...] filter.  Let's suppose the desired number is in variable called 
>>> "max".  Then we could write:
>>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[
>>> limit] 
>>>
>>> and if the desired number is in a tiddler (e.g. $:/temp/input/userlimit, 
>>> as a result of user input), we could write:
>>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[
>>> limit{$:/temp/input/userlimit}]
>>>
>>> -e
>>>
>>> note: edited to fix missing syntax in last two examples.
>>>
>>

-- 
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/484aaab8-4d7d-4b54-9123-a96c744e8060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread 'Mark S.' via TiddlyWiki
A little late to the party. Here's my version, that takes any number (or 
character) for padding:

\define padder-reg() ^$(len)$$
\define padder(str,len,chr:"0")
<$vars len=<<__len__>>>
<$list filter="[<__str__>addprefix<__chr__>]" variable="padstr">
<$list filter="[length[]!regexp]" emptyMessage=<>>
<$macrocall $name="padder" str=<> len=<<__len__>> chr=<<__chr__>>/>



\end

<>

The weakness is if the starting number has more characters than the pad 
number, it will never complete.

-- Mark

On Friday, February 15, 2019 at 11:28:24 AM UTC-8, Mohammad wrote:
>
> Added to TW-Scripts.
>
> On Friday, February 15, 2019 at 10:31:43 PM UTC+3:30, Eric Shulman wrote:
>>
>> On Friday, February 15, 2019 at 9:36:26 AM UTC-8, Mohammad wrote:
>>>
>>>  But we do not know in advance what is the number, and it is given by 
>>> user!
>>> So if n is a variable, then how we can generate these numbers?
>>>

>> If we DID know the number in advance, we could just use it in the operand 
>> of the range[...]
>>
>> For example, suppose the desired number is, say, 256.  Then we could just 
>> modify the filter be:
>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256]]
>>
>> However, since you want the number to be "given by user", we need to use 
>> a different approach.  Instead of hard-coding the number, we can use the 
>> limit[...] filter.  Let's suppose the desired number is in variable called 
>> "max".  Then we could write:
>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[
>> limit] 
>>
>> and if the desired number is in a tiddler (e.g. $:/temp/input/userlimit, 
>> as a result of user input), we could write:
>> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[
>> limit{$:/temp/input/userlimit}]
>>
>> -e
>>
>> note: edited to fix missing syntax in last two examples.
>>
>

-- 
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/81c8479d-153b-42cc-b924-74aa6b9ff019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Github v Tiddlyspot?

2019-02-15 Thread Watt
Thanks Ton, I'll go with that.
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 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/c9b159c8-7cd2-4a97-8d99-821e5172b9e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Added to TW-Scripts.

On Friday, February 15, 2019 at 10:31:43 PM UTC+3:30, Eric Shulman wrote:
>
> On Friday, February 15, 2019 at 9:36:26 AM UTC-8, Mohammad wrote:
>>
>>  But we do not know in advance what is the number, and it is given by 
>> user!
>> So if n is a variable, then how we can generate these numbers?
>>
>>>
> If we DID know the number in advance, we could just use it in the operand 
> of the range[...]
>
> For example, suppose the desired number is, say, 256.  Then we could just 
> modify the filter be:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256]]
>
> However, since you want the number to be "given by user", we need to use a 
> different approach.  Instead of hard-coding the number, we can use the 
> limit[...] filter.  Let's suppose the desired number is in variable called 
> "max".  Then we could write:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[limit
> ] 
>
> and if the desired number is in a tiddler (e.g. $:/temp/input/userlimit, 
> as a result of user input), we could write:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[limit
> {$:/temp/input/userlimit}]
>
> -e
>
> note: edited to fix missing syntax in last two examples.
>

-- 
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/5a7a65e3-cc03-4b97-becc-a1899afc0ade%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Hi Eric,
 You are amazing!
Yep, that's the solution using limit[] or first[] operators.

I did the solution by storing the padded number in a list field of a 
tiddler and then using enlist.
See 
here: file:///G:/TW/TW-Scripts/Scripts%20in%20TW%205.1.20-pre.html#100.50

But your solution is much superior. You did the magic!


*Thank you INDEED!*

-- Mohammad




On Friday, February 15, 2019 at 10:31:43 PM UTC+3:30, Eric Shulman wrote:
>
> On Friday, February 15, 2019 at 9:36:26 AM UTC-8, Mohammad wrote:
>>
>>  But we do not know in advance what is the number, and it is given by 
>> user!
>> So if n is a variable, then how we can generate these numbers?
>>
>>>
> If we DID know the number in advance, we could just use it in the operand 
> of the range[...]
>
> For example, suppose the desired number is, say, 256.  Then we could just 
> modify the filter be:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256]]
>
> However, since you want the number to be "given by user", we need to use a 
> different approach.  Instead of hard-coding the number, we can use the 
> limit[...] filter.  Let's suppose the desired number is in variable called 
> "max".  Then we could write:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[limit
> ] 
>
> and if the desired number is in a tiddler (e.g. $:/temp/input/userlimit, 
> as a result of user input), we could write:
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999] +[limit
> {$:/temp/input/userlimit}]
>
> -e
>
> note: edited to fix missing syntax in last two examples.
>

-- 
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/f7eb238e-f966-43a6-8231-d5d5ce3d4b03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Eric Shulman
On Friday, February 15, 2019 at 9:36:26 AM UTC-8, Mohammad wrote:
>
>  But we do not know in advance what is the number, and it is given by user!
> So if n is a variable, then how we can generate these numbers?
>
>>
If we DID know the number in advance, we could just use it in the operand 
of the range[...]

For example, suppose the desired number is, say, 256.  Then we could just 
modify the filter be:
[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256]]

However, since you want the number to be "given by user", we need to use a 
different approach.  Instead of hard-coding the number, we can use the 
limit[...] filter.  Let's suppose the desired number is in variable called 
"max".  Then we could write:
[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256] +limit
] 

and if the desired number is in a tiddler (e.g. $:/temp/input/userlimit, as 
a result of user input), we could write:
[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,256] +limit{$:
/temp/input/userlimit}]

-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 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/1350d354-12d7-4756-98cf-d0c9ec3992e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread 'Mark S.' via TiddlyWiki
D'oh ... could use regexp operator to compare the length. Maybe.

-- Mark

On Friday, February 15, 2019 at 9:57:41 AM UTC-8, Mark S. wrote:
>
> Hi Mohammad,
>
> Your macros show a deep knowledge of the tools in TW.
>
> I'm a bit concerned that each level of indenture requires another chunk of 
> code, which may be hard to maintain.
>
> The thing is, this sort of thing is easy if you have the right text tools. 
> We need the concat function and a substr function. Unfortunately the new 
> tools lack the substr. How do you feel about using javascript macros (and 
> filters) in TW-commander?
>
> I just thought of another approach. Maybe. You could use a list filter and 
> call it recursively. Each time you prefix a "0". When the length (new math 
> function?) reaches the padded number length, the recursion ends and the 
> result is sent back. The problem here is that I don't the parameters for 
> the length function. The length would have to be compared to the target 
> length and the only comparison tool is the revealwidget.
>
> -- Mark
>
> On Friday, February 15, 2019 at 8:31:53 AM UTC-8, Mohammad wrote:
>>
>> Mark,
>>  String operation are added to TW - prerelease, see below
>>
>> Ref: 
>>
>>- 
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/strings.js
>>- 
>>
>> https://github.com/Jermolene/TiddlyWiki5/commit/9b2d52716a24197ba9fd67b708cbe2c56fa1b5d0
>>
>>
>> By the way, please let me know your opinion on the above macros.
>>
>> --Mohammad
>>
>> On Friday, February 15, 2019 at 7:57:17 PM UTC+3:30, Mark S. wrote:
>>>
>>> Like others in the forum, I'm finding that search links do not work. You 
>>> had a post earlier (which I can't get to) about new string operators being 
>>> added in the pre-release. But there's no documentation for string operators 
>>> -- only the new math operators.
>>>
>>> I'm wondering if, with the new string operators, it would be possible to 
>>> make a simpler, more concise padding macro that could provide any level of 
>>> padding?
>>>
>>> Could you share any information or documentation you've uncovered about 
>>> the string operators?
>>>
>>> Thanks!
>>> -- Mark
>>>
>>> On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:

 Asked by Josiah here:

 https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ

 To produce numbers zero padded like

 001
 002
 003
 ...

 099
 100

 Here is a macro to do that

 \define zeropad-range(n:10)
 <$list filter="[range[1,$n$]]" variable=x >
 <$reveal type="lteq" default=<> text="9" >
 <$text text= {{{[addprefix[00]]}}} />
 
 <$reveal type="gt" default=<> text="9" >
 <$text text= {{{[addprefix[0]]}}} />
 
 
 \end

 Example

 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 
 019 020 021 022 023 024 025

 The below macro works up to 1000

 \define zeropad-range4(n:10)
 <$list filter="[range[1,$n$]]" variable=x >
 <$reveal type="lteq" default=<> text="9" >
 <$text text= {{{[addprefix[000]]}}} />
 
 <$reveal type="gt" default=<> text="9" >
 <$reveal type="lt" default=<> text="99" >
 <$text text= {{{[addprefix[00]]}}} />
 
 
 <$reveal type="gt" default=<> text="99" >
 <$text text= {{{[addprefix[0]]}}} />
 
 
 \end



 --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 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/2fda2ec5-aa06-4445-ba0e-f2f516281009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
Excellent!

It is there in Quinoid now!

Josiah.

On Friday, 15 February 2019 19:10:43 UTC+1, bimlas wrote:
>
> Just tried out on latest Qunoid and works for me. Please download the wiki 
> and try again.

-- 
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/77987e6b-f3c2-4d03-bad8-0d7afa9b12ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Thanks Mark, 

I tried to do not touch JS in Tiddler Commander and also keep code simple! 
(Of course I know very little java script) 
but seems I have to use JS. For example TW has nothing with string 
search/replace and the JS code you provided do the job very well.

The macro I proposed above works for me but, modifying the *bulk tiddler 
creator* makes code complex and difficult to understand.

--Mohammad


On Friday, February 15, 2019 at 9:27:41 PM UTC+3:30, Mark S. wrote:
>
> Hi Mohammad,
>
> Your macros show a deep knowledge of the tools in TW.
>
> I'm a bit concerned that each level of indenture requires another chunk of 
> code, which may be hard to maintain.
>
> The thing is, this sort of thing is easy if you have the right text tools. 
> We need the concat function and a substr function. Unfortunately the new 
> tools lack the substr. How do you feel about using javascript macros (and 
> filters) in TW-commander?
>
> I just thought of another approach. Maybe. You could use a list filter and 
> call it recursively. Each time you prefix a "0". When the length (new math 
> function?) reaches the padded number length, the recursion ends and the 
> result is sent back. The problem here is that I don't the parameters for 
> the length function. The length would have to be compared to the target 
> length and the only comparison tool is the revealwidget.
>
> -- Mark
>
> On Friday, February 15, 2019 at 8:31:53 AM UTC-8, Mohammad wrote:
>>
>> Mark,
>>  String operation are added to TW - prerelease, see below
>>
>> Ref: 
>>
>>- 
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/strings.js
>>- 
>>
>> https://github.com/Jermolene/TiddlyWiki5/commit/9b2d52716a24197ba9fd67b708cbe2c56fa1b5d0
>>
>>
>> By the way, please let me know your opinion on the above macros.
>>
>> --Mohammad
>>
>> On Friday, February 15, 2019 at 7:57:17 PM UTC+3:30, Mark S. wrote:
>>>
>>> Like others in the forum, I'm finding that search links do not work. You 
>>> had a post earlier (which I can't get to) about new string operators being 
>>> added in the pre-release. But there's no documentation for string operators 
>>> -- only the new math operators.
>>>
>>> I'm wondering if, with the new string operators, it would be possible to 
>>> make a simpler, more concise padding macro that could provide any level of 
>>> padding?
>>>
>>> Could you share any information or documentation you've uncovered about 
>>> the string operators?
>>>
>>> Thanks!
>>> -- Mark
>>>
>>> On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:

 Asked by Josiah here:

 https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ

 To produce numbers zero padded like

 001
 002
 003
 ...

 099
 100

 Here is a macro to do that

 \define zeropad-range(n:10)
 <$list filter="[range[1,$n$]]" variable=x >
 <$reveal type="lteq" default=<> text="9" >
 <$text text= {{{[addprefix[00]]}}} />
 
 <$reveal type="gt" default=<> text="9" >
 <$text text= {{{[addprefix[0]]}}} />
 
 
 \end

 Example

 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 
 019 020 021 022 023 024 025

 The below macro works up to 1000

 \define zeropad-range4(n:10)
 <$list filter="[range[1,$n$]]" variable=x >
 <$reveal type="lteq" default=<> text="9" >
 <$text text= {{{[addprefix[000]]}}} />
 
 <$reveal type="gt" default=<> text="9" >
 <$reveal type="lt" default=<> text="99" >
 <$text text= {{{[addprefix[00]]}}} />
 
 
 <$reveal type="gt" default=<> text="99" >
 <$text text= {{{[addprefix[0]]}}} />
 
 
 \end



 --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 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/90cf68c4-9eac-4a13-9cb9-6843b8f81b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Just tried out on latest Qunoid and works for me. Please download the wiki and 
try again.

-- 
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/11b07a9f-84d1-4cdb-98b3-e17ac4dad331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread 'Mark S.' via TiddlyWiki
Hi Mohammad,

Your macros show a deep knowledge of the tools in TW.

I'm a bit concerned that each level of indenture requires another chunk of 
code, which may be hard to maintain.

The thing is, this sort of thing is easy if you have the right text tools. 
We need the concat function and a substr function. Unfortunately the new 
tools lack the substr. How do you feel about using javascript macros (and 
filters) in TW-commander?

I just thought of another approach. Maybe. You could use a list filter and 
call it recursively. Each time you prefix a "0". When the length (new math 
function?) reaches the padded number length, the recursion ends and the 
result is sent back. The problem here is that I don't the parameters for 
the length function. The length would have to be compared to the target 
length and the only comparison tool is the revealwidget.

-- Mark

On Friday, February 15, 2019 at 8:31:53 AM UTC-8, Mohammad wrote:
>
> Mark,
>  String operation are added to TW - prerelease, see below
>
> Ref: 
>
>- 
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/strings.js
>- 
>
> https://github.com/Jermolene/TiddlyWiki5/commit/9b2d52716a24197ba9fd67b708cbe2c56fa1b5d0
>
>
> By the way, please let me know your opinion on the above macros.
>
> --Mohammad
>
> On Friday, February 15, 2019 at 7:57:17 PM UTC+3:30, Mark S. wrote:
>>
>> Like others in the forum, I'm finding that search links do not work. You 
>> had a post earlier (which I can't get to) about new string operators being 
>> added in the pre-release. But there's no documentation for string operators 
>> -- only the new math operators.
>>
>> I'm wondering if, with the new string operators, it would be possible to 
>> make a simpler, more concise padding macro that could provide any level of 
>> padding?
>>
>> Could you share any information or documentation you've uncovered about 
>> the string operators?
>>
>> Thanks!
>> -- Mark
>>
>> On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:
>>>
>>> Asked by Josiah here:
>>>
>>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ
>>>
>>> To produce numbers zero padded like
>>>
>>> 001
>>> 002
>>> 003
>>> ...
>>>
>>> 099
>>> 100
>>>
>>> Here is a macro to do that
>>>
>>> \define zeropad-range(n:10)
>>> <$list filter="[range[1,$n$]]" variable=x >
>>> <$reveal type="lteq" default=<> text="9" >
>>> <$text text= {{{[addprefix[00]]}}} />
>>> 
>>> <$reveal type="gt" default=<> text="9" >
>>> <$text text= {{{[addprefix[0]]}}} />
>>> 
>>> 
>>> \end
>>>
>>> Example
>>>
>>> 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 
>>> 019 020 021 022 023 024 025
>>>
>>> The below macro works up to 1000
>>>
>>> \define zeropad-range4(n:10)
>>> <$list filter="[range[1,$n$]]" variable=x >
>>> <$reveal type="lteq" default=<> text="9" >
>>> <$text text= {{{[addprefix[000]]}}} />
>>> 
>>> <$reveal type="gt" default=<> text="9" >
>>> <$reveal type="lt" default=<> text="99" >
>>> <$text text= {{{[addprefix[00]]}}} />
>>> 
>>> 
>>> <$reveal type="gt" default=<> text="99" >
>>> <$text text= {{{[addprefix[0]]}}} />
>>> 
>>> 
>>> \end
>>>
>>>
>>>
>>> --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 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/0d4d7a01-fb9e-49c3-812f-38ba9617e4bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
I just noticed on phone that the headings are now in English--good stuff!

Josiah!

On Friday, 15 February 2019 18:45:32 UTC+1, @TiddlyTweeter wrote:
>
> bimlas
>
> DISQUS Is working well. Very good job you did. For a plugin the Language 
> tiddlers for GB English are needed  I think?
>
> I could not get it to work on Quinoid on Android phone. I'll ask Mark S. 
> about that. Otherwise it is excellent.
>
> Best wishes
> Josiah
>
> On Friday, 15 February 2019 18:15:46 UTC+1, bimlas wrote:
>>
>> Are you informed about the answers in mail?
>>
>> BTW: Thanks for testing!
>>
>

-- 
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/e7213ebb-4b56-40c0-b7ab-99f4b0f9da53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
bimlas

DISQUS Is working well. Very good job you did. For a plugin the Language 
tiddlers for GB English are needed  I think?

I could not get it to work on Quinoid on Android phone. I'll ask Mark S. 
about that. Otherwise it is excellent.

Best wishes
Josiah

On Friday, 15 February 2019 18:15:46 UTC+1, bimlas wrote:
>
> Are you informed about the answers in mail?
>
> BTW: Thanks for testing!
>

-- 
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/8e4c260a-c30d-4685-89d7-a9f786721762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Github v Tiddlyspot?

2019-02-15 Thread Ton Gerner
Hi,

Tiddlyspot is easy. Do not bother about the TWc you see.

For more information see https://tiddlywiki.com/#Saving%20on%20TiddlySpot

Cheers,

Ton

-- 
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/ba8f9b7c-d2b8-4962-aeca-9b73ddf79360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
That's true Eric,
 But we do not know in advance what is the number, and it is given by user!
So if n is a variable, then how we can generate these numbers?

--Mohammad

On Friday, February 15, 2019 at 8:48:15 PM UTC+3:30, Eric Shulman wrote:
>
> On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:
>
>> To produce numbers zero padded like
>> 001 002 003 ... 099 100
>> Here is a macro to do that
>> \define zeropad-range(n:10)
>> <$list filter="[range[1,$n$]]" variable=x >
>> <$reveal type="lteq" default=<> text="9" >
>> <$text text= {{{[addprefix[00]]}}} />
>> 
>> <$reveal type="gt" default=<> text="9" >
>> <$text text= {{{[addprefix[0]]}}} />
>> 
>> 
>> \end
>> The below macro works up to 1000
>> \define zeropad-range4(n:10)
>> <$list filter="[range[1,$n$]]" variable=x >
>> <$reveal type="lteq" default=<> text="9" >
>> <$text text= {{{[addprefix[000]]}}} />
>> 
>> <$reveal type="gt" default=<> text="9" >
>> <$reveal type="lt" default=<> text="99" >
>> <$text text= {{{[addprefix[00]]}}} />
>> 
>> 
>> <$reveal type="gt" default=<> text="99" >
>> <$text text= {{{[addprefix[0]]}}} />
>> 
>> 
>> \end
>>
>
> The following filter sequence will generate a list of zero-padded numbers 
> 001-999
> [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999]]
>
> Thus, to produce the same *display* output as your macro, we can just 
> write:
> {{{ [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999]] 
> }}}
>
> -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 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/3b67634c-7301-43b3-abf1-fae8de5a7267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread @TiddlyTweeter
Thanks for doing that! Its an interesting thread. Eric's comments very 
interesting!

J.

On Friday, 15 February 2019 17:18:56 UTC+1, Mohammad wrote:
>
> Hi Josiah,
>  See the answer here
> https://groups.google.com/d/msg/tiddlywiki/b2QBuydTVxk/-3FjRjI0BAAJ
>
> --Mohammad
>
> On Friday, February 15, 2019 at 4:46:41 PM UTC+3:30, @TiddlyTweeter wrote:
>>
>> NUMBER STYLE
>>
>> This is *just a comment*. Not something I expect most people would need.
>>
>> Longer term myself I'd like to be able to pad numbers
>>
>> So, for instance, I could set it so the titling is like this ...
>>
>> Test 001
>> Test 002
>> Test 003
>> etc.
>>
>>
>> Hopefully someone may have interest in adding a module for that?
>>
>> Best wishes
>> J.
>>
>> Mohammad wrote:
>>
>>> *New release of TW-Commander*
>>>
>>> See the original post: 
>>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>>
>>

-- 
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/e91ec58a-63cf-40a0-8ef2-ee3429c6e0cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Eric Shulman
On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:

> To produce numbers zero padded like
> 001 002 003 ... 099 100
> Here is a macro to do that
> \define zeropad-range(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
> The below macro works up to 1000
> \define zeropad-range4(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[000]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$reveal type="lt" default=<> text="99" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> 
> <$reveal type="gt" default=<> text="99" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
>

The following filter sequence will generate a list of zero-padded numbers 
001-999
[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999]]

Thus, to produce the same *display* output as your macro, we can just write:
{{{ [range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,999]] }}}

-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 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/fa729beb-757c-481b-92e6-c9bdecd0c474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Github v Tiddlyspot?

2019-02-15 Thread Watt
I wonder if anybody can advise on which to use for hosting a simple demo-TW5, 
maybe two? Github or Tiddlyspot?

Single file wiki, not node, single cell author.

If you favour tiddlyspot could you let me know which one to use, there seem to 
be two.

http://tiddlyspot.com (which offers a 2011 TW Classic and throws up a load of 
warnings about plainclothes passwords sniffing my packets)

or

https://tiddlyspot.com (which throws up a load of safety warnings about invalid 
hackers with certificates on my browser, which advised me to return to safety).

Sorry to ask such a dumbarse question, a simple pointer is all I need, no need 
to explain.

If the question's been asked and answered before perhaps you could paste a 
direct link, search still doesn't seem to work for me on this forum.

-- 
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/46b86ca9-63bd-4977-8902-03f9cedf1156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Are you informed about the answers in mail?

BTW: Thanks for testing!

-- 
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/f9a18fcc-5c85-4dbc-8281-8d1581465293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Thank you very much! I'm glad you like 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 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/989e7621-4805-4e49-8f8a-4cf58c56f067%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
I been playing with your site on mobile phone--as you will know from my 
DISQUS messages to you from phone.

Its a very well designed site that adapts to phone very well.

Just a comment
Josiah

On Friday, 15 February 2019 17:28:09 UTC+1, @TiddlyTweeter wrote:
>
> Very good.
>
> Very good it lets you use exiting login like Google.
>
> I had problems with language--I could login in English but the Disqus 
> interface is in Hungarian.
>
> Josiah
>
> On Friday, 15 February 2019 15:37:07 UTC+1, bimlas wrote:
>>
>> Folks,
>>
>> I'll soon publish the Disqus plugin, but before releasing, please help in 
>> testing: you can write comments for each tiddler separately (on the bottom 
>> of them): https://bimlas.gitlab.io/
>>
>> Unfortunately, signing in (Disqus, Google, Facebook, etc.) is mandatory, 
>> otherwise I would have to accept all guest comments one by one.
>>
>

-- 
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/652adf97-babc-4896-bc49-2be43437f8d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread BimbaLaszlo
Ok, but who does not know, can refrain from using it because he thinks I
did.

@TiddlyTweeter  ezt írta (időpont: 2019. febr.
15., P, 17:50):

> I understand what DISQUS is. Its a good system.
>
> On Friday, 15 February 2019 17:45:22 UTC+1, bimlas wrote:
>>
>> To be clear: Disqus is not my software, it is a worldwide blog comment
>> hosting service for web sites and online communities:
>> https://en.wikipedia.org/wiki/Disqus
>>>
>>> --
> 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/CC-EyALrbF0/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/b856996b-a9a0-4f86-b696-4583a9c159ad%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/CACnsc4cEnkWRff9xg8HJoZH-9uEmU62XAo00agHqfrLyCtSBCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
I understand what DISQUS is. Its a good system.

On Friday, 15 February 2019 17:45:22 UTC+1, bimlas wrote:
>
> To be clear: Disqus is not my software, it is a worldwide blog comment 
> hosting service for web sites and online communities: 
> https://en.wikipedia.org/wiki/Disqus
>>
>>

-- 
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/b856996b-a9a0-4f86-b696-4583a9c159ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
To be clear: Disqus is not my software, it is a worldwide blog comment 
hosting service for web sites and online communities: 
https://en.wikipedia.org/wiki/Disqus
>
>

-- 
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/31a2884a-bb8c-4271-bc20-3ba048210b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Enabled guest commenting, because it seems that not everybody like to login 
just to write a comment.

-- 
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/282bb4e9-cba8-418d-b782-975c97f017f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Mark,
 String operation are added to TW - prerelease, see below

Ref: 

   - 
   
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/strings.js
   - 
   
https://github.com/Jermolene/TiddlyWiki5/commit/9b2d52716a24197ba9fd67b708cbe2c56fa1b5d0


By the way, please let me know your opinion on the above macros.

--Mohammad

On Friday, February 15, 2019 at 7:57:17 PM UTC+3:30, Mark S. wrote:
>
> Like others in the forum, I'm finding that search links do not work. You 
> had a post earlier (which I can't get to) about new string operators being 
> added in the pre-release. But there's no documentation for string operators 
> -- only the new math operators.
>
> I'm wondering if, with the new string operators, it would be possible to 
> make a simpler, more concise padding macro that could provide any level of 
> padding?
>
> Could you share any information or documentation you've uncovered about 
> the string operators?
>
> Thanks!
> -- Mark
>
> On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:
>>
>> Asked by Josiah here:
>>
>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ
>>
>> To produce numbers zero padded like
>>
>> 001
>> 002
>> 003
>> ...
>>
>> 099
>> 100
>>
>> Here is a macro to do that
>>
>> \define zeropad-range(n:10)
>> <$list filter="[range[1,$n$]]" variable=x >
>> <$reveal type="lteq" default=<> text="9" >
>> <$text text= {{{[addprefix[00]]}}} />
>> 
>> <$reveal type="gt" default=<> text="9" >
>> <$text text= {{{[addprefix[0]]}}} />
>> 
>> 
>> \end
>>
>> Example
>>
>> 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 
>> 019 020 021 022 023 024 025
>>
>> The below macro works up to 1000
>>
>> \define zeropad-range4(n:10)
>> <$list filter="[range[1,$n$]]" variable=x >
>> <$reveal type="lteq" default=<> text="9" >
>> <$text text= {{{[addprefix[000]]}}} />
>> 
>> <$reveal type="gt" default=<> text="9" >
>> <$reveal type="lt" default=<> text="99" >
>> <$text text= {{{[addprefix[00]]}}} />
>> 
>> 
>> <$reveal type="gt" default=<> text="99" >
>> <$text text= {{{[addprefix[0]]}}} />
>> 
>> 
>> \end
>>
>>
>>
>> --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 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/9b4b3fee-e4d0-4803-92dc-2b4f1fca9051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Thanks for the reply, this is why I liked to check if everything works 
before releasing. :)

-- 
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/a33bbecb-e987-4927-9d3e-08cb38b5e1a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread @TiddlyTweeter
Very good.

Very good it lets you use exiting login like Google.

I had problems with language--I could login in English but the Disqus 
interface is in Hungarian.

Josiah

On Friday, 15 February 2019 15:37:07 UTC+1, bimlas wrote:
>
> Folks,
>
> I'll soon publish the Disqus plugin, but before releasing, please help in 
> testing: you can write comments for each tiddler separately (on the bottom 
> of them): https://bimlas.gitlab.io/
>
> Unfortunately, signing in (Disqus, Google, Facebook, etc.) is mandatory, 
> otherwise I would have to accept all guest comments one by one.
>

-- 
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/44e02099-4368-4ada-ac9c-4bd0e6c1d324%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: produce zero padded number using RANGE operator

2019-02-15 Thread 'Mark S.' via TiddlyWiki
Like others in the forum, I'm finding that search links do not work. You 
had a post earlier (which I can't get to) about new string operators being 
added in the pre-release. But there's no documentation for string operators 
-- only the new math operators.

I'm wondering if, with the new string operators, it would be possible to 
make a simpler, more concise padding macro that could provide any level of 
padding?

Could you share any information or documentation you've uncovered about the 
string operators?

Thanks!
-- Mark

On Friday, February 15, 2019 at 8:18:05 AM UTC-8, Mohammad wrote:
>
> Asked by Josiah here:
>
> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ
>
> To produce numbers zero padded like
>
> 001
> 002
> 003
> ...
>
> 099
> 100
>
> Here is a macro to do that
>
> \define zeropad-range(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
>
> Example
>
> 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 
> 019 020 021 022 023 024 025
>
> The below macro works up to 1000
>
> \define zeropad-range4(n:10)
> <$list filter="[range[1,$n$]]" variable=x >
> <$reveal type="lteq" default=<> text="9" >
> <$text text= {{{[addprefix[000]]}}} />
> 
> <$reveal type="gt" default=<> text="9" >
> <$reveal type="lt" default=<> text="99" >
> <$text text= {{{[addprefix[00]]}}} />
> 
> 
> <$reveal type="gt" default=<> text="99" >
> <$text text= {{{[addprefix[0]]}}} />
> 
> 
> \end
>
>
>
> --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 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/013fe28b-1eab-4196-97c2-17b723045bd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad
Hi Josiah,
 See the answer here
https://groups.google.com/d/msg/tiddlywiki/b2QBuydTVxk/-3FjRjI0BAAJ

--Mohammad

On Friday, February 15, 2019 at 4:46:41 PM UTC+3:30, @TiddlyTweeter wrote:
>
> NUMBER STYLE
>
> This is *just a comment*. Not something I expect most people would need.
>
> Longer term myself I'd like to be able to pad numbers
>
> So, for instance, I could set it so the titling is like this ...
>
> Test 001
> Test 002
> Test 003
> etc.
>
>
> Hopefully someone may have interest in adding a module for that?
>
> Best wishes
> J.
>
> Mohammad wrote:
>
>> *New release of TW-Commander*
>>
>> See the original post: 
>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>
>

-- 
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/34268211-add9-45c0-85c5-ad0195c7edb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] produce zero padded number using RANGE operator

2019-02-15 Thread Mohammad
Asked by Josiah here:

https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/O3RaMUwqBAAJ

To produce numbers zero padded like

001
002
003
...

099
100

Here is a macro to do that

\define zeropad-range(n:10)
<$list filter="[range[1,$n$]]" variable=x >
<$reveal type="lteq" default=<> text="9" >
<$text text= {{{[addprefix[00]]}}} />

<$reveal type="gt" default=<> text="9" >
<$text text= {{{[addprefix[0]]}}} />


\end

Example

001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017018 019 
020 021 022 023 024 025

The below macro works up to 1000

\define zeropad-range4(n:10)
<$list filter="[range[1,$n$]]" variable=x >
<$reveal type="lteq" default=<> text="9" >
<$text text= {{{[addprefix[000]]}}} />

<$reveal type="gt" default=<> text="9" >
<$reveal type="lt" default=<> text="99" >
<$text text= {{{[addprefix[00]]}}} />


<$reveal type="gt" default=<> text="99" >
<$text text= {{{[addprefix[0]]}}} />


\end



--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 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/583f6b44-a643-4ecf-96f7-80ab1177f95a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad
Josiah,
 The approach for development Commander is to learn how to develop rather 
complex TW scripts with clarity and simplicity in mind!
Different TW elements are used and the current state shows tiddlers in 
different categories to simply follow!

You can simply add more operation
You can add filters
You can save filters


It is extensible and this can be easily done by a rather moderate user.

*Thanks to the Tiddler Concept!  I think still I am learning what is a 
tiddler and how I can makes complex thing from tiny elements.*
*I think Tiddlywiki is like a Lego game. Tiddlers are like Lego bricks, 
where they come in very small meaningful concepts and you use *
*them to make **complex tools. I call Tiddlywiki is a Lego-like-software IF 
we understand tiddlers.*

--Mohammad




On Friday, February 15, 2019 at 4:28:11 PM UTC+3:30, @TiddlyTweeter wrote:
>
> A note on MODULARITY.
>
> I find it very good. 
>
> For instance, I was able to find the code easily for the drop down of 
> numbers of Tiddlers to create (i.e. uses the range operator) and added 500 
> & 1000 to the list.
>
> Since I rarely know what I'm doing in TW code it was surprising it was 
> easy.
>
> Best wishes
> J.
>  
>
>> Mohammad wrote:
>>>
>>> *New release of TW-Commander*
>>>
>>> See the original post: 
>>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>>
>>

-- 
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/8b82f578-10e9-4211-8091-d6a1f0411002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad
Noted
M.

On Friday, February 15, 2019 at 5:06:48 PM UTC+3:30, @TiddlyTweeter wrote:
>
> Ciao Mohammad
>
> CREATION + NO OVERWRITE
>
> A great advantage of this new approach is you can come back LATER :-) and 
> add more Tiddlers to a sequence without destroying your old ones!
>
> Best wishes
> J.
>
> On Thursday, 14 February 2019 16:29:16 UTC+1, Mohammad wrote:
>>
>> Noted:
>>
>> The new release DOES NOT OVERWRITTE any existing tiddlers
>>
>>
>>- good: no danger of losing data
>>- bad: if you want intentionally overwrite something, Commander wont 
>>do it
>>
>> Solution: I will add hopefully in release candidate an option for that
>>
>> --Mohammad
>>
>> On Thursday, February 14, 2019 at 4:26:24 PM UTC+3:30, @TiddlyTweeter 
>> wrote:
>>>
>>> Ciao Mohammad,
>>>
>>> Tiddler CREATION ... this looks not quite right yet. The main danger is 
>>> over-writing?
>>>
>>> I will respond in more detail later. I need to get a bit clearer first.
>>>
>>> J.
>>>
>>

-- 
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/a0a1d109-5763-425c-ad00-3de716227a0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad
Noted

I need to write a small macro to do this.
I use the range operator and it seems has no parameter to ask for zero 
padding,
but I add one in the next update!

--Mohammad

On Friday, February 15, 2019 at 4:46:41 PM UTC+3:30, @TiddlyTweeter wrote:
>
> NUMBER STYLE
>
> This is *just a comment*. Not something I expect most people would need.
>
> Longer term myself I'd like to be able to pad numbers
>
> So, for instance, I could set it so the titling is like this ...
>
> Test 001
> Test 002
> Test 003
> etc.
>
>
> Hopefully someone may have interest in adding a module for that?
>
> Best wishes
> J.
>
> Mohammad wrote:
>
>> *New release of TW-Commander*
>>
>> See the original post: 
>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>
>

-- 
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/1d655f6d-4ce5-4402-804f-1fae58e442f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad
@Reece
Thank you! I hope I have your feedback.


On Friday, February 15, 2019 at 9:38:00 AM UTC+3:30, Reece Shaw wrote:
>
> I just want to chime in and say this is a great discussion as well as a 
> great tool. 
>
> I'm with Tony in that a new standard.html build would be great. I think 
> for your normal end user that might use say... scrivener or even oneNote 
> the TW barrier to entry is still too high. 
>
> Commander, once completed,  would go right up there with comptext and 
> aliases in my book of "must have" plugins. Maybe even an interface for 
> guides to TW and these "standard" plugins as an onboarding experience to 
> the tool.
>
> Great work Mohammed. Looking forward to what you've got coming. 
>
> - Reece, the discord guy
>
>

-- 
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/0b64f916-eb12-44a3-8bbc-37b60b78947b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread Mohammad


On Friday, February 15, 2019 at 4:18:57 PM UTC+3:30, @TiddlyTweeter wrote:
>
> Ciao Mohammad. Some more comments ... I will post them one by one so other 
> people can more easily comment back.
>
> TAG modules ...
>
> 1 - If you do filter on tag (e.g. "xx") and then use "Replace tags" to 
> change it the results list disappears. I used the "Recent" sidebar tab to 
> check what was happening. 
> But maybe the main TC could display a panel that shows results when that 
> occurs?
>
A log tiddler is planned and will be implemented 

>
> 2 - Tags with spaces in them (e.g. "three word tag") are supported in "Add 
> remove tags" but fail in "Replace tags".
>
Fixed! 

>
> 3 - "Add remove tags" could be renamed something like "Add or Remove 
> tags".
>
The UI will be revised for more consistent operation, hopefully in release 
candidate

>
> Best wishes
> Josiah
>
> Mohammad wrote:
>>
>> *New release of TW-Commander*
>>
>> See the original post: 
>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>
>

-- 
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/c155997f-e217-4b7c-bf2d-f7d72510816f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Disqus (guest comments) for TiddlyWiki: comming soon

2019-02-15 Thread bimlas
Folks,

I'll soon publish the Disqus plugin, but before releasing, please help in 
testing: you can write comments for each tiddler separately (on the bottom 
of them): https://bimlas.gitlab.io/

Unfortunately, signing in (Disqus, Google, Facebook, etc.) is mandatory, 
otherwise I would have to accept all guest comments one by one.

-- 
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/5056a078-4b98-4428-ad62-d0bccbbb0913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Quick Opinion -- The "Empty" sidebar is perhaps doing far too much?

2019-02-15 Thread @TiddlyTweeter
Your solution was interesting.

What is the wider need?

I am not sure. What I am sure about is that there are "fields of interest" 
-- in my own work in cinema its obvious the wiki needs to deal with cinema 
first.

I'm not there yet. I spend an awful lot of time explaining how to set up on 
Android (Quinoid) or use Timimi (Firefox only).

Josiah


On Friday, 15 February 2019 07:25:10 UTC+1, TonyM wrote:
>
> Josiah,
>
> I believe the empty should not be the first place for someone who just 
> wants to write. I have raised elsewhere the posibility of an alternate 
> standard.html that includes a TOC and a few other essentials.
>
> If empty is the base wiki from which to build any other wiki is is perhaps 
> appropriate to keep them all visible and provide the methods to reduce the 
> sidebar complexity. A Standard wiki may be better geared for new and quick 
> use wikis.
>
> I have build a CodeMirror edition for immediate edit use. Draft attached
>
> Regards
> Tony
>
>
> On Friday, February 15, 2019 at 2:47:19 AM UTC+11, @TiddlyTweeter wrote:
>>
>> repeat for email  ...
>>
>> On Thursday, 14 February 2019 16:18:24 UTC+1, @TiddlyTweeter wrote:
>>>
>>> A new user who just wants to write. What would a sidebar best look like 
>>> for them?
>>>
>>> Just probing your 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 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/170bb0c1-be9e-4ee8-b2ad-7d0f6624809e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread @TiddlyTweeter
Ciao Mohammad

A great advantage of this new approach is you can come back LATER :-) and 
add more Tiddlers to a sequence without destroying your old ones!

Best wishes
J.

On Thursday, 14 February 2019 16:29:16 UTC+1, Mohammad wrote:
>
> Noted:
>
> The new release DOES NOT OVERWRITTE any existing tiddlers
>
>
>- good: no danger of losing data
>- bad: if you want intentionally overwrite something, Commander wont 
>do it
>
> Solution: I will add hopefully in release candidate an option for that
>
> --Mohammad
>
> On Thursday, February 14, 2019 at 4:26:24 PM UTC+3:30, @TiddlyTweeter 
> wrote:
>>
>> Ciao Mohammad,
>>
>> Tiddler CREATION ... this looks not quite right yet. The main danger is 
>> over-writing?
>>
>> I will respond in more detail later. I need to get a bit clearer first.
>>
>> J.
>>
>

-- 
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/7555659f-f177-4a36-ab35-ada0d5b2999d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread @TiddlyTweeter
NUMBER STYLE

This is *just a comment*. Not something I expect most people would need.

Longer term myself I'd like to be able to pad numbers

So, for instance, I could set so the titling like this ...

Test 001
Test 002
Test 003
etc.


Hopefully someone may have interest in adding a module for that?

Best wishes
J.

Mohammad wrote:

> *New release of TW-Commander*
>
> See the original post: 
> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>

-- 
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/f8a31a27-4efb-4897-91be-51ff1493c429%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread @TiddlyTweeter
A note on MODULARITY.

I find it very good. 

For instance, I was able to find the code easily for the drop down of 
numbers of Tiddlers to create (i.e. created by the range operator) and 
added 500 & 1000 to the list.

Since I rarely know what I'm doing in TW code it was surprising it was easy.

Best wishes
J.
 

> Mohammad wrote:
>>
>> *New release of TW-Commander*
>>
>> See the original post: 
>> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>>
>

-- 
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/4b34b9ef-dac7-403e-a0bf-00643317f78f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread S. S.
Blue Steel,

As I said in my first post:

> Perhaps not exactly what you want to end up with.
>

TiddlyWiki's built in Table-of-Contents Macros 
 are based on a 
tag-tree of "parent-child" tiddlers. This means each parent tiddler is the 
name of a tag which is used by its "children" tiddlers. And each of those 
children in turn can be names of tags used by their own "children". 

Using that would mean that for each "untagged" tiddler to appear in your 
*Unsorted* tiddler, they would have to be tagged with *Unsorted* ! Oops - 
but then they would not be untagged!
I guess one way to do it would be to tag all new tiddlers with an *Unsorted* 
tag to begin with. Then the tiddlers would show up in your Table of 
Contents. You could also put this in the text field of your *Unsorted* 
tiddler just to display the list there:

<>

Later when you decide how to tag them, you add the new tags, and delete the 
*Unsorted* tag.

Would that work for you?

On Friday, February 15, 2019 at 7:20:31 PM UTC+7, Blue Steel wrote:
>
> Thanks guys! I combined both your answers to get: 
> <>
>
> It works correctly in showing the untagged Tiddlers within the "Unsorted" 
> Tiddlers note, but it doesn't show up in the Table of Contents for some 
> reason. Any ideas?
>

-- 
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/c61e793f-5dbb-4919-8bea-8682e239d8aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander

2019-02-15 Thread @TiddlyTweeter
Ciao Mohammad. Some more comments ... I will post them one by one so other 
people can more easily comment back.

TAG modules ...

1 - If you do filter on tag (e.g. "xx") and then use "Replace tags" to 
change it the results list disappears. I used the "Recent" sidebar tab to 
check what was happening. 
But maybe the main TC could display a panel that shows results when that 
occurs?

2 - Tags with spaces in them (e.g. "three word tag") are supported in "Add 
remove tabs" but fail in "Replace tags".

3 - "Add remove tags" could be renamed something like "Add or Remove tabs".

Best wishes
Josiah

Mohammad wrote:
>
> *New release of TW-Commander*
>
> See the original post: 
> https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ
>

-- 
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/b1e64ab4-312c-43ca-bb38-1dc3be24a410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread TonyM
Blue,

Can I suggest you look into learning how to make your own set of recursive 
macros to do what the toc macro does? You can research how the existing ones 
work or possibly search for posts of mine on this previously. If you can find 
it let me know.

The fact is you can do anything you want in a to if you build it yourself.

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 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/9adea6b8-eddf-4f5d-9ca8-07195d162864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Quick Opinion -- The "Empty" sidebar is perhaps doing far too much?

2019-02-15 Thread TonyM
Barro,

The continuous flow of new users into this community, their openness, diverse 
backgounds and skills, sharing their expirence and humility is I belive some of 
the most valuable assets in this community. 

I like to give to the community because I like to help, but also it is in 
thanks for the work of others and simultaneously because to teach is the best 
way to learn. Learning how to help people new to tiddlywiki helps ground us and 
exposes us to the humility sometimes forgotten when we start to become experts 
in something.

It is an all to rare example of a virtuous circle.

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 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/3618abdd-7b0f-4db2-b1b7-1cf6a681e197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread S. S.
Thanks Jeremy!

Never noticed that one. Sure makes things easier.

<>

Makes me fee nice  (the original 13th 
century meaning of the word from its Latin root - *nescius*).



On Friday, February 15, 2019 at 7:06:52 PM UTC+7, Jeremy Ruston wrote:
>
> Hi SS
>
> There is also an “untagged” filter operator which you can use for this,
>
> Best wishes
>
> Jeremy
>
>
>

-- 
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/748d3938-7a0d-423d-a711-ce1b1fa531d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread Blue Steel
Thanks guys! I combined both your answers to get: 
<>

It works correctly in showing the untagged Tiddlers within the "Unsorted" 
Tiddlers note, but it doesn't show up in the Table of Contents for some 
reason. Any ideas?

-- 
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/8976b653-ed15-445b-b6b7-101abe580d09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread Jeremy Ruston
Hi SS

There is also an “untagged” filter operator which you can use for this,

Best wishes

Jeremy

--
Jeremy Ruston


> On 15 Feb 2019, at 11:46, S. S.  wrote:
> 
> Well, here's a possible start. Perhaps not exactly what you want to end up 
> with, but perhaps it might do for now.
> 
> In your tiddler titled: Unsorted
> That should have a tag: TableOfContents
> Put this in its text field:
> <>
> 
> The filter: [!has[tags]!prefix[$:/]] does 3 things
> 
> 1. Since we have not told the filter what are the input titles to look for, 
> it defaults to all System & Normal Tiddlers (omitting Shadow tiddlers)
> 
> 2. This part: has[tags]  :would return all tiddlers that have tags.
> The ! instructs the filter to be a negation, thus:  !has[tags]  :returns 
> tiddlers that have an empty tags field (no tags).
> 
> 3. prefix[$:/] would return only tiddlers whose titles begin with $:/ - which 
> in this case would be all System tiddlers.
>We want the opposite of that, and once again the ! negates the return, so: 
>  !prefix[$:/] :returns all the non-system tiddlers.
> 
> The <> macro creates the bullet point list.
> 
> Hope that helps.
> 
> 
>> On Friday, February 15, 2019 at 5:04:34 PM UTC+7, Blue Steel wrote:
>> I'm new to TW and managed to create a basic table of contents, but I can't 
>> figure out how to create a section which will automatically show all my 
>> untagged Tiddlers. I want this section so I can quickly create Tiddlers and 
>> give them a tag for sorting later, as well as show any Tiddlers I've 
>> forgotten to tag.
>> 
>> In the TableOfContents note I've got a list field currently with: Tasks3 
>> Tasks [[Tasks 2]] Unsorted. I want to make 'Unsorted' into the section 
>> header for my untagged notes. 
> 
> -- 
> 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/5d0f72ac-6f15-4001-8bea-bc8984e4d03f%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/7A43186A-CD25-49DC-8C24-F92FCA5CB2FF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread S. S.
Well, here's a possible start. Perhaps not exactly what you want to end up 
with, but perhaps it might do for now.

In your tiddler titled: *Unsorted*
That should have a tag: *TableOfContents*
Put this in its text field:
<>

The filter: *[!has[tags]!prefix[$:/]]* does 3 things

1. Since we have not told the filter what are the input titles to look for, 
it defaults to all System & Normal Tiddlers (omitting Shadow tiddlers)

2. This part: *has[tags]*  :would return all tiddlers that have tags.
The *!* instructs the filter to be a negation, thus:  *!has[tags]*  
:returns tiddlers that have an empty tags field (no tags).

3. *prefix[$:/]* would return only tiddlers whose titles begin with $:/ - 
which in this case would be all System tiddlers.
   We want the opposite of that, and once again the *!* negates the return, 
so:  *!prefix[$:/]* :returns all the non-system tiddlers.

The <>  macro 
creates the bullet point list.

Hope that helps.


On Friday, February 15, 2019 at 5:04:34 PM UTC+7, Blue Steel wrote:
>
> I'm new to TW and managed to create a basic table of contents, but I can't 
> figure out how to create a section which will automatically show all my 
> untagged Tiddlers. I want this section so I can quickly create Tiddlers and 
> give them a tag for sorting later, as well as show any Tiddlers I've 
> forgotten to tag.
>
> In the TableOfContents note I've got a list field currently with: Tasks3 
> Tasks [[Tasks 2]] Unsorted. I want to make 'Unsorted' into the section 
> header for my untagged notes. 
>

-- 
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/5d0f72ac-6f15-4001-8bea-bc8984e4d03f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki on SharePoint - Real world Application

2019-02-15 Thread TonyM
Tony,

I suppose nothing is faster than local html but have you tried placing a 
renameed tiddlywiki.html as tiddlywiki.aspx in a wikipages library or sitepages 
library?, because o365 seem to favor these files and are quite fast.

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 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/e5f91580-c787-4d31-a07a-c835ab5685fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to create a header in table of contents which shows all untagged Tiddlers?

2019-02-15 Thread Blue Steel
I'm new to TW and managed to create a basic table of contents, but I can't 
figure out how to create a section which will automatically show all my 
untagged Tiddlers. I want this section so I can quickly create Tiddlers and 
give them a tag for sorting later, as well as show any Tiddlers I've 
forgotten to tag.

In the TableOfContents note I've got a list field currently with: Tasks3 
Tasks [[Tasks 2]] Unsorted. I want to make 'Unsorted' into the section 
header for my untagged notes. 

-- 
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/a0d54d51-dcb7-401c-9da2-0af0d7a2cabb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Release of the kin filter plugin: Recursively looking for kinship between tiddler titles; finds related tags

2019-02-15 Thread 'mervin mecklenburg' via TiddlyWiki
Bimlas;

Thanks for the great examples. I'll give them some study. 

Mervin 

-- 
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/b654e087-7638-4679-a022-5a5a3dc4d92d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki on SharePoint - Real world Application

2019-02-15 Thread CHUN LI
Good news Tony! And looking forward to see TW in SharePoint! 

Chun

On Friday, February 15, 2019 at 7:04:51 PM UTC+13, TonyM wrote:
>
> Folks,
>
> I thought I would just share something with you that may encourage some of 
> you.
>
>
>- I have a Consultancy contract with a Client for whom I believe 
>TiddlyWiki could provide a very good solution.
>- They have asked me to proceed. 
>- It is exciting because this is the first time I will be paid to 
>develop a Tiddlywiki
>- I have explored and confirmed I can deliver this on top of 
>SharePoint in Office 365
>
> Here are some basic details of my approach
>
>- Single File Tiddlywiki in a SitePages Library
>- It loads very quickly
>- Check out the Wiki file to the administrator, no one else can save 
>over it - Serial editors only
>- Only the administrator who has it checked out can save back to the 
>library
>- The Wiki can be opened with the "#tiddler" in the URL so links to 
>the wiki will have the desired landing tiddler for different users
>- I will place links to the wiki for different purposes in different 
>places Like, Lookup, Check personal details, administer etc...
>
> Minor limitations
>
>- Autosave will trigger errors if another change triggers a subsequent 
>save before the first has completed (takes a few minutes in background)
>- One editor at a time, serial editors only, Ok for this business case.
>
>
> I still have a few challenges, 
>
>- One will be to ensure users without save privileges do not try and 
>save, and avoid throwing an error.
>   - Perhaps this will be reversed, no one can save, the admin will 
>   open a special way that engages saving
>- Another will be for a separate wiki as a Form, whose tiddlers can be 
>imported into the main wiki
>- It would be nice if the viewer access could indicate when an update 
>has being saved under it and suggest a reload.
>
> I plan some special features which I will share if there is an interest, 
> Indicated by your response in this thread.
>
>- Lists with selectable columns, sort and (Drop down) filters
>- Generate PDF documents from templates
>- Generate CSV Exports of data for distribution by excel
>- Generate curated TiddlyWiki's for placement on client Intranet
>- Lists that detect they have being "abridged" with updated data
>- All the new item templates, forms, lists and reports you would 
>expect of a database application and front end.
>- Possible integration with other systems.
>
> Of course I am confident I can do this or I would not have commited, yet I 
> may need to seek support of the community, but rest assured I will give 
> back in greater measure.
>
> 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 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/fe0a10e8-adad-4211-a394-37a5e91e2d48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.