[tw5] Re: TW5: Indirect referencing for external files

2019-03-20 Thread TonyM
A server app to run node on android is turmux and at least one other.

Bob can be installed on that.

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/54a66216-0fd4-48df-908d-8f6141cee1f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread TonyM
Mark,

What do you mean "buffered" dates"?

Here is my further research notes, illistrated with below code

Review notes
   
   - Modified and Created are saved as UTC time, but the field transcluded 
   adjusts it for local time, and shows the offset
   - If we use the Get filter operator to obtain the created and modified 
   dates we see the real serial number stored in the field is UTC, thus what 
   stored it is assumed to be UTC
   - If we use the View Widget to format the serial number it will adjust 
   for local time, if we include [UTC] it will not, UTC means display the 
   unadjusted UTC time, thus what stored it is assumed to be UTC
   - If we search date time fields using the prefix operator we will get 
   the serial number, which may (is assumed to) be UTC and thus not the local 
   time zone
  - To do such searches you should first ensure the search date is 
  represented as UTC or converted to UTC
  - See converting a local time to UTC time
   - Thus it is clear that TiddlyWiki 
    assumes 
   dates to be in UTC format, now what if we are setting a time field?
  - If we are setting it to now we use the UTC version <> so the UTC time is saved and the View 
  widget returns the local time unless we ask for UTC
  - If we have different fields representing day, month year that we 
  wish to save in a date serial number, we must first convert it to UTC 
  before saving it.
  - See converting a local time to UTC time
   - We could say the UTC describes the content of the date field. So when 
   saving we says its UTC, when viewing we do not say UTC if we want local time

Converting a local time to UTC timeIn my case my current time zone is +11, 
and others have for example -11Thus to convert any date to UTC we need to 
change the sign and add or subtract the hours and honor the 24 hour clockI 
will complete this soon but ideas appreciated


\define now-serial-date() <>
\define utc-now-serial-date() <>
\define this-hour-0hh()  <>
\define this-hour-here-0hh()  <>
\define this-day-0dd()  <>
\define this-month-0mm() <>
\define this-year-() <>


;Despite being easy to read the following dates will NOT be sorted correctly
, accross years
:local time now: <>
:UTC   time now: <>


:<>
:<>
:<>
:<>
:<>
:<>


;Use wikify to save the date value not the content of the macro
<$wikify name=now-date text=<> >
<$button set="!!saved-date" setTo=<> >
Set to Now


<$wikify name=now-date text=<> >
<$button set="!!saved-date" setTo=<> >
Set to Now UTC






;As stored saved-date {{!!saved-date}}, 
:Template without UTC  <$view field=saved-date format=date template=
"0MM0DD0hh0mm0ssXXX"/>  OR <$view field=saved-date format=date 
template="DDth mmm  0hh:0mm:0ss"/> timezone applied to saved-date, so 
Assumes time is UTC and you want local time. 
:Template With UTC <$view field=saved-date format=date template=
"[UTC]0MM0DD0hh0mm0ssXXX"/> OR <$view field=saved-date format=date 
template="[UTC]DDth mmm  0hh:0mm:0ss"/> Does not apply timezone to saved
-date  , thus treats as if the field is UTC and you want UTC
;In built dates treated specialy, translated to local time
:Serial Date <$list filter="[all[current]get[modified]]">, Modified 
{{!!modified}}
:Serial Date <$list filter="[all[current]get[created]]">, Created 
{{!!created}} 

Regards
Tony

On Thursday, March 21, 2019 at 10:39:05 AM UTC+11, Mark S. wrote:
>
> I was surprised. All the buffered dates show up correctly. I guess the 
> "[UTC]" designation in the format fixes the offset internally.
>
> -- Mark
>
> On Wednesday, March 20, 2019 at 4:02:01 PM UTC-7, TonyM wrote:
>>
>> Mark,
>>
>> The important bit is to set the *title* to the variable.
>>>
>>
>> Yes, as I said this opens many possibilities. As part of my comprehensive 
>> review of dates, I used this hack to produce examples of building a date 
>> from fields/variables and state tiddlers.
>>
>> This should satisfy the Original post, however I am clarifying the 
>> standards to use for reliable dates. The below examples can be further 
>> generalised so one could optionally pass the contents of the wikify text 
>> field as well.
>>
>> \define new-date(format:"[UTC]0MM0DD0") 
>> <$wikify name="date" text="{{!!}}{{!!mm}}{{!!dd}}000" >
>> <$view tiddler=<> field="title" format="date" template="$format$"/>
>> <$wikify>
>> \end
>> \define new-date-vars(format:"[UTC]0MM0DD0") 
>> <$wikify name="date" text="<><><>000" >
>> <$view tiddler=<> field="title" format="date" template="$format$"/>
>> <$wikify>
>> \end
>> \define new-date-state(format:"[UTC]0MM0DD0") 
>> <$wikify name="date" text="{{year}}{{month}}{{day}}000" >
>> <$view tiddler=<> field="title" format="date" template="$format$"/>
>> <$wikify>
>> \end
>>
>>
>> ;Constructed date
>> :Default serial <>
>> :Selected format <>
>> ;Time
>> :<> Shows your time offset because input time 

Re: [tw5] Re: Some help with Tekan Kanban

2019-03-20 Thread Joshua Fontany
Bump.

Tekan/Tekkan is awesome. Definitely interested in seeing this get developed 
more once I wrap up my JSON Tiddlywiki projects.

Best,
Joshua F

-- 
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/dfc159af-bfe8-4ef5-9a58-e848c4d33072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5: Indirect referencing for external files

2019-03-20 Thread Donald Coates
I'd love to see that Mark.

I use the node version because I find it so much better to be able to look 
at and manipulate individual files.  I upload/import the files the normal 
way into the tiddler directory then I have a script for when the server is 
restarted that moves files to their respective folder based on file 
extension and creates a relative link that is put into a reference 
tiddler.  I'd love to just put the file directly into the appropriate 
folder.

Al - are you on a phone or tablet.  I think there is a way to get the node 
version running in android using a server app.  IMO this would be ideal 
because it makes your TW more cross platform.  

Also something like Bob's might work for you with the ability to set file 
folders and to make sub wikis from a main wiki.

On Tuesday, March 19, 2019 at 10:49:02 AM UTC-4, Mark S. wrote:
>
> My memory is kicking in. I realize now that I may never have actually used 
> relative paths on AndTidWiki. I *suspect* hat it might work if you tried it 
> on the real AndTidWiki directory, which is burried under something like 
> Android/data/data/comantidwik/...   The problem is that AndTidWiki is 
> using it's own base path, which is somewhere else entirely, apparently.
>
> What I used to do for images was use a variation of Tobias Bier's ximg 
> macro. My version let you use a drop down list of paths. You select the 
> path you want depending on what platform you are on. Then your images are 
> displayed with a macro:
>
> <>
>
> And the macro applies the correct long path and displays the image. I'm 
> pretty sure I have a version without a drop-down for . In the 
> iframe case, you edit the original macro to set the path (because I was too 
> lazy to write the drop-down part).
>
> I can post the code if you're interested 
>
> Good luck,
> -- Mark
>
> On Tuesday, March 19, 2019 at 3:45:39 AM UTC-7, Al Thorpe wrote:
>>
>> Hi Mark,
>> Thanks for the reply.
>>
>> "When you say "opens in an external window", is this some other app, or 
>> does it offer you a slate of apps to open it with?"
>> This is a video tiddler.  I get a separate window, almost like a pop-up 
>> that the video plays in.  On completion, it drops back to the opened 
>> tiddler which just shows blank. If I edit the tiddler, the link is editable 
>> within the tiddler.  saving the tiddler, retriggers the video.
>>
>>
>> "Part of the question I have is whether AndTidWiki, which started having 
>> problems at Android 4.4, will allow you to use relative paths to 
>> directories that aren't below official public directories. "
>> This is an audio tiddler.  It appears to be a problem with the cannonical 
>> link?  I can put an explicit link in, but relative links don't seem to work 
>> in the same way.
>>
>> "I would try using relative paths with plain image files as a test. Use 
>> the [img[CalamityJane/image.jpg]] or the canonical uri approach and see if 
>> those work. Tho"se used to work, but may not work now. Another way to test 
>> is by using Firefox or Chrome browser to open your TW file. Those browsers 
>> will not be able to save, of course, but they should be able to display 
>> your image if it is possible. "
>> This works ok on firefox but not on Andtidwiki.  I get a broken link icon 
>> on Andtidwiki.
>>
>> "If it is not possible, then you may have to put your ShowWiki directory 
>> inside your public Document or Download folder instead."
>> Do you mean under the Andtidwiki directory? As it is already there?
>>
>> - show quoted text -
>>
>> On Monday, 18 March 2019 21:01:37 UTC, Mark S. wrote:
>>>
>>> If you try your format or my format for the address on a desktop 
>>> platform you'll probably find that it works. If it crashes on Android, it 
>>> probably means that either AndTidWiki or the app it attempted to launch 
>>> crashed, most likely due to a memory shortage.  
>>>
>>> When you say "opens in an external window", is this some other app, or 
>>> does it offer you a slate of apps to open it with?
>>>
>>> Part of the question I have is whether AndTidWiki, which started having 
>>> problems at Android 4.4, will allow you to use relative paths to 
>>> directories that aren't below official public directories. 
>>>
>>> I would try using relative paths with plain image files as a test. Use 
>>> the [img[CalamityJane/image.jpg]] or the canonical uri approach and see if 
>>> those work. Those used to work, but may not work now. Another way to test 
>>> is by using Firefox or Chrome browser to open your TW file. Those browsers 
>>> will not be able to save, of course, but they should be able to display 
>>> your image if it is possible. 
>>>
>>> If it is not possible, then you may have to put your ShowWiki directory 
>>> inside your public Document or Download folder instead.
>>>
>>> Good luck!
>>> -- Mark
>>>
>>> On Monday, March 18, 2019 at 9:40:33 AM UTC-7, Al Thorpe wrote:

 Hi Mark,
 Thanks for the response, sadly that doesn't work.  It doesn't seem to 
 like 

[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread 'Mark S.' via TiddlyWiki
I was surprised. All the buffered dates show up correctly. I guess the 
"[UTC]" designation in the format fixes the offset internally.

-- Mark

On Wednesday, March 20, 2019 at 4:02:01 PM UTC-7, TonyM wrote:
>
> Mark,
>
> The important bit is to set the *title* to the variable.
>>
>
> Yes, as I said this opens many possibilities. As part of my comprehensive 
> review of dates, I used this hack to produce examples of building a date 
> from fields/variables and state tiddlers.
>
> This should satisfy the Original post, however I am clarifying the 
> standards to use for reliable dates. The below examples can be further 
> generalised so one could optionally pass the contents of the wikify text 
> field as well.
>
> \define new-date(format:"[UTC]0MM0DD0") 
> <$wikify name="date" text="{{!!}}{{!!mm}}{{!!dd}}000" >
> <$view tiddler=<> field="title" format="date" template="$format$"/>
> <$wikify>
> \end
> \define new-date-vars(format:"[UTC]0MM0DD0") 
> <$wikify name="date" text="<><><>000" >
> <$view tiddler=<> field="title" format="date" template="$format$"/>
> <$wikify>
> \end
> \define new-date-state(format:"[UTC]0MM0DD0") 
> <$wikify name="date" text="{{year}}{{month}}{{day}}000" >
> <$view tiddler=<> field="title" format="date" template="$format$"/>
> <$wikify>
> \end
>
>
> ;Constructed date
> :Default serial <>
> :Selected format <>
> ;Time
> :<> Shows your time offset because input time 
> is 00:00 ?
> :<>  Assumes date is a UTC time
>
>
> ;Constructed date from variables
> <$vars 
> year=2013
> month=12
> day=15
> >
>
> :Default serial <>
> :Selected format <>
>
> 
>
> ;Constructed date from "state tiddlers"
> ::Default serial <>
> :Selected format <>
>
> If you use the state tiddlers create a year month and day tiddler.
>
> *If someone is in a negative time zone please test, what is the time 
> offset ?*
>
> 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/bea25a9d-4acb-430b-b125-e569e767ff96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread TonyM
The generalised macro.

Observe my outstanding issue, 

   - passing variables in the source parameter, 

*and how good is the mixed version?*

Regards
Tony

\define new-date(format:"[UTC]0MM0DD0",source:
"<><><>000") 
<$wikify name="date" text="$source$" >
<$view tiddler=<> field="title" format="date" template="$format$"/>
<$wikify>
\end


;default from variables
<$vars 
year=2001
month=01
day=01
>


:Default serial <>
:Selected format <>


;I do not know how to pass the source `"<><><>000` yet





;From fields
:State <>
:Selected format <>


;From state
:State <>
:Selected format <>


;From mixed (Without variables)
:State <>
:Selected format <>



-- 
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/6356573d-2578-48a6-9648-5e42ee3c02fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread TonyM
Mark,

The important bit is to set the *title* to the variable.
>

Yes, as I said this opens many possibilities. As part of my comprehensive 
review of dates, I used this hack to produce examples of building a date 
from fields/variables and state tiddlers.

This should satisfy the Original post, however I am clarifying the 
standards to use for reliable dates. The below examples can be further 
generalised so one could optionally pass the contents of the wikify text 
field as well.

\define new-date(format:"[UTC]0MM0DD0") 
<$wikify name="date" text="{{!!}}{{!!mm}}{{!!dd}}000" >
<$view tiddler=<> field="title" format="date" template="$format$"/>
<$wikify>
\end
\define new-date-vars(format:"[UTC]0MM0DD0") 
<$wikify name="date" text="<><><>000" >
<$view tiddler=<> field="title" format="date" template="$format$"/>
<$wikify>
\end
\define new-date-state(format:"[UTC]0MM0DD0") 
<$wikify name="date" text="{{year}}{{month}}{{day}}000" >
<$view tiddler=<> field="title" format="date" template="$format$"/>
<$wikify>
\end


;Constructed date
:Default serial <>
:Selected format <>
;Time
:<> Shows your time offset because input time is 
00:00 ?
:<>  Assumes date is a UTC time


;Constructed date from variables
<$vars 
year=2013
month=12
day=15
>

:Default serial <>
:Selected format <>



;Constructed date from "state tiddlers"
::Default serial <>
:Selected format <>

If you use the state tiddlers create a year month and day tiddler.

*If someone is in a negative time zone please test, what is the time offset 
?*

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/b66cbca2-1c35-499c-ba0a-c5caf2bbd5e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread 'Mark S.' via TiddlyWiki
The important bit is to set the *title* to the variable.

On Wednesday, March 20, 2019 at 3:15:41 PM UTC-7, TonyM wrote:
>
> Mark and ss
>
> Good find. So we can say to feed a value into the view template for 
> formatting you set the tiddler to that value?
>
> this may be a way to feed other variables into other widgets that do not 
> accept variables.
>
> Good hack tip.
>
> 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/be80708b-158d-41d3-b2ad-1e6f1179de1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread TonyM
Mark and ss

Good find. So we can say to feed a value into the view template for formatting 
you set the tiddler to that value?

this may be a way to feed other variables into other widgets that do not accept 
variables.

Good hack tip.

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/4997e99f-398f-4a67-b986-98fd6e3caa11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki .md Files

2019-03-20 Thread stefano franchi
You may want to consider that transclusion and  double bracket linking do
not work in MD (AFAIK). The former was a killer for me and I switched back
to TW text.

Cheers,

S.

On Wed, Mar 20, 2019 at 5:06 AM talha131  wrote:

> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To 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/b3f2bc24-08ad-401c-b584-554db4766ed8%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org

-- 
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/CAJODLwaeVx%3D6%3DpPS_BijwAe0DDc5WS%3DSg50zi62wzOUjFcMoVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Refnotes plugin

2019-03-20 Thread Olegh Bondarenko
Thanks, Mohammad,
I'll definitely give my feedback shortly.
Olegh Bondarenko
http://bit.ly/OleghBond





ср, 20 бер. 2019 о 21:29 Mohammad  пише:

> Dear all,
>  I am pleased to announce a new release of Refnotes. This release is
> published in collaboration with Mark S.
>
> The new release includes
>
>- A new macro to create table of references
>- An extensive documentation
>- Demos and helps
>- Improved find macro
>
> I appreciate your feedback.
>
> Best regards
> Mohammad
>
>
> See the original post:
> https://groups.google.com/d/msg/tiddlywiki/HLru0XFEnyI/awlXB3kkDwAJ
>
> --Mohammad
>
> Demo and documentation: https://kookma.github.io/Refnotes/
> Code: https://github.com/kookma/Refnotes
>
> --
> 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/HLru0XFEnyI/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/2fa9d117-c76c-4b7c-b723-90d5e6fb4592%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/CAERWQ8nQMPHAqMaeGy3pWSWA7tyt8AAuvnkgcn0DJ23zSg3wAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Refnotes plugin

2019-03-20 Thread Mohammad
Dear all,
 I am pleased to announce a new release of Refnotes. This release is 
published in collaboration with Mark S.

The new release includes

   - A new macro to create table of references
   - An extensive documentation
   - Demos and helps
   - Improved find macro

I appreciate your feedback.

Best regards
Mohammad


See the original post: 
https://groups.google.com/d/msg/tiddlywiki/HLru0XFEnyI/awlXB3kkDwAJ

--Mohammad

Demo and documentation: https://kookma.github.io/Refnotes/
Code: https://github.com/kookma/Refnotes

-- 
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/2fa9d117-c76c-4b7c-b723-90d5e6fb4592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Changing Tab behaviour

2019-03-20 Thread eijnuhs
Hello, I am wondering if its possible to change the behaviour of the "Tab" 
button?
Currently, it just moves between fields but I would prefer it to insert a 
tab space.

After digging around, only found an older post 

 which 
mentions
 

>  http://tiddlywiki.org/wiki/Persistent_Options
>
> >
>  
> - change of theme to 'bleach'
> > - use tab to move between fields rather than enter a tab space
> As per the article above, use the following:
>  config.options.txtTheme = "bleach";
>  config.options.chkInsertTabs = false;


The referenced post probably refers to the classic tiddlywiki.
Are there similar options in TW5 ? If so, how can I change 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/66e33686-6b4b-43e8-8a36-5a515015e2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread S. S.

Mark, that's AMAZING!

<$set name="date" value="20190317000">
<$view tiddler=<> field="title" format="date" template="[UTC] DDD 
DDth MMM "/>
<$set>

Result:  *Sunday 17th March 2019*

And it matters not if there is a tiddler titled: 20190317000

Thank you so much.

Cheers.


On Wednesday, March 20, 2019 at 9:55:56 PM UTC+7, Mark S. wrote:
>
> Just looking at the view widget code. There's a loophole that will allow 
> you to display a utc date:
>
> <$list filter="201901010" >
> <$view field="title" format="date"/>
> 
>
> This works as long as there is no actual tiddler "201901010" . 
> Actually, maybe it works even if there is, but I didn't test that. You 
> could work this into a macro where the UTC date gets passed to the filter.
>
> Keep in mind, that your padding approach will give an incorrect output if 
> you live west of GMT.
>
> --Mark
>
> On Sunday, March 17, 2019 at 6:33:41 AM UTC-7, S. S. wrote:
>>
>>
>> People like to keep dates in fields in different ways.
>>
>> Normal people use *17-03-2019* or *17/03/2019*
>>  Others use *03-17-2019* or *03/17/2019*
>> Smart ones  use *2019-03-17* or *2019/03/17*
>> The smartest   use *20190317* but it not natural to type in a date this 
>> way, and it is very difficult for *the mind* to "*parse*" & "*render*"
>>
>> To refer to just a year, or a month of the year, or a specific day, all 
>> my dates are in 3 formats:
>> Today: 2019-03-17
>> This month: 2019-03
>> This year: 2019
>>
>> To convert my dates auto to the default 17 character TiddlyWiki format: 
>> MMDDHHMMSSXXX
>> was a real pain for me. I managed to do it with a (very painful for me to 
>> have made) *<>* macro.
>>
>> The macro takes any of the above 3 formats and AUTO converts:
>>
>> 2019   to 201901010
>> 2019-03  to 201903010
>> 2019-03-17 to 201903170
>>
>> Then comes the next problem. How do I display this?
>> I can't use the <$view> widget, because that can only take input from a 
>> *Field*, and my {{!!date-field}} is not in the right format. Only my 
>> variable holds the acceptable format.
>>
>> So what's a good way to display a variable holding 201903170 as: 
>> *Sunday 
>> 17th March 2019*
>>
>> Something like: 
>>
>> *<$text text=<> format="date" template="[UTC] DDD 
>> DDth MMM "/>*Thanks
>> *.*
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/423cfcf1-e547-40e7-a96f-6a6154d0def4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread Mohammad
Hi admls,
 Sure I will comment on GitHub!


On Wednesday, March 20, 2019 at 6:18:11 PM UTC+3:30, admls wrote:
>
> Hi @Mohammad,
>
> Many thanks on this admls. Please do not forget to have a look at 
> w3.org (https://www.w3.org/TR/css-scroll-snap-1/)
>
>
> Are you referencing this in connection to getting the volant tiddlers to 
> snap to the side/top/bottom or is this a different feature you're looking 
> for? I'm sorry, I don't entirely understand what you're getting at. Could 
> you give me a description?
>
>
This is the same! Snap to side, top, bottom! 

Best
Mohammad
 

> Also could you raise this as an issue on github if you have a github 
> account? This thread is just starting to get cluttered.
> Here's the repo:
> https://github.com/admls/Mentat
>
> Hi @Tony,
>
> all for maximise, if you have a restore or intermediate window size so on 
>> multi screen as maximise would consume both screens.
>>
>
> Maximize with volant would probably be similar to the way it is for 
> Mentat. In mentat, you can maximize and restore down window tiddlers. You 
> can also easily configure the location and dimensions of maximized windows. 
> Just open $:/plugins/admls/mentat/config/set-maximized-values, position it 
> (default volant functionality must be enabled), and hit the button. Then 
> you can close that tiddler and any window you maximize will be maximized to 
> that position. You can then hit restore down and it will return to its 
> previous position. You can only have one maximized tiddler at a time 
> however. 
>
> In any case, you can set the maximized values to occupy just one screen. 
> Any window you maximize will end up there.
>
> However if I have tiddlers tagged as windows, but not in mentat view the 
>> story river is as wide as the three screens (less the sidebar if displayed).
>>
>> It would be nice to be able to limit this width to one screen or less so 
>> we can see both the left and right hand side of the story tiddlers in that 
>> screen and leave the rest as a playground for other window tiddlers.
>>
>
> I just wanted to return to this issue you raised earlier. Mentat is 
> intended to completely encapsulate all the other storyviews. If you are in 
> mentat storyview, you can have your main story river in one window tiddler, 
> and position that window to fill one monitor viewport. This will leave the 
> other monitors open for whatever you want. You can archive your main story 
> window in the mentat tab and return to it later. Or you can archive the 
> layout or session to be able to switch to them quickly. In the mentat 
> config, you can set the default storyview (classic, pop, zoomin) that will 
> take place in new windows you create.
>
> If you have Engine engaged as well, you can have the $:/Sidebar tiddler 
> positioned wherever you see fit. The most basic configuration in Mentat 
> would be one fullscreen window tiddler with the $:/Sidebar tiddler open to 
> the side. This pretty much replicates the default page template.
>
> Best wishes,
>
> admls
>
>

-- 
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/ed112350-3f50-437f-81cf-c4d88ef6b4f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question of rendering

2019-03-20 Thread Mohammad
Mario,
 Many thanks for clarifications!

Best
Mohammad


On Wednesday, March 20, 2019 at 6:31:59 PM UTC+3:30, PMario wrote:
>
> On Wednesday, March 20, 2019 at 1:16:36 PM UTC+1, Mohammad wrote:
>>
>> Hello Mario,
>>  Thank you! when you say the hidden part is removed from DOM, does it 
>> mean the script inside the ELSE-part will not be run? In other words, if 
>> retain is set to no (default) and content is hidden, does still TW process 
>> that script?
>>
>
> If retain is set to "no" (default), the "script" will not be calculated.
>  
>
>> I think in TW, most of the case rendering process is the most time 
>> consuming process, if so I should not worry about cpu time TW needs to 
>> calculate the hidden part
>>
>
> Calculating the hidden part and rendering is the same thing here. 
>  
>
>> -by rendering I mean to calculate and display the results
>>
>
> calculating the content is expensive. Displaying the result goes with 
> browsers maximum speed. 
>
> The main point is. If you calculate the whole list of ALL tiddlers in the 
> hidden section it will cause a delay. 
> If you show a list of eg: 30 tiddlers users probably won't recognize the 
> difference. 
>
> -mario
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/9bc60fee-c827-4e20-b9fa-27d98953f515%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question of rendering

2019-03-20 Thread PMario
On Wednesday, March 20, 2019 at 1:16:36 PM UTC+1, Mohammad wrote:
>
> Hello Mario,
>  Thank you! when you say the hidden part is removed from DOM, does it mean 
> the script inside the ELSE-part will not be run? In other words, if retain 
> is set to no (default) and content is hidden, does still TW process that 
> script?
>

If retain is set to "no" (default), the "script" will not be calculated.
 

> I think in TW, most of the case rendering process is the most time 
> consuming process, if so I should not worry about cpu time TW needs to 
> calculate the hidden part
>

Calculating the hidden part and rendering is the same thing here. 
 

> -by rendering I mean to calculate and display the results
>

calculating the content is expensive. Displaying the result goes with 
browsers maximum speed. 

The main point is. If you calculate the whole list of ALL tiddlers in the 
hidden section it will cause a delay. 
If you show a list of eg: 30 tiddlers users probably won't recognize the 
difference. 

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/da9b3f9f-15e9-47cf-8026-e932a65939a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread 'Mark S.' via TiddlyWiki
Just looking at the view widget code. There's a loophole that will allow 
you to display a utc date:

<$list filter="201901010" >
<$view field="title" format="date"/>


This works as long as there is no actual tiddler "201901010" . 
Actually, maybe it works even if there is, but I didn't test that. You 
could work this into a macro where the UTC date gets passed to the filter.

Keep in mind, that your padding approach will give an incorrect output if 
you live west of GMT.

--Mark

On Sunday, March 17, 2019 at 6:33:41 AM UTC-7, S. S. wrote:
>
>
> People like to keep dates in fields in different ways.
>
> Normal people use *17-03-2019* or *17/03/2019*
>  Others use *03-17-2019* or *03/17/2019*
> Smart ones  use *2019-03-17* or *2019/03/17*
> The smartest   use *20190317* but it not natural to type in a date this 
> way, and it is very difficult for *the mind* to "*parse*" & "*render*"
>
> To refer to just a year, or a month of the year, or a specific day, all my 
> dates are in 3 formats:
> Today: 2019-03-17
> This month: 2019-03
> This year: 2019
>
> To convert my dates auto to the default 17 character TiddlyWiki format: 
> MMDDHHMMSSXXX
> was a real pain for me. I managed to do it with a (very painful for me to 
> have made) *<>* macro.
>
> The macro takes any of the above 3 formats and AUTO converts:
>
> 2019   to 201901010
> 2019-03  to 201903010
> 2019-03-17 to 201903170
>
> Then comes the next problem. How do I display this?
> I can't use the <$view> widget, because that can only take input from a 
> *Field*, and my {{!!date-field}} is not in the right format. Only my 
> variable holds the acceptable format.
>
> So what's a good way to display a variable holding 201903170 as: 
> *Sunday 
> 17th March 2019*
>
> Something like: 
>
> *<$text text=<> format="date" template="[UTC] DDD 
> DDth MMM "/>*Thanks
> *.*
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/4020f71f-856c-4e75-8b75-bd5731d9640c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread admls
Hi Everybody,

Here's the repo where you can raise these issues/bugs/feature requests on 
github: https://github.com/admls/Mentat

Sorry I neglected to post that earlier.

It would really help me if you could raise issues over there. This thread 
is getting bloated and it is sort of difficult to keep track of the 
separate issues, let alone reply to them separately. So please, if you have 
already raised an issue or a bug, or if you have any new issues or bugs or 
feature requests (and you have a github account), raise the issue on 
https://github.com/admls/Mentat

Best wishes,

admls



-- 
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/b195a89e-acbb-4a4b-b5e7-1bede6a3d612%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread admls
Hi @Mohammad,

Many thanks on this admls. Please do not forget to have a look at 
w3.org (https://www.w3.org/TR/css-scroll-snap-1/)


Are you referencing this in connection to getting the volant tiddlers to 
snap to the side/top/bottom or is this a different feature you're looking 
for? I'm sorry, I don't entirely understand what you're getting at. Could 
you give me a description?

Also could you raise this as an issue on github if you have a github 
account? This thread is just starting to get cluttered.
Here's the repo:
https://github.com/admls/Mentat

Hi @Tony,

all for maximise, if you have a restore or intermediate window size so on 
> multi screen as maximise would consume both screens.
>

Maximize with volant would probably be similar to the way it is for Mentat. 
In mentat, you can maximize and restore down window tiddlers. You can also 
easily configure the location and dimensions of maximized windows. Just 
open $:/plugins/admls/mentat/config/set-maximized-values, position it 
(default volant functionality must be enabled), and hit the button. Then 
you can close that tiddler and any window you maximize will be maximized to 
that position. You can then hit restore down and it will return to its 
previous position. You can only have one maximized tiddler at a time 
however. 

In any case, you can set the maximized values to occupy just one screen. 
Any window you maximize will end up there.

However if I have tiddlers tagged as windows, but not in mentat view the 
> story river is as wide as the three screens (less the sidebar if displayed).
>
> It would be nice to be able to limit this width to one screen or less so 
> we can see both the left and right hand side of the story tiddlers in that 
> screen and leave the rest as a playground for other window tiddlers.
>

I just wanted to return to this issue you raised earlier. Mentat is 
intended to completely encapsulate all the other storyviews. If you are in 
mentat storyview, you can have your main story river in one window tiddler, 
and position that window to fill one monitor viewport. This will leave the 
other monitors open for whatever you want. You can archive your main story 
window in the mentat tab and return to it later. Or you can archive the 
layout or session to be able to switch to them quickly. In the mentat 
config, you can set the default storyview (classic, pop, zoomin) that will 
take place in new windows you create.

If you have Engine engaged as well, you can have the $:/Sidebar tiddler 
positioned wherever you see fit. The most basic configuration in Mentat 
would be one fullscreen window tiddler with the $:/Sidebar tiddler open to 
the side. This pretty much replicates the default page template.

Best wishes,

admls

-- 
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/b6047908-ebce-49ff-ab2a-9f88836f7eb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread TonyM
S S,

Given this reoccurring issue I am taking a deep dive into dates and UTC as 
I did previously with the days operator. I have gained a much deeper 
understanding and will share the results shortly (80% completed)

The aforementioned inability to convert a variable to a date is clearly a 
hindrance, for which I expect to find a work around, 
However I can state that getting dates into the full serial date format, 
and as a UTC value (as in the created and modified fields) is the best 
approach because all tiddlywikis date support goes from there.
If you accept a day month or year and save them in three fields, you can 
then use a macro to concatenate them and generate a serial date, 

The next thing to establish is then how to save it as UTC rather than local 
time so when you use it it will use the local time to display it.

I have used search and prefix in the past to list dates, so I need to work 
out how to adjust local time to to UTC before searching.

I will share more tomorrow ie <+12 hours.

Regards
Tony



On Monday, March 18, 2019 at 12:33:41 AM UTC+11, S. S. wrote:
>
>
> People like to keep dates in fields in different ways.
>
> Normal people use *17-03-2019* or *17/03/2019*
>  Others use *03-17-2019* or *03/17/2019*
> Smart ones  use *2019-03-17* or *2019/03/17*
> The smartest   use *20190317* but it not natural to type in a date this 
> way, and it is very difficult for *the mind* to "*parse*" & "*render*"
>
> To refer to just a year, or a month of the year, or a specific day, all my 
> dates are in 3 formats:
> Today: 2019-03-17
> This month: 2019-03
> This year: 2019
>
> To convert my dates auto to the default 17 character TiddlyWiki format: 
> MMDDHHMMSSXXX
> was a real pain for me. I managed to do it with a (very painful for me to 
> have made) *<>* macro.
>
> The macro takes any of the above 3 formats and AUTO converts:
>
> 2019   to 201901010
> 2019-03  to 201903010
> 2019-03-17 to 201903170
>
> Then comes the next problem. How do I display this?
> I can't use the <$view> widget, because that can only take input from a 
> *Field*, and my {{!!date-field}} is not in the right format. Only my 
> variable holds the acceptable format.
>
> So what's a good way to display a variable holding 201903170 as: 
> *Sunday 
> 17th March 2019*
>
> Something like: 
>
> *<$text text=<> format="date" template="[UTC] DDD 
> DDth MMM "/>*Thanks
> *.*
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/b7f49de8-e8f7-4f3a-be44-7b529e2b798e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread TonyM
Admls,

all for maximise, if you have a restore or intermediate window size so on multi 
screen as maximise would consume both screens.

 Great work
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/3a60e476-80ea-42fa-952e-220bf35d53c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: My DATE is misbehavin'

2019-03-20 Thread S. S.
Mark,

Don't we already have all the javascript code we need in: 
$:/core/modules/utils/utils.js 


exports.formatDateString = function(date,template) {
etc.

I wish the *<$text>* widget could be extended for date formats, or perhaps 
the *<$view>* widget extended to not just display field contents, but also 
variable contents.

It's quite frustrating dealing with *normal readable* dates.


On Tuesday, March 19, 2019 at 10:29:51 PM UTC+7, Mark S. wrote:
>
> I think this might require a JS macro. I'm thinking of a version of the 
> "now" macro that takes a date parameter (in your own date format).
>
> Note that padding a date the way you have will lead to a wrong displayed 
> date unless you live very close to, or west of GMZ 0 . If you live in 
> timezone TMZ -8, for instance, your 2019010100 date would present a 
> date of 12/31/2018.  A JS macro could, of course, create a date stamp 
> offset from the date you give so the output is correct for your timezone.
>
> A lot of people seem to think that using a JS macro is somehow inferior to 
> using core macros and widgets, so I'm waiting to see if anyone comes up 
> with a clever way of displaying  dates without using JS.
>
> -- Mark
>
> On Sunday, March 17, 2019 at 6:33:41 AM UTC-7, S. S. wrote:
>>
>>
>> People like to keep dates in fields in different ways.
>>
>> Normal people use *17-03-2019* or *17/03/2019*
>>  Others use *03-17-2019* or *03/17/2019*
>> Smart ones  use *2019-03-17* or *2019/03/17*
>> The smartest   use *20190317* but it not natural to type in a date this 
>> way, and it is very difficult for *the mind* to "*parse*" & "*render*"
>>
>> To refer to just a year, or a month of the year, or a specific day, all 
>> my dates are in 3 formats:
>> Today: 2019-03-17
>> This month: 2019-03
>> This year: 2019
>>
>> To convert my dates auto to the default 17 character TiddlyWiki format: 
>> MMDDHHMMSSXXX
>> was a real pain for me. I managed to do it with a (very painful for me to 
>> have made) *<>* macro.
>>
>> The macro takes any of the above 3 formats and AUTO converts:
>>
>> 2019   to 201901010
>> 2019-03  to 201903010
>> 2019-03-17 to 201903170
>>
>> Then comes the next problem. How do I display this?
>> I can't use the <$view> widget, because that can only take input from a 
>> *Field*, and my {{!!date-field}} is not in the right format. Only my 
>> variable holds the acceptable format.
>>
>> So what's a good way to display a variable holding 201903170 as: 
>> *Sunday 
>> 17th March 2019*
>>
>> Something like: 
>>
>> *<$text text=<> format="date" template="[UTC] DDD 
>> DDth MMM "/>*Thanks
>> *.*
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/1ccb928c-0885-48e9-b190-cbde7d37e1a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question of rendering

2019-03-20 Thread Mohammad
Hello Mario,
 Thank you! when you say the hidden part is removed from DOM, does it mean 
the script inside the ELSE-part will not be run? In other words, if retain 
is set to no (default) and content is hidden, does still TW processes that 
script?

I think in TW, most of the case rendering process is the most time 
consuming process, if so I should not worry about cpu time TW needs to 
calculate the hidden part

-by rendering I mean to calculate and display the results
-by calculating, I mean to process the script like finding a prime number 
(time consuming) but do not display the number

--Mohammad


On Wednesday, March 20, 2019 at 3:24:01 PM UTC+3:30, PMario wrote:
>
> Hi Mohammad,
>
> Have a look here: https://tiddlywiki.com/#RevealWidget  Especially the retain 
> parameter. 
>
> TW has to calculate the condition for both widgets, _but_ the hidden 
> elements are removed from the DOM, by default. So if the content is hidden, 
> It won't cause any performance impact, since the DOM is empty. 
>
> hope that helps
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/745407b9-7367-4131-9430-285f15bd6bb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question of rendering

2019-03-20 Thread PMario
Hi Mohammad,

Have a look here: https://tiddlywiki.com/#RevealWidget  Especially the retain 
parameter. 

TW has to calculate the condition for both widgets, _but_ the hidden 
elements are removed from the DOM, by default. So if the content is hidden, 
It won't cause any performance impact, since the DOM is empty. 

hope that helps
-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/1394469f-fbbc-477e-a870-eb8dc62b9c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] A question of rendering

2019-03-20 Thread Mohammad
I use frequently the $reveal widget to do conditional operations within s 
macros. For example in the below macro I have two parts, one part with 
match criteria (say IF-part) and one part with nomatch criteria (say 
ELSE-part)

\define myMac(a:"Empty")
<$reveal type="nomatch" text="Empty" default=<<__a__>> >
do calculations
.
.

<$reveal type="match" text="Empty" default=<<__a__>> >
do another calculations
.
.

.
.
.
\end


My question is: 

 Does Tiddlywiki performs the calculation in both parts and only shows the 
part meets the criteria?
I want to know what is the performance impact and what is the best solution 
here?

If TW calculates both parts, but only shows the correct part, does it means 
no rendering is done in the part is not displayed!

-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/93e13702-08b5-4f57-894c-1a81dcb71e5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki .md Files

2019-03-20 Thread talha131
Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/b3f2bc24-08ad-401c-b584-554db4766ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki .md Files

2019-03-20 Thread Jeremy Ruston
Hi Talha131

> Jeremy does this mean if I have
> 
> "plugins": [
> "tiddlywiki/markdown"
> ]
> In my tiddlywiki.info file then I don’t need to drag and drop markdown plugin 
> from here https://tiddlywiki.com/plugins/tiddlywiki/highlight/ 
> 
> If so then is there a list of plugins and themes that can be added in this 
> way?
> 
You can add any plugins from the TW5 repo. The plugin library in control panel 
shows the titles of plugins as $:/plugins/tiddlywiki/codemirror; you just need 
the “tiddlywiki/codemirror” part in the tiddlywiki.info 
 file.

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/ec43d116-7ee9-4a53-b1e9-0ec37f0c5791%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/B4DA419E-E4AF-4B2E-AF79-6C3641B961FA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki .md Files

2019-03-20 Thread talha131


Jeremy does this mean if I have 

"plugins": [
"tiddlywiki/markdown"
]

In my tiddlywiki.info file then I don’t need to drag and drop markdown 
plugin from here https://tiddlywiki.com/plugins/tiddlywiki/highlight/

If so then is there a list of plugins and themes that can be added in this 
way?
​

-- 
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/ec43d116-7ee9-4a53-b1e9-0ec37f0c5791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] How to escape backtick in tiddly wiki markup?

2019-03-20 Thread talha131
Thank you all.

-- 
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/a8ecd79b-7946-474e-9208-d7870285d7f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to escape backtick in tiddly wiki markup?

2019-03-20 Thread Ton Gerner
Hi,

Try:



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/4e2dee2a-f76d-416a-9161-6d32d81e016a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] How to escape backtick in tiddly wiki markup?

2019-03-20 Thread Jeremy Ruston
Hi Talha131

> How do I escape backtick ` in tiddly wiki markup?
> 
In most situations you can use the equivalent HTML entity:



Best wishes

Jeremy.


> I have tried ` but it didn’t work.
> 
> In Markdown double backticks do the trick 
> , like
> 
> 
> ``foo` `` produces foo`
> What’s the equivalent for tiddly wiki?
> 
> 
> -- 
> 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/1967e715-133c-4afe-8d0d-6e1d74270307%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/12CEE302-469B-4290-B312-078083C261B1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to escape backtick in tiddly wiki markup?

2019-03-20 Thread talha131


How do I escape backtick ` in tiddly wiki markup?

I have tried ` but it didn’t work.

In Markdown double backticks do the trick 
, like 


``foo` `` produces foo`

What’s the equivalent for tiddly wiki?
​

-- 
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/1967e715-133c-4afe-8d0d-6e1d74270307%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread Mohammad

>
>
> Hi @Mohammad,
>
> I was just planning on adding some hooks to the main plugins and then 
> hooking in with addons. The mechanism you linked to is really fascinating. 
> I'll have to give it a more thorough look.
>
> I think the snap idea is great. It shouldn't be hard to add the minimal 
> snap behaviors. Some of the more complex stuff will be trickier.
>
> Many thanks on this admls. Please do not forget to have a look at w3.org 
(https://www.w3.org/TR/css-scroll-snap-1/)

One more news:

Right now I am using Volant with Tiddlywshow app, a Tiddlywiki presentation 
app and Volant let me to have a slideshow control panel
in the second monitor, while I am presenting the slides in the first 
monitor. Thanks a million admls. 

I will publish a new Tiddlyshow update using Volant later on and will 
notify you!

Cheers
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/c2bd5096-845c-4dec-a00f-c32bbb593397%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Announcing 4 New Plugins (sort of)

2019-03-20 Thread admls
Hi @TiddlyTweeter,

I originally came to TW as a solution for writing as well. In a lot of 
ways, that has driven the development of Mentat. Like you say, it still has 
a ways to go. But It would be great to get your feedback throughout the 
process.

Hi @Mohammad,

I was just planning on adding some hooks to the main plugins and then 
hooking in with addons. The mechanism you linked to is really fascinating. 
I'll have to give it a more thorough look.

I think the snap idea is great. It shouldn't be hard to add the minimal 
snap behaviors. Some of the more complex stuff will be trickier.

Hi @BTC,

I forgot to link to the repository!! https://github.com/admls/Mentat

Hi @Jan,

I think some of the editing problems will go away when maximize is added to 
volant. You'll be able to quickly maximize the tiddler to edit, then return 
it to its normal size.

$:/VolantAbsolute needs a lot of love. I've basically been focusing on the 
fixed $:/Volant functionality. But extended $:/VolantAbsolute functionality 
is coming.

I haven't experienced the resizing issues, but making the button bigger on 
hover sounds like a good idea. I'll check it out.


Best wishes,

admls


-- 
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/e5692227-bec2-46af-8a26-0c0f71da74bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TonyM - Sharing current thoughts and activities in TiddlyWiki

2019-03-20 Thread TonyM
hp03,

Thanks for your response, I will work through all your ideas in time.. 

Without going in too far I would first point out, I use Bob especially 
bobWin.exe and it is fantastic. You are correct it sits on top of node, 
it's only single file handling is that you can save a wiki out as a single 
file.

However currently for me, Bob excels on a local network, or if you have an 
ISP type connection to the internet. Your single file wikis can be 
generated from tiddlers in one or more node wikis, and similar. And whilst 
I have succeeded on hosting an Internet side NodeJS server, not yet with 
Bob as well, hosting a nodejs server on the internet has some risks.

Personally I am developing tiddlywiki to allow "Smart Documents" which can 
be exchanged like a word Document, a survey etc.. or Hosted online using 
any HTML host. The single file wiki is ideal for this, just place the file 
online and give someone a link to it. 

It gets more complicated if more than one editor has update/save rights, 
because I could overwrite your changes, if not the whole wiki if we try and 
do something at the same time. 

I believe strongly I now have the method / techniques and Algorithms to 
open single file wikis to a multiple editor environment. 

   - The Trick is to enable serial editing (you then me, me then you - but 
   not at the same time) The check in, check out method.
   - However I have come to realise this can be replaced with a "commit 
   process" where the check in, check out method is reduced to a short commit 
   time.

My current practice

   - Currently I host savable wikis using tw-receiver and PHP, it comes 
   with a backup process.
   - I plan to have this working with LAN/File Share/SharePoint hosted 
   wikis as well.
   - My serial editor system leverages the local storage plugin (in 
   pre-release only), this could be enhanced to have tiddler versions as is 
   already implemented in NoteSelf.

Rather than permit multiple tabs I am opening the same wiki in the same 
browser tab, so as long as there are no outstanding saves (to local 
storage) exist, there is little or no chance you will have the same wiki 
open in more than one tab. Also if you came at the same wiki from another 
browser you would have to check it out or commit changes again.

This should be browser and saver independent but you will need a saver, and 
shared host and these need to be browser independent.

I believe it is simple to minimise the "risks" with local storage allowing 
changes to be saved to disk, or whole wiki, even without a checkout in 
place, local storage would only contain unsaved/commited changes and 
recoverable User settings. Local storage allows us to carry changes from 
one load of your wiki to another as well.

Regards
Tony

On Wednesday, March 20, 2019 at 2:56:14 PM UTC+11, h0p3 wrote:
>
> * https://groups.google.com/forum/#!topic/tiddlywiki/4aCyZ3FAq9U
> * 
> https://philosopher.life/#2019.03.19%20-%20TWGGF%3A%20TonyM's%20Current%20Activities
>
> Hey TonyM! 
>
> Wow! You are working on so much. It's intense. I may not fully understand 
> all of it (sorry, I'm slow, and I'm not an expert or an IT pro). One thing, 
> in particular, has caught my eye:
>
> <<<
> ''I am working on a method to allow a TiddlyWiki multiple user editors''
>  
> This is when more than one person has update access to the same wiki file
> I am using the following to enable this 
>
> * the local storage plugin
> * A Save reload and save mechanism
> ** using Startup actions
> * Possibly the innerwiki plugin
> * Possibly a tiddler encryption step
> <<<
>
> I know you are wildly more effective in using TW and Bob. I probably have 
> an overly narrow use of Bob (especially since I try to maintain a single 
> wiki). I use Bob because it allows multiple devices and browsers/tabs per 
> device to edit the same wiki. Sometimes I need multiple windows into my 
> wiki, and Bob is the only tool I've found which enables it. I've also been 
> trying to find ways to make use of the 2-way sync between browser and 
> filesystem, but I've shockingly found it unnecessary so far.
>
> I am grateful for the opportunity to use Bob. It's changed my life (and I 
> practically live in my wiki). It is my uneducated opinion that singlefile 
> tiddlywiki is the best scaling and highest performing option by miles. My 
> experience gets bogged down when I use Bob (and I assume nodejs is the 
> culprit). With a large enough wiki, it's slow, and I even have plugins that 
> only work in singlefile. It seems hard to beat the browser's engine with a 
> singlefile. 
>
> * I'm just checking to make sure I understand: your approach will enable 
> multiple devices and multiple tabs, right?
> ** As in: I can have multiple stories rivers going, and that's fine. It 
> just won't update in my browser so I have to generally only have a 
> particular tiddler open in only one tab at a time, right?
> * Beyond what may be race conditions, do you foresee any concerns with 
>