[tw5] Re: [TW5] Bob and BobEXE version 1.3.0, Tofurky, file server and wiki management updates

2019-10-11 Thread TonyM
Jed,

Thanks again for you development of Bob. I think a lot of users will 
benefit from the 0.0.0.0 setting as a quick enable of lan accessible wikis, 
this being a key feature of a server implementation on tiddlywiki. Bob exe 
is the easiest way (at least I know on windows) to enable a server, so by 
introducing this I think you make bob open to more users. I do think there 
is more that can be done to document Bob better, with a little less jargon, 
but it is understandable this is not so straightforward, given the broad 
number of features bob enables.

Since I use multiple servers on my desktop from apache, TiddlyServer, 
TiddlyDestop, Vanilla node and Bob I need to manage this more than others. 
As a result I discovered how easy it is to install additional IP addresses 
on my WIndows 10, and I now host bob on one of these additional addresses, 
as a result I do not want to use the 0.0.0.0 shortcut.

I have it working, now I can access bob on the lan at 192.168.1.80 (no port 
specified) and even at a local DNS name bob.local

"serverlnfo": {
"host": "192.168.1.84",
"ipAddress": "192.168.1.84", 
"port": "80"
}

"ws-server": {
"host": "192.168.1.84", 
"port": "80" 
}

This seems to be working for me, But I am a little confused about the need 
to set 192.168.1.84 in three places. 

   - Could you provide a little more info on the difference between 
   serverInfo and ws-server, and host vs IP address?
   - Also when I run bob exe it still opens 127.0.0.1 in the browser 
   window, how can I change this address please?


Thanks in advance
Tony

On Saturday, October 12, 2019 at 9:17:40 AM UTC+11, Jed Carty wrote:
>
> I have done some bug fixes and a lot of ui improvements so that features 
> that have been available in Bob for a long time are easier to set up and 
> use.
>
> The biggest things are toggling access to the wikis from the local 
> network, setting up the local file server for media, serving files from 
> multiple folders, setting up the server images plugin, and an interface to 
> let you scan a folder for media files, add that folder to the list of 
> folders served by the file server and create _canonical_uri tiddlers for 
> each file in a wiki.
>
> There are also some other ui improvements, the dirty indicator should 
> actually indicate if there are unsaved changes or not now, there is a 
> warning if you open a wiki that isn't able to establish a web socket 
> connection to the server and the persistent questions from the browser 
> about if you want to close the tab or not may actually be taken care of now.
>
> There is also a chat interface that works with both local and federated 
> chat. Connecting to remote servers for the federated part is not 
> particularly simple for the moment, but I didn't feel like removing the 
> interface from everything for the release. So have fun.
>
> The plugin version of Bob is on GitHub here: 
> https://github.com/OokTech/TW5-Bob
> The newest version of BobEXE is available here: 
> https://github.com/OokTech/TW5-BobEXE/releases
>
> If you want to support the development OokTech has a patreon page here 
> https://www.patreon.com/OokTech
> or if you prefer there is a link for PayPal here 
> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick_button_id=ZG94CTLHTKYRE
>
> The full changelog is here:
>
> !! Version 1.3.0 Tofurkey
>
> * maybe actually set the SaverFilter tiddler correctly
> * start documentation on inter-server federation and syncing
> * Add local chat
> ** different people using the same wiki served by a Bob server can have a 
> real-time chat.
> * Add federated chat
> ** People on different servers can chat with each other
> ** Limited utility due to server discoverability and NAT shenanigans
> * Hopefully fix the problems with saving .tid files that have unsorted tags
> * split out routes into separate files
> ** this may allow doing things like enabling the file server without 
> restarting the server.
> * Started a hopefully better interface for federated things.
> * Add some advanced settings
> ** local message queue timeout
> ** federated message queue timeout
> ** saveTiddlerDelay
> * Added a server route for uploading files.
> ** The browser hook is still in the ServerImages plugin, I may move it 
> into Bob later.
> * Add a warning that the wiki hasn't connected to the server at startup
> ** the warning goes away as soon as the wiki connects to the server
> * The dirty indicator is changed to show dirty when there are messages in 
> the send queue and clean when the queue is empty.
> * The resync has been modified, it may work inconsistently
> * Added easier way to turn on/off serving on the local network
> ** Go to the control panel -> Bob Settings -> Server tab for instructions
> * Added an easier way to turn on/off the static file server
> ** Go to the control panel -> Bob Settings -> Server tab -> File Server 
> tab for instructions
> * Added an interface for adding multiple folders to serve media, see 
> `Serving Files and 

[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread TonyM
Mark,

If want to expand this to base 36+26 = 62 to add lowercase can I just 
extend the arrays, or is more involved?

As mentioned before such a base 62 with readable symbols would use far less 
bytes than base 10, especially if I used it to create a tiddler serial 
number.

Since coming up with a method to automatically store a unique serial number 
in a tiddler field I have realised it could be very helpful to do more in 
tiddlywiki,

   - Build compound tiddlers
   - Edit a tiddler displayed reliably in another
   - Enable tiddler rename (also helped by relink)
   - Enable subtiddlers to any tiddler (Rename reliable)
   - and more

The most common function in such a situation would be to add one, increment 
the last serial number. I imagine doing this to a decimal number and 
converting it to base 62 would be the best and easiest unless there is a 
simple way to add 1 to any base number.

I love algorithms and seeing how people tackle them. *Thanks for sharing.*

Regards
Tony


On Saturday, October 12, 2019 at 11:38:35 AM UTC+11, Mark S. wrote:
>
>
> For converting back to base 10. Just barely tested. Seems to work.
>
> Usually converting from base x to base 10 would be easier than the other 
> way around. But
> the lack of a power function and an easy way to index an array meant that 
> this was
> actually harder, somehow.
>
>
> \define base-deconverter(num,exp,result:"")
> <$list filter="[<__num__>split[]last[]]" variable="sym">
> <$list filter="[<__num__>split[]butlast[1]join[]]" variable="next">
> <$list filter="[enlist:rawallbeforecount[]]" variable="num">
> <$list filter="[enlist:raw<__exp__>product[]multiplyadd<__result__>]" 
> variable="result">
> <$list filter="[<__exp__>addsuffix[ ]addsuffix]" variable="exp" >
> <$list filter="[!is[blank]]" emptyMessage=<>>
> <$macrocall $name="base-deconverter" num=<> exp=<> result=<<
> result>> />
> 
> 
> 
> 
> 
> 
> \end
>
> \define tobase10(num,base)
> <$vars
> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X 
> Y Z"
> base=<<__base__>>
> >
> <>
> 
> \end
>
> <>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9bc4de9-99a4-4fb8-b859-68399acf51f6%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread Mohammad
Added to TW-Scripts

On Friday, October 11, 2019 at 10:03:51 PM UTC+3:30, Mark S. wrote:
>
>
> Here's how it works. To convert a number from base 10 to some other base, 
> first you divide the
> initial number (dividend) by the new base (divisor). The result is the 
> quotient and the remainder. 
> You use the remainder as an index into your numerical symbol list 
> (0.1,2... etc.) to find the 
> first digit in the new base. You append that number to string that will 
> form your new number.
> Then you take the quotient and repeat the process over and over until the 
> quotient is zero.
>
> The re-base macro creates the symbol list and sets up to call the base 
> converter macro (BCM).
> The BCM, when called the first time, sets up an empty result string.
> The BCM's outer list finds the remainder of the passed number divided by 
> the base and adds 1.
> It adds one because the "nth" operator, used in a following step, starts 
> its index at "1" rather than zero.
>
> The BCM's 2nd, nested list finds the quotient from dividing the current 
> number by the base (divisor).
>
> The next, nested list breaks the symbol list into into its parts, finds 
> the symbol with the index determined by the 
> outer list, and then adds on the result string to the end of the new 
> symbol, forming the new result string.
>
> The fourth nested list checks if the quotient is zero. If so, it returns 
> the result and the macro is done.
>
> If the quotient is not zero, then the BCM macro recursively calls itself 
> again, passing in the base, the
> new quotient, and the growing result string.
>
> I realize now that I probably should have just defined the base in the 
> re-base macro. Oh well. Probably
> doesn't make much difference.
>
>
> On Friday, October 11, 2019 at 6:45:12 AM UTC-7, @TiddlyTweeter wrote:
>>
>> In another thread Mark S. presented a magic macro to convert from decimal 
>> to other bases.
>>
>> I think its a rather marvellous bit of coding.* I have no idea how it 
>> works*, but it does work well.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/293c6df0-3cb6-45d1-95b4-49624da4b5b4%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-11 Thread jwd
So maybe I am missing something obvious but when I visit the above link or 
its home page https://arlen22.github.io/tiddlyserver/ I see no link to the 
actual current download location.

You might want to include a Download section or a prominent link to 
https://github.com/Arlen22/TiddlyServer/releases/ in the Getting Started 
steps. 

Similarly with the README at https://github.com/Arlen22/TiddlyServer - 
where the Tiddlywiki site links. It does not seem apparent to this visitor 
where one goes to get the goods without finding the link in the original 
post above.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a9a6e858-dc8d-4bdc-afec-e2c360e70a06%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread 'Mark S.' via TiddlyWiki

For converting back to base 10. Just barely tested. Seems to work.

Usually converting from base x to base 10 would be easier than the other 
way around. But
the lack of a power function and an easy way to index an array meant that 
this was
actually harder, somehow.


\define base-deconverter(num,exp,result:"")
<$list filter="[<__num__>split[]last[]]" variable="sym">
<$list filter="[<__num__>split[]butlast[1]join[]]" variable="next">
<$list filter="[enlist:rawallbeforecount[]]" variable="num">
<$list filter="[enlist:raw<__exp__>product[]multiplyadd<__result__>]" 
variable="result">
<$list filter="[<__exp__>addsuffix[ ]addsuffix]" variable="exp" >
<$list filter="[!is[blank]]" emptyMessage=<>>
<$macrocall $name="base-deconverter" num=<> exp=<> result=<<
result>> />






\end

\define tobase10(num,base)
<$vars
syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Z"
base=<<__base__>>
>
<>

\end

<>




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddc8d1be-8b61-4547-a60e-ec3d3c5942a2%40googlegroups.com.


[tw5] Re: [TW5] Bob and BobEXE version 1.3.0, Tofurky, file server and wiki management updates

2019-10-11 Thread Dave
"Tofurkey" <-- Lol   :D

Nothing like Thanksgiving dinner with the odd vegetarian relative, ha ha


Looking forward to trying this :)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/140ce7b8-c744-4003-b714-93ca8e6e3291%40googlegroups.com.


[tw5] [TW5] Bob and BobEXE version 1.3.0, Tofurky, file server and wiki management updates

2019-10-11 Thread Jed Carty
I have done some bug fixes and a lot of ui improvements so that features 
that have been available in Bob for a long time are easier to set up and 
use.

The biggest things are toggling access to the wikis from the local network, 
setting up the local file server for media, serving files from multiple 
folders, setting up the server images plugin, and an interface to let you 
scan a folder for media files, add that folder to the list of folders 
served by the file server and create _canonical_uri tiddlers for each file 
in a wiki.

There are also some other ui improvements, the dirty indicator should 
actually indicate if there are unsaved changes or not now, there is a 
warning if you open a wiki that isn't able to establish a web socket 
connection to the server and the persistent questions from the browser 
about if you want to close the tab or not may actually be taken care of now.

There is also a chat interface that works with both local and federated 
chat. Connecting to remote servers for the federated part is not 
particularly simple for the moment, but I didn't feel like removing the 
interface from everything for the release. So have fun.

The plugin version of Bob is on GitHub here: 
https://github.com/OokTech/TW5-Bob
The newest version of BobEXE is available here: 
https://github.com/OokTech/TW5-BobEXE/releases

If you want to support the development OokTech has a patreon page here 
https://www.patreon.com/OokTech
or if you prefer there is a link for PayPal here 
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick_button_id=ZG94CTLHTKYRE

The full changelog is here:

!! Version 1.3.0 Tofurkey

* maybe actually set the SaverFilter tiddler correctly
* start documentation on inter-server federation and syncing
* Add local chat
** different people using the same wiki served by a Bob server can have a 
real-time chat.
* Add federated chat
** People on different servers can chat with each other
** Limited utility due to server discoverability and NAT shenanigans
* Hopefully fix the problems with saving .tid files that have unsorted tags
* split out routes into separate files
** this may allow doing things like enabling the file server without 
restarting the server.
* Started a hopefully better interface for federated things.
* Add some advanced settings
** local message queue timeout
** federated message queue timeout
** saveTiddlerDelay
* Added a server route for uploading files.
** The browser hook is still in the ServerImages plugin, I may move it into 
Bob later.
* Add a warning that the wiki hasn't connected to the server at startup
** the warning goes away as soon as the wiki connects to the server
* The dirty indicator is changed to show dirty when there are messages in 
the send queue and clean when the queue is empty.
* The resync has been modified, it may work inconsistently
* Added easier way to turn on/off serving on the local network
** Go to the control panel -> Bob Settings -> Server tab for instructions
* Added an easier way to turn on/off the static file server
** Go to the control panel -> Bob Settings -> Server tab -> File Server tab 
for instructions
* Added an interface for adding multiple folders to serve media, see 
`Serving Files and Images` in the Bob documentation.
* Improved the mediaScan so that it can scan any folder and serve the files 
in them.
** This breaks the previous `filePathRoot` setup method

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8bf0431-3941-448b-92b6-9c5a2d9acd5a%40googlegroups.com.


[tw5] Re: plugins/mklauber/math.js does not work completely in TW 5.1.21 ?!?

2019-10-11 Thread 'Surya' via TiddlyWiki
Forgot to write...
I saw now, that sometimes I however need that function.



On Friday, October 11, 2019 at 11:57:54 PM UTC+2, Surya wrote:
>
> Hello,
>
> I asked my question in a wrong way ("how to round with 2"). In the 
> "calc"-Plugin I had to write "round ,2", if I wanted that 1.67 is 
> shown up as 1.67.
> I found out now, how I can do that with the maths operators (fixed 
> operator). But unfortunately that gives me also a simple result-number like 
> "4" shown up as 4.00.
> In the "calc"-Plugin that was better. When the result was "4", it was 
> displayed as "4". And when the result was "4.6667", it displayed as "4.67" 
> ( if I wrote round ,2).
> How could I reach that with the maths operator?
>
> Surya
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e62bd20f-d59b-46d8-8814-be035371bf40%40googlegroups.com.


[tw5] Re: plugins/mklauber/math.js does not work completely in TW 5.1.21 ?!?

2019-10-11 Thread 'Surya' via TiddlyWiki
Hello,

I asked my question in a wrong way ("how to round with 2"). In the 
"calc"-Plugin I had to write "round ,2", if I wanted that 1.67 is 
shown up as 1.67.
I found out now, how I can do that with the maths operators (fixed 
operator). But unfortunately that gives me also a simple result-number like 
"4" shown up as 4.00.
In the "calc"-Plugin that was better. When the result was "4", it was 
displayed as "4". And when the result was "4.6667", it displayed as "4.67" 
( if I wrote round ,2).
How could I reach that with the maths operator?

Surya



On Thursday, October 10, 2019 at 9:36:59 PM UTC+2, Surya wrote:
>
> That's it :-)))
> *Thank you!*
> No, it is okay like this, I can write it like this and do not need an 
> extra style for it.
> Yes, you're right with the rounding. But in this wiki I think, I do not 
> need to round. But I am not sure yet... How could I round with 2? (I tried, 
> but successless).
>
>
>
> On Thursday, October 10, 2019 at 8:56:33 PM UTC+2, Mark S. wrote:
>>
>>
>> Notice that in your calculations for rounding, you have the decimal 
>> specified at two places:
>>
>> round(numbersnumbers,*2*)
>>
>> If you use that, then round(amount/4 * 1.5,2) = 1.5 (where amount == 4)
>>
>>
>> For your sample problem with the new math tools, you could say:
>>
>> <$text text={{{ [{!!amount}divide[0.5]multiply[1]] }}} />
>>
>> The <$text.../> widget makes it come out as text. Yes, it would be useful 
>> if there was a filter operator that would make the result not be a link.
>>
>> Hmm. You could put a style on the page so that the links no longer looked 
>> like links.
>>
>> HTH!
>>
>> On Thursday, October 10, 2019 at 11:37:27 AM UTC-7, Surya wrote:
>>>
>>> Hello,
>>> here is one example of 21 recipes in my other wiki with version 5.1.14. 
>>> They are all working correctly and all these 21 recipes I have a lot of 
>>> numbers like 0.2, 1.7, and so on. In all of them the amount is correct. I 
>>> am using these recipes regularly. I would notice it really fast, if there 
>>> would be a mistake.
>>>
>>> [image: Screenshot (20191010-201216).jpg]
>>>
>>> I tried now in my new wiki with the 
>>> https://tiddlywiki.com/#Mathematics%20Operators.
>>> I wrote {{{ [[0.5]multiply[1]] }}} > that works correctly (result 0.5).
>>> Also {{{ [[0.5]divide[0.5]multiply[1]] }}} works correctly (result 1).
>>> But I have two problems with it:
>>> 1. I cannot find out, how to include my field "amount". So that, when 
>>> the amount is 0.5 {{{ [[amount]divide[0.5]multiply[1]] }}} gives also 1 as 
>>> the result.
>>> 2. The results are displayed as links- I do not want them as links, but 
>>> just normal displayed.
>>>
>>> How to solve that?
>>> Surya
>>>
>>>
>>>
>>> On Thursday, October 10, 2019 at 7:38:47 PM UTC+2, Mark S. wrote:


 Here's a screen shot to show what I mean.





 On Thursday, October 10, 2019 at 10:32:11 AM UTC-7, Mark S. wrote:
>
> Actually, when I try your sample calculation on mklauber's site, 
>
> <$calc>round({{!!amount}}/4 * 1.5)
>
> I also get "2". 
>
> That site still uses 5.1.9
>
> So maybe you should double-check that the field "amount" contains the 
> value you think it does. I suppose its possible that TW 5.1.14 introduced 
> an error
> that was corrected later.
>
> Perhaps export and post the tiddler that is causing the problems, so 
> we can review the actual numbers.
>
> Good luck!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb03eeff-42d7-4ac8-92e3-016add9ef1b4%40googlegroups.com.


[tw5] Re: "PopupTagger"-Plugin does not work on wiki (version 5.1.21)

2019-10-11 Thread 'Surya' via TiddlyWiki
Hi Birthe,

oh sorry- my fault, I didn't recognize the filter... It is set to show the 
Popuptagger only on tiddlers created by Eucaly... That's why I couldn't see 
it on my own tiddlers.
I use the popuptagger in all my wikis. But in my memory I didn't have to 
change this filter.
But however, now it is working fine and I could style it in a nicer way for 
me :-)

Surya


On Friday, October 11, 2019 at 3:48:02 PM UTC+2, Birthe C wrote:
>
> Hi Surya,
>
> PopupTagger does work in version 5.1.21.
> When you write that TagBar is visible on all the tiddlers of the Plugin it 
> is due to being configured to show you Eucalis tagbar. (In config tiddler 
> you can see the filter for it.)
> You have to go to the config tiddler and set up your own tagbar, Parent 
> tag, filter and all that. Remember also to set active and enable the Popup 
> tagger switch. It can be a little confusing to set up, and I do not really 
> use it anymore.
>
>
> Birthe
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/62e931b9-fb85-4e08-b2d0-9deec88c6125%40googlegroups.com.


[tw5] Re: Bob accessing tiddlers in subdirectory

2019-10-11 Thread Dave
Thank you so much!  I think that is the clue that solves a lot of my weird 
little file version quirks.

On Friday, October 11, 2019 at 1:38:19 PM UTC-6, Jed Carty wrote:
>
> I believe that what you are talking about is from how tiddlywiki loads 
> tiddler folders and isn't specific to Bob. Any subfolders of the tiddlers 
> folder should be searched for tiddlers to be included in the wiki. I am not 
> sure if there is a mechanism for excluding folders from this, Jeremy and 
> Mario probably know but I would have to look at the code.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/39473b7b-1ef5-4bf6-8af8-c7590a09bda5%40googlegroups.com.


[tw5] Re: Bob accessing tiddlers in subdirectory

2019-10-11 Thread Jed Carty
I believe that what you are talking about is from how tiddlywiki loads 
tiddler folders and isn't specific to Bob. Any subfolders of the tiddlers 
folder should be searched for tiddlers to be included in the wiki. I am not 
sure if there is a mechanism for excluding folders from this, Jeremy and 
Mario probably know but I would have to look at the code.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51c8f099-c0f1-4c30-91b5-eafde7ffae0c%40googlegroups.com.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Jed Carty
Birthe,

That is strange. I am not sure what would cause that. I am adding the last 
few interface bits to Bob and hopefully the new version will be uploaded in 
another hour or two.
The new interface should make it much easier to change if the wiki is 
served on 0.0.0.0 and to enable and configure the file server components so 
I think rather than trying to track down the trouble here we can just try 
using the new version and see if that fixes 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/42967205-4adf-4e81-a511-8286f9f6e777%40googlegroups.com.


[tw5] Re: Image visability and user-friendliness

2019-10-11 Thread Jed Carty
If you are using BobEXE the server images plugin should be there, you just 
have to enable it using the Bob interface. 

Go to $:/ControlPanel -> Bob Settings -> This Wiki -> Manage Plugins then 
click the `Update Plugin List` button, check the plugins you want to 
active, click the `Save Plugin Selection` button then refresh the page.

For getting plugins from GitHub/GitLab there is an interface for that too, 
but it hasn't been extensively tested and is poorly documented.

Go to $:/ControlPanel -> Bob Settings -> Server -> Fetch Plugins to see it

I will try and get the publicly available plugin repo I have updated so 
that you can fetch the plugins using the TWederBob plugin (also included in 
BobEXE)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/217165d9-61dc-444f-932a-ea594524022f%40googlegroups.com.


[tw5] Re: Bob accessing tiddlers in subdirectory

2019-10-11 Thread Dave
also, just thought of this:

 is there a way to mark that folder .../tiddlers/.stversions (or any 
subfolder) in such a way as its to be *excluded* from Bob, but still be in 
that location (functioning in this case as a syncthing trash folder)

That way I can still look there for previous file versions if needed, but 
not have it included in Bob's normal functioning.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ee6554e6-67f4-4d71-85d6-d9928222ce6e%40googlegroups.com.


[tw5] Re: TW5 on nodejs via https and certificate-based user authentication using nginx as proxy

2019-10-11 Thread Daniel
Hi Pietro,
I myself wanted to have HTTPS to my wiki for some years, and just to add a 
note around this subject (and perhaps some inspiration) I solved this 
myself by running a proxy with let´s encrypt on a OPNsense firewall, And it 
is glorious without any certifciate warnings.
This requrires you to install the OPNsense firewall but if you are into 
that sort of a thing it might be fun.

I followed this guide in general for another site I have, but it works just 
fine for Tiddlywiki as well or any other thing you would like to have 
behind HTTPS.
https://blog.bagro.se/lets-encrypt-with-haproxy-on-opnsense/

Just wanted to share.

Kind regards

On Tuesday, October 1, 2019 at 5:10:50 PM UTC+2, Pietro Abano wrote:
>
> Hello everyone,
>
> I could not find anything related to what I am trying to achieve here so 
> if it's already covered somewhere please let me know.
>
> As much as I love Jed's amazing work on *BobWiki* because it changes the 
> ball game for TW5 completely, allowing to share and work on something with 
> a team, over a local network, there is one thing that I'm missing - user 
> authentication.
>
> In my scenario it is not so much about who the actual individual is, only 
> that it should be one of the authorized users.
> So I thought the client certificate-based authentication would do it. I 
> set up a reverse proxy using nginx to handle SSL/TLS (for the web server 
> and the clients) and talking to a local nodejs application on client's 
> behalf.
>
> After some reading about nginx and tweaking my nginx configs I am finally 
> able to access the TW5 on nodejs via https and even authenticate to it 
> (actually to nginx) with client X.509 certs, but unfortunatelly I hit a 
> problem:
>
>- can't make any changes to TW5/BobWiki over the https.
>
>
> The setup: 
> the TW5 runs on nodejs at 127.0.0.1:8080
> Tiddlywiki version 5.1.21 with Bob version 1.2.4
> Serving on 127.0.0.1:8080
>
> on the same host with IP of 192.168.112.110 there's nginx listening at 80 
> or 443 forwarding all traffic to http://127.0.0.1:8080
>
> It appears the TW5 is not aware of any requests done from the web client, 
> while direct connection to nodejs works as usual.
>
> Not being a web developer nor an experienced sysadmin (just a tinker) I 
> have no clue as to where to look. Is it something with my nginx 
> configuration, more specifically with websockets? When looking at the data 
> being tranferred (Chrome, Inspect, Network) e.g. when adding a new tiddler, 
> I don't see much going on.
>
> I can see some websocket communication initiated by 
> $:/plugins/OokTech/Bob/BrowserWebSocketsSetup.js which is different when 
> I go directly to nodejs - there I can see $:/core/module/saver in action, 
> while when I use the nginx-proxied access I don't see this at all.
>
> Another symptom of the behavior is that when two users connect to the same 
> TW5 on nodejs, they both see any changes done by one of them in almost 
> real-time without refreshing the page while in ngix-proxied https access no 
> such on-screen update happens.
>
> Studying the errors in Chrome I've come up with this which seems relevant:
> $:/plugins/OokTech/Bob/BrowserWebSocketsSetup.js:63 WebSocket connection 
> to 'wss://192.168.112.110/' failed: Error during WebSocket handshake: 
> Unexpected response code: 200 (of course without https, this looks like 
> 'ws://192.168.112.110/')
>
> Btw, the Firefox's error pinpoints the line in the code (does not say 
> which source, I assume it's this BrowserWebSocketsSetup.js):
> Firefox can’t establish a connection to the server at wss://
> 192.168.112.110/. line 11345 > eval:63:48
>
> This all happens regardless of http or https, it's the same error as long 
> as nginx is in the middle.
>
> At various forums I found the solution for that Chrome error and it looks 
> like a websocket configuration thing in nginx:
>
>- from https://github.com/websockets/ws/issues/979
>
> "*Had the same issue, my app is behind nginx. Making these changes to my 
> Nginx config removed the error.*
>
> *location / {*
> *proxy_pass http://localhost:8080 ;*
> *proxy_http_version 1.1;*
> *proxy_set_header Upgrade $http_upgrade;*
> *proxy_set_header Connection "upgrade";*
> *proxy_set_header Host $host;*
> *}*
> "
>
> The same changes did not help in my case, so it must be somewhere else, 
> maybe in the BobWiki code.
>
> But that's about all I can do about it so I'd need someone's help.
> Is there anyone here who would know where this comes from? 
>
> I can provide him/her with all the configs or even the full VM 
> (Ubuntu18.04mini) if needed. 
> But the cert-based authentication seems to be too attractive for me to let 
> it vanish to oblivion.
>
> All the best to the community!
>
> Pietro
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

[tw5] Bob accessing tiddlers in subdirectory

2019-10-11 Thread Dave
Hi Jed, this is just an information question about the mechanics of Bob:

I have a tiddler which functions normally in the TW, but when I went to 
access it via bash (Linux) programmatically, it wasn't being found in the 
normal tiddlers folder.
 
Turns out it was because Syncthing had put it in a subfolder called 
".stversions".  Now that I figured that out I can fix that (separate 
Syncthing issue), but I'm just wondering, how is that working?  If Bob can 
include tiddlers from subfolders that might open up some new possibilities 
regarding use and maintenance.

For example, is there a mechanism by which I can have a TW using tiddlers 
from the parent folder plus subfolder "A" but not subfolder "B", and then 
later switch to "parent+B" later on?  Then include all subfolders?


There's probably something in the documents already but so could you give 
me a hint about what term(s) to look for?


thanks,
- Dave

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f5c8128-ce76-4625-a6c0-b34beaba05ca%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread 'Mark S.' via TiddlyWiki

Here's how it works. To convert a number from base 10 to some other base, 
first you divide the
initial number (dividend) by the new base (divisor). The result is the 
quotient and the remainder. 
You use the remainder as an index into your numerical symbol list (0.1,2... 
etc.) to find the 
first digit in the new base. You append that number to string that will 
form your new number.
Then you take the quotient and repeat the process over and over until the 
quotient is zero.

The re-base macro creates the symbol list and sets up to call the base 
converter macro (BCM).
The BCM, when called the first time, sets up an empty result string.
The BCM's outer list finds the remainder of the passed number divided by 
the base and adds 1.
It adds one because the "nth" operator, used in a following step, starts 
its index at "1" rather than zero.

The BCM's 2nd, nested list finds the quotient from dividing the current 
number by the base (divisor).

The next, nested list breaks the symbol list into into its parts, finds the 
symbol with the index determined by the 
outer list, and then adds on the result string to the end of the new 
symbol, forming the new result string.

The fourth nested list checks if the quotient is zero. If so, it returns 
the result and the macro is done.

If the quotient is not zero, then the BCM macro recursively calls itself 
again, passing in the base, the
new quotient, and the growing result string.

I realize now that I probably should have just defined the base in the 
re-base macro. Oh well. Probably
doesn't make much difference.


On Friday, October 11, 2019 at 6:45:12 AM UTC-7, @TiddlyTweeter wrote:
>
> In another thread Mark S. presented a magic macro to convert from decimal 
> to other bases.
>
> I think its a rather marvellous bit of coding.* I have no idea how it 
> works*, but it does work well.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a4a0ee15-8209-4a45-b643-e0e43d1cf1fd%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread @TiddlyTweeter
Mark S. wrote:
>
> When they go shopping, do they complain that everything costs an arm and a 
> leg?
>

Lol! No just two arms.
 

> Birthe C wrote:
>>>
>>> Do they go all dementia senilis then if they get a limb amputation?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/818fee0d-cb27-4f5a-a65c-72a785817e6f%40googlegroups.com.


Re: [tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread @TiddlyTweeter
There is a branch of social science/maths called "ethnomathematics" 
https://en.wikipedia.org/wiki/Ethnomathematics that is a good place to 
start to look.

The work I know by anthropologists is not so easy to find outside special 
libraries ... but there is a bit on the net ... 

http://www.culturecognition.com/home  

https://www.jstor.org/stable/41187615? (need sign up but its free)

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.590.2110=rep1=pdf
 (technical 
overview of Papua Guinea tally systems; some of the concepts in it like 
"cycles" are good).

TT

On Friday, 11 October 2019 19:12:18 UTC+2, ILYA wrote:
>
> There was a system base 12 which uses segments of a finger.
>
> https://m.youtube.com/watch?feature=youtu.be=U6xJfP7-HCc
>
>
> On 11 October 2019 09:28:57 GMT-07:00, "@TiddlyTweeter" <
> tiddly...@assays.tv > wrote:
>>
>> Birthe C wrote:
>>>
>>> Do they go all dementia senilis then if they get a limb amputation?
>>>
>>
>> Lol. Its not a bad question!
>>
>> With higher numbers many body part counting systems do refer to other 
>> people's bodies. 
>> For instance for numbers over 10 (decimal 27) you could count someone 
>> else's parts (10 me + 10 Birthe + 4 Mark = 58 decimal). 
>> And if you lacked an arm (makes your body base-18) you could might count 
>> someone else's bits to make up :-).
>>
>> Whilst linguistics has correct focus on the "inalienability of body 
>> concepts", especially in oral cultures, that won't apply to counting which 
>> is ennumertion of body parts.
>>
>> TT 
>>
>>
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be3352f0-9c8c-46e8-83b3-1e07e51f1a2c%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread 'Mark S.' via TiddlyWiki
When they go shopping, do they complain that everything costs an arm and a 
leg?

On Friday, October 11, 2019 at 9:28:57 AM UTC-7, @TiddlyTweeter wrote:
>
> Birthe C wrote:
>>
>> Do they go all dementia senilis then if they get a limb amputation?
>>
>
> Lol. Its not a bad question!
>
> With higher numbers many body part counting systems do refer to other 
> people's bodies. 
> For instance for numbers over 10 (decimal 27) you could count someone 
> else's parts (10 me + 10 Birthe + 4 Mark = 58 decimal). 
> And if you lacked an arm (makes your body base-18) you could might count 
> someone else's bits to make up :-).
>
> Whilst linguistics has correct focus on the "inalienability of body 
> concepts", especially in oral cultures, that won't apply to counting which 
> is ennumertion of body parts.
>
> TT 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9cc4e6c5-6e2d-4bde-af60-f47a882ab5ba%40googlegroups.com.


[tw5] Re: Utility plugin Release 0.5.0 beta

2019-10-11 Thread Mohammad
Hi Birthe
A new release 0.6.0 beta pushed!

Typo has been corrected
Better example has been given for simple-navigation
Some other minor correction


--Mohammad

On Friday, October 11, 2019 at 7:20:26 PM UTC+3:30, Birthe C wrote:
>
>  Hi Mohammad,
>
> I am a little confused. You start with simple-navigation, next an example 
> using simpleNavigation. All the writing is about tag, but then I see a 
> tiddler named simple navigation tagged $:/tags/ViewTemplate containing 
> <>.
>
> A typo, tiddler named demo/Viw-field (Demo View-field I suppose)
>
>
> Leaving for now to "play" some more, lovely on a cold and rainy day ;-)
> Birthe
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c580b0d5-e878-4dee-9574-8e420a2b7f96%40googlegroups.com.


Re: [tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread ILYA
There was a system base 12 which uses segments of a finger.

https://m.youtube.com/watch?feature=youtu.be=U6xJfP7-HCc


On 11 October 2019 09:28:57 GMT-07:00, "@TiddlyTweeter" 
 wrote:
>Birthe C wrote:
>>
>> Do they go all dementia senilis then if they get a limb amputation?
>>
>
>Lol. Its not a bad question!
>
>With higher numbers many body part counting systems do refer to other 
>people's bodies. 
>For instance for numbers over 10 (decimal 27) you could count someone 
>else's parts (10 me + 10 Birthe + 4 Mark = 58 decimal). 
>And if you lacked an arm (makes your body base-18) you could might
>count 
>someone else's bits to make up :-).
>
>Whilst linguistics has correct focus on the "inalienability of body 
>concepts", especially in oral cultures, that won't apply to counting
>which 
>is ennumertion of body parts.
>
>TT 
>
>-- 
>You received this message because you are subscribed to the Google
>Groups "TiddlyWiki" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to tiddlywiki+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/tiddlywiki/1b11585a-6287-476c-beb8-bdecff3e28a5%40googlegroups.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ACB95CAD-66A8-4028-82B2-272F82F9167A%40gmail.com.


Re: [tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread ILYA
I am also interested in historical counting systems. Any links you can share?

I use a mathjs based macro for doing base conversions.

Best regards,
iilyak

On 11 October 2019 06:45:40 GMT-07:00, "@TiddlyTweeter" 
 wrote:
>Repeat for email.
>
>On Friday, 11 October 2019 15:45:12 UTC+2, @TiddlyTweeter wrote:
>>
>> In another thread Mark S. presented a magic macro to convert from
>decimal 
>> to other bases.
>>
>> I think its a rather marvellous bit of coding.* I have no idea how it
>
>> works*, but it does work well.
>>
>> Its a VERY good illustration of using TW macros to achieve something 
>> specific in a direct very useful, economic way. 
>>
>> This is my slight cosmetic re-order of it for converting decimal to  
>> base-2 through to base-36.
>>
>> \define base-convertor(num,base,result:"")
>> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
>> <$list filter="[enlistnthaddsuffix<__result__>]" 
>> variable="result">
>>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
>> <$macrocall $name=base-convertor num=<> base="$base$" 
>> result=<>/>
>>   
>> 
>>   
>> 
>> \end
>>
>> \define re-base(base,num)
>> <$vars
>> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V
>W X 
>> Y Z"
>> >
>>   <>
>> 
>> \end
>>
>> Syntax: re-base  "base" "decimal inut"
>> Supports base-2 to base-36. 
>>
>> ;Examples
>> :1025 decimal = <9000>> 
>> base 2
>> :1025 decimal = <> base 10
>> :1025 decimal = <> base 16
>> :1025 decimal = <> base 26
>> :1025 decimal = <> base 27
>> :1025 decimal = <> base 36
>>
>>
>> Partly Mark responded because I needed that tool to properly document
>
>> non-Westren body-part counting systems. 
>> As soon as I had it up I wrote a note for a culture that counts in 
>> base-27. I could not have done it without it.
>>
>> Thanks Mark!
>>
>> [image: Annotation 2019-10-11 145847.jpg]
>>
>>
>> Best wishes
>> TT
>>
>
>-- 
>You received this message because you are subscribed to the Google
>Groups "TiddlyWiki" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to tiddlywiki+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/tiddlywiki/152f7069-7afd-4b1e-9915-759c1b6204e3%40googlegroups.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84138BEE-FF7A-4946-96DB-73B09F4A6797%40gmail.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread @TiddlyTweeter
Birthe C wrote:
>
> Do they go all dementia senilis then if they get a limb amputation?
>

Lol. Its not a bad question!

With higher numbers many body part counting systems do refer to other 
people's bodies. 
For instance for numbers over 10 (decimal 27) you could count someone 
else's parts (10 me + 10 Birthe + 4 Mark = 58 decimal). 
And if you lacked an arm (makes your body base-18) you could might count 
someone else's bits to make up :-).

Whilst linguistics has correct focus on the "inalienability of body 
concepts", especially in oral cultures, that won't apply to counting which 
is ennumertion of body parts.

TT 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b11585a-6287-476c-beb8-bdecff3e28a5%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread Birthe C
Do they go all dementia senilis then if they get a limb amputation?

Couldn't help it,
Birthe

fredag den 11. oktober 2019 kl. 17.33.52 UTC+2 skrev @TiddlyTweeter:
>
> Hi Mark S.
>
> I am. "The Art Of Memory" by Frances Yates is a favourite social history 
> book of mine that puts it in context. 
> Its very likely that the associative systems for memory by "loci" actually 
> emerged from simple body part enumeration systems.
>
> Its a rich legacy oral cultures bequeathed us.  
>
> And early thinkers about what would eventually become the internet derived 
> many of their concepts from the "arts of memory". 
>
> BTW, you probably don't remember this thread :-) ... 
> https://groups.google.com/forum/#!msg/tiddlywiki/Q4yLWNn5CKs/YVxdHp9_BgAJ in 
> which you wrote interesting things.
>
>
> TT 
>
> On Friday, 11 October 2019 16:59:51 UTC+2, Mark S. wrote:
>>
>> Hi TT,
>>
>> Are you familiar with mnemonic techniques? A very common technique is to 
>> use one's own body to remember lists of things.
>>
>> Perhaps that is how the Oksapmin got its start.
>>
>>
>> Ref: *Moon Walking with Einstein* by Joshua Foer, *The Memory Book* by 
>> Harry Lorayne and Jerry Lucas, *How To Develop a Brilliant Memory* by 
>> Dominic O'Brien
>>
>> On Friday, October 11, 2019 at 6:45:12 AM UTC-7, @TiddlyTweeter wrote:
>>>
>>> In another thread Mark S. presented a magic macro to convert from 
>>> decimal to other bases.
>>>
>>> I think its a rather marvellous bit of coding.* I have no idea how it 
>>> works*, but it does work well.
>>>
>>> Its a VERY good illustration of using TW macros to achieve something 
>>> specific in a direct very useful, economic way. 
>>>
>>> This is my slight cosmetic re-order of it for converting decimal to  
>>> base-2 through to base-36.
>>>
>>> \define base-convertor(num,base,result:"")
>>> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>>>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
>>> <$list filter="[enlistnthaddsuffix<__result__>]" 
>>> variable="result">
>>>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
>>> <$macrocall $name=base-convertor num=<> base="$base$" 
>>> result=<>/>
>>>   
>>> 
>>>   
>>> 
>>> \end
>>>
>>> \define re-base(base,num)
>>> <$vars
>>> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W 
>>> X Y Z"
>>> >
>>>   <>
>>> 
>>> \end
>>>
>>> Syntax: re-base  "base" "decimal input"
>>> Supports base-2 to base-36. 
>>>
>>> ;Examples
>>> :1025 decimal = <> base 2
>>> :1025 decimal = <> base 10
>>> :1025 decimal = <> base 16
>>> :1025 decimal = <> base 26
>>> :1025 decimal = <> base 27
>>> :1025 decimal = <> base 36
>>>
>>>
>>> Partly Mark responded because I needed that tool to properly document 
>>> non-Westren body-part counting systems. 
>>> As soon as I had it up I wrote a note for a culture that counts in 
>>> base-27. I could not have done it without it.
>>>
>>> Thanks Mark!
>>>
>>> [image: Annotation 2019-10-11 145847.jpg]
>>>
>>>
>>> Best wishes
>>> TT
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27691b9b-45c2-4f2f-99aa-cd7ed314ec4c%40googlegroups.com.


[tw5] Re: Utility plugin Release 0.5.0 beta

2019-10-11 Thread Mohammad
Hi Birthe,
 Let me to check! I will add more clear explanation!

--Mohammad


On Friday, October 11, 2019 at 7:20:26 PM UTC+3:30, Birthe C wrote:
>
>  Hi Mohammad,
>
> I am a little confused. You start with simple-navigation, next an example 
> using simpleNavigation. All the writing is about tag, but then I see a 
> tiddler named simple navigation tagged $:/tags/ViewTemplate containing 
> <>.
>

Simple navigation adds previous | next buttons at the bottom of tiddlers 
tagged with a specified word like demo! 
So, it uses tags to work!

I will check for typo!

 

>
> A typo, tiddler named demo/Viw-field (Demo View-field I suppose)
>

Thank you! I correct it! 

>
>
> Leaving for now to "play" some more, lovely on a cold and rainy day ;-)
>

Enjoy!
 

> Birthe
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54558885-282d-4611-956c-5551bada156a%40googlegroups.com.


[tw5] Tiddloid-Lite

2019-10-11 Thread Mohammad
Worth have a look specially for who like TW on Android.

https://groups.google.com/d/msg/tiddlywikidev/9moZAMnb40c/Z4PFXzZmDAAJ


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5483db0a-289c-40fd-b63f-63ddcdeb8786%40googlegroups.com.


[tw5] Re: Utility plugin Release 0.5.0 beta

2019-10-11 Thread Birthe C
 Hi Mohammad,

I am a little confused. You start with simple-navigation, next an example 
using simpleNavigation. All the writing is about tag, but then I see a 
tiddler named simple navigation tagged $:/tags/ViewTemplate containing 
<>.

A typo, tiddler named demo/Viw-field (Demo View-field I suppose)


Leaving for now to "play" some more, lovely on a cold and rainy day ;-)
Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d49b51d2-9f2c-46df-856e-f806180214e8%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread @TiddlyTweeter
Hi Mark S.

I am. "The Art Of Memory" by Frances Yates is a favourite social history 
book of mine that puts it in context. 
Its very likely that the associative systems for memory by "loci" actually 
emerged from simple body part enumeration systems.

Its a rich legacy oral cultures bequeathed us.  

And early thinkers about what would eventually become the internet derived 
many of their concepts from the "arts of memory". 

BTW, you probably don't remember this thread :-) ... 
https://groups.google.com/forum/#!msg/tiddlywiki/Q4yLWNn5CKs/YVxdHp9_BgAJ in 
which you wrote interesting things.


TT 

On Friday, 11 October 2019 16:59:51 UTC+2, Mark S. wrote:
>
> Hi TT,
>
> Are you familiar with mnemonic techniques? A very common technique is to 
> use one's own body to remember lists of things.
>
> Perhaps that is how the Oksapmin got its start.
>
>
> Ref: *Moon Walking with Einstein* by Joshua Foer, *The Memory Book* by 
> Harry Lorayne and Jerry Lucas, *How To Develop a Brilliant Memory* by 
> Dominic O'Brien
>
> On Friday, October 11, 2019 at 6:45:12 AM UTC-7, @TiddlyTweeter wrote:
>>
>> In another thread Mark S. presented a magic macro to convert from decimal 
>> to other bases.
>>
>> I think its a rather marvellous bit of coding.* I have no idea how it 
>> works*, but it does work well.
>>
>> Its a VERY good illustration of using TW macros to achieve something 
>> specific in a direct very useful, economic way. 
>>
>> This is my slight cosmetic re-order of it for converting decimal to  
>> base-2 through to base-36.
>>
>> \define base-convertor(num,base,result:"")
>> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
>> <$list filter="[enlistnthaddsuffix<__result__>]" 
>> variable="result">
>>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
>> <$macrocall $name=base-convertor num=<> base="$base$" 
>> result=<>/>
>>   
>> 
>>   
>> 
>> \end
>>
>> \define re-base(base,num)
>> <$vars
>> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X 
>> Y Z"
>> >
>>   <>
>> 
>> \end
>>
>> Syntax: re-base  "base" "decimal input"
>> Supports base-2 to base-36. 
>>
>> ;Examples
>> :1025 decimal = <> base 2
>> :1025 decimal = <> base 10
>> :1025 decimal = <> base 16
>> :1025 decimal = <> base 26
>> :1025 decimal = <> base 27
>> :1025 decimal = <> base 36
>>
>>
>> Partly Mark responded because I needed that tool to properly document 
>> non-Westren body-part counting systems. 
>> As soon as I had it up I wrote a note for a culture that counts in 
>> base-27. I could not have done it without it.
>>
>> Thanks Mark!
>>
>> [image: Annotation 2019-10-11 145847.jpg]
>>
>>
>> Best wishes
>> TT
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46973b9a-453e-4bb5-ba8f-4e8c3b7eebd1%40googlegroups.com.


[tw5] Re: Seting a field from a select widget selection not working ... Need help !!

2019-10-11 Thread vpl
Solved in fact 

The correct code is 

Company <$select tiddler="LogSearchInput" field="companyField">
<$list filter='[tag[Contact]each[company]sort[company]]'>
 <$view field='company'/>




Le vendredi 11 octobre 2019 16:40:32 UTC+2, vpl a écrit :
>
> Hi experts ..!
>
> I have a question related to the select widget
>
> I have create a tiddler called "contactTemplate"
> In this tiddler I've created a select witch lists the unique content of 
> the "company" field of all of my tiddlers with a "Contact" tag
>
> Company <$select tiddler="LogSearchInput" field="companyField">
> <$list filter='[tag[Contact]each[company]sort[company]]'>
> >><$view field='company'/>
> 
> 
>
> This works fine.
>
> But I want to set to the "companyField" of the tiddler "LogSearchInput" 
> the user selection (in my case the "company" selected value)
>
> With the above code the companyField is set to the tiddler *title 
> unfortunately .. * 
>
> How should I modify this code to get, in the companyField, the selection 
> of the select widget ?
>
> Thanks a lot for your help
>
> Regards
>
> Vpl
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/53f55109-e7ba-452d-b546-0789d6bbfb63%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread 'Mark S.' via TiddlyWiki
Hi TT,

Are you familiar with mnemonic techniques? A very common technique is to 
use one's own body to remember lists of things.

Perhaps that is how the Oksapmin got its start.


Ref: *Moon Walking with Einstein* by Joshua Foer, *The Memory Book* by 
Harry Lorayne and Jerry Lucas, *How To Develop a Brilliant Memory* by 
Dominic O'Brien

On Friday, October 11, 2019 at 6:45:12 AM UTC-7, @TiddlyTweeter wrote:
>
> In another thread Mark S. presented a magic macro to convert from decimal 
> to other bases.
>
> I think its a rather marvellous bit of coding.* I have no idea how it 
> works*, but it does work well.
>
> Its a VERY good illustration of using TW macros to achieve something 
> specific in a direct very useful, economic way. 
>
> This is my slight cosmetic re-order of it for converting decimal to  
> base-2 through to base-36.
>
> \define base-convertor(num,base,result:"")
> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
> <$list filter="[enlistnthaddsuffix<__result__>]" 
> variable="result">
>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
> <$macrocall $name=base-convertor num=<> base="$base$" 
> result=<>/>
>   
> 
>   
> 
> \end
>
> \define re-base(base,num)
> <$vars
> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X 
> Y Z"
> >
>   <>
> 
> \end
>
> Syntax: re-base  "base" "decimal input"
> Supports base-2 to base-36. 
>
> ;Examples
> :1025 decimal = <> base 2
> :1025 decimal = <> base 10
> :1025 decimal = <> base 16
> :1025 decimal = <> base 26
> :1025 decimal = <> base 27
> :1025 decimal = <> base 36
>
>
> Partly Mark responded because I needed that tool to properly document 
> non-Westren body-part counting systems. 
> As soon as I had it up I wrote a note for a culture that counts in 
> base-27. I could not have done it without it.
>
> Thanks Mark!
>
> [image: Annotation 2019-10-11 145847.jpg]
>
>
> Best wishes
> TT
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ece25766-02d4-4714-a77e-7acd7456c0b5%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread Mohammad
Added to TW-Scripts and Yazd!

By the way, to document macro could Mark explain the logic a little bit?

For cross checking the below link may be helpful

http://www.unitconversion.org/unit_converter/numbers.html

Mohammad

On Friday, October 11, 2019 at 5:15:12 PM UTC+3:30, @TiddlyTweeter wrote:
>
> In another thread Mark S. presented a magic macro to convert from decimal 
> to other bases.
>
> I think its a rather marvellous bit of coding.* I have no idea how it 
> works*, but it does work well.
>
> Its a VERY good illustration of using TW macros to achieve something 
> specific in a direct very useful, economic way. 
>
> This is my slight cosmetic re-order of it for converting decimal to  
> base-2 through to base-36.
>
> \define base-convertor(num,base,result:"")
> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
> <$list filter="[enlistnthaddsuffix<__result__>]" 
> variable="result">
>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
> <$macrocall $name=base-convertor num=<> base="$base$" 
> result=<>/>
>   
> 
>   
> 
> \end
>
> \define re-base(base,num)
> <$vars
> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X 
> Y Z"
> >
>   <>
> 
> \end
>
> Syntax: re-base  "base" "decimal input"
> Supports base-2 to base-36. 
>
> ;Examples
> :1025 decimal = <> base 2
> :1025 decimal = <> base 10
> :1025 decimal = <> base 16
> :1025 decimal = <> base 26
> :1025 decimal = <> base 27
> :1025 decimal = <> base 36
>
>
> Partly Mark responded because I needed that tool to properly document 
> non-Westren body-part counting systems. 
> As soon as I had it up I wrote a note for a culture that counts in 
> base-27. I could not have done it without it.
>
> Thanks Mark!
>
> [image: Annotation 2019-10-11 145847.jpg]
>
>
> Best wishes
> TT
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65f3a4a9-25f4-4d11-96d9-0d185b2f7e62%40googlegroups.com.


Re: [tw5] Wrongly word-wrap in table cell

2019-10-11 Thread Mohammad
Hi Jeremy!

Many thanks for clarification! I will use the latest update (TW 5.1.22).

By the way I use the below css in the meantime.

table th, table thead,table td {word-wrap:normal;white-space: nowrap;
}



On Friday, October 11, 2019 at 6:05:33 PM UTC+3:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
> I think it’s a bug. The CSS for vertical tabs sets `word-break: 
> break-word` on .tc-tab-content.tc-vertical which is then inherited by the 
> tab content. It was introduced here:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/7e71fcfab80bed9aed4389eea386fb2036cc4a85
>
> I think it was a mistake so I’ve removed it for v5.1.22.
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/81f1e6af4e5920c6ff41e7f08171bfddc1b26dfc
>
> Best wishes
>
> Jeremy.
>
>
>
> On 11 Oct 2019, at 08:37, Mohammad > 
> wrote:
>
> It seems Tiddlywiki table wrongly wrap words!
> While in a table there is no need to wrap, TW renders table with wrapping 
> word for example it shows optional as
>
> option
> al
>
>
> Is this a bug or it has been set intentionally?
>
> *Example*
>
> see https://kookma.github.io/Shiraz/#Shiraz%20Tutorial
>
> open *Images tab* and then look at the two other tabs *Image Polaroid* 
> which render table correctly with no word-wrap and *Image Slidein* which 
> renders wrongly and wrap the words.
>
> Cheers
>
> -- 
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/467c887e-edf6-4187-9727-bf806fdeb711%40googlegroups.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/decc16ed-ac31-406f-b335-9e940dcb16c2%40googlegroups.com.


[tw5] Utility plugin Release 0.5.0 beta

2019-10-11 Thread Mohammad
*Announcement:Utility plugin*
*Date: Oct 11, 2019*
*Release: 0.5.0 beta*
*Status:  in progress*


This is to announce the *beta *release Utility plugin! It is a complement 
to Shiraz. This plugin targets who like authoring specially developer.

Demo: https://kookma.github.io/TW-Utility/
Source: https://github.com/kookma/TW-Utility

Your feedback is highly welcome.
If you like it star it at GitHub (https://github.com/kookma/TW-Utility)
--Mohammad


Utility Plugin
11th October 2019 at 4:28pm

Tiddlywiki5.1.19+
 
LicenseMIT
 
Release0.5.0 beta
 
Statusstable

What is Utility plugin?

Utility plugin is a small set of stylesheets, templates and macros. It has 
different tools for customizing and authoring specially for developers.

Install

Packaged plugin
   
   1. Drag and drop $:/plugins/kookma/utility 
    into your 
   wiki
   2. Save and reload your wiki

Client-Server installation (separate files)
   
   - For Node.js (server version) download the utility folder from source 
    folder and paste in your 
   Tiddlywiki plugins folder
   - For local installation put the utility folder into your local plugins 
   folder under your wiki folder

*It is highly recommended to backup your data before trying any new plugin! 
Do it before installing Utilty*

Tutorials

Utility Tutorial  is a good 
point to start. Also have a look at indivial demo.


   1. Custom transclusion 
   2. Wikitext macro 
   3. Show macro 
   4. Simple navigation 
   5. Fields in view mode 
   6. Tiddlywiki version badge 
   
   7. Svg image in wikitext 
   8. Fields in view mode 
   

Acknowledgement


   - Jeremy Ruston
   - Ton Gerner
   - Mark s
   - BTC
   - Anthony Muscio (TonyM)

HistoryRevision 0.5.0 beta


   - Date: [10th Oct 2019]
   - beta release
   - documentation improved

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a369d94-7ed9-4b31-8c03-8633924cf596%40googlegroups.com.


[tw5] Seting a field from a select widget selection not working ... Need help !!

2019-10-11 Thread vpl
Hi experts ..!

I have a question related to the select widget

I have create a tiddler called "contactTemplate"
In this tiddler I've created a select witch lists the unique content of the 
"company" field of all of my tiddlers with a "Contact" tag

Company <$select tiddler="LogSearchInput" field="companyField">
<$list filter='[tag[Contact]each[company]sort[company]]'>
>><$view field='company'/>



This works fine.

But I want to set to the "companyField" of the tiddler "LogSearchInput" the 
user selection (in my case the "company" selected value)

With the above code the companyField is set to the tiddler *title 
unfortunately .. * 

How should I modify this code to get, in the companyField, the selection of 
the select widget ?

Thanks a lot for your help

Regards

Vpl


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/313e6e58-b026-417b-a076-d4096e972537%40googlegroups.com.


Re: [tw5] Wrongly word-wrap in table cell

2019-10-11 Thread Jeremy Ruston
Hi Mohammad

I think it’s a bug. The CSS for vertical tabs sets `word-break: break-word` on 
.tc-tab-content.tc-vertical which is then inherited by the tab content. It was 
introduced here:

https://github.com/Jermolene/TiddlyWiki5/commit/7e71fcfab80bed9aed4389eea386fb2036cc4a85
 


I think it was a mistake so I’ve removed it for v5.1.22.

https://github.com/Jermolene/TiddlyWiki5/commit/81f1e6af4e5920c6ff41e7f08171bfddc1b26dfc
 


Best wishes

Jeremy.



> On 11 Oct 2019, at 08:37, Mohammad  wrote:
> 
> It seems Tiddlywiki table wrongly wrap words!
> While in a table there is no need to wrap, TW renders table with wrapping 
> word for example it shows optional as
> 
> option
> al
> 
> 
> Is this a bug or it has been set intentionally?
> 
> Example
> 
> see https://kookma.github.io/Shiraz/#Shiraz%20Tutorial 
> 
> 
> open Images tab and then look at the two other tabs Image Polaroid which 
> render table correctly with no word-wrap and Image Slidein which renders 
> wrongly and wrap the words.
> 
> Cheers
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/467c887e-edf6-4187-9727-bf806fdeb711%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E4798AC3-28D4-4A6C-8C63-F51C766CA03F%40gmail.com.


Re: [tw5] http://kixam.github.io/TW5-datePicker/ How to set the locale

2019-10-11 Thread Stephan Hradek
Nope…

They do not give me german month names.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/270b7ba7-0c93-487b-a749-fb30b5144285%40googlegroups.com.


[tw5] Re: "PopupTagger"-Plugin does not work on wiki (version 5.1.21)

2019-10-11 Thread Birthe C
Hi Surya,

PopupTagger does work in version 5.1.21.
When you write that TagBar is visible on all the tiddlers of the Plugin it 
is due to being configured to show you Eucalis tagbar. (In config tiddler 
you can see the filter for it.)
You have to go to the config tiddler and set up your own tagbar, Parent 
tag, filter and all that. Remember also to set active and enable the Popup 
tagger switch. It can be a little confusing to set up, and I do not really 
use it anymore.


Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/19f9549a-68b7-4fbf-8c1f-235d68e5567c%40googlegroups.com.


[tw5] Re: Number Base Conversion Macro (very neat!)

2019-10-11 Thread @TiddlyTweeter
Repeat for email.

On Friday, 11 October 2019 15:45:12 UTC+2, @TiddlyTweeter wrote:
>
> In another thread Mark S. presented a magic macro to convert from decimal 
> to other bases.
>
> I think its a rather marvellous bit of coding.* I have no idea how it 
> works*, but it does work well.
>
> Its a VERY good illustration of using TW macros to achieve something 
> specific in a direct very useful, economic way. 
>
> This is my slight cosmetic re-order of it for converting decimal to  
> base-2 through to base-36.
>
> \define base-convertor(num,base,result:"")
> <$list filter="[<__num__>remainder<__base__>add[1]]" variable=remidx>
>   <$list filter="[<__num__>divide<__base__>trunc[]]" variable=num>
> <$list filter="[enlistnthaddsuffix<__result__>]" 
> variable="result">
>   <$list filter="[!regexp[^0$]]" emptyMessage=<>>
> <$macrocall $name=base-convertor num=<> base="$base$" 
> result=<>/>
>   
> 
>   
> 
> \end
>
> \define re-base(base,num)
> <$vars
> syms="0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X 
> Y Z"
> >
>   <>
> 
> \end
>
> Syntax: re-base  "base" "decimal inut"
> Supports base-2 to base-36. 
>
> ;Examples
> :1025 decimal = <> 
> base 2
> :1025 decimal = <> base 10
> :1025 decimal = <> base 16
> :1025 decimal = <> base 26
> :1025 decimal = <> base 27
> :1025 decimal = <> base 36
>
>
> Partly Mark responded because I needed that tool to properly document 
> non-Westren body-part counting systems. 
> As soon as I had it up I wrote a note for a culture that counts in 
> base-27. I could not have done it without it.
>
> Thanks Mark!
>
> [image: Annotation 2019-10-11 145847.jpg]
>
>
> Best wishes
> TT
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/152f7069-7afd-4b1e-9915-759c1b6204e3%40googlegroups.com.


Re: [tw5] Re: Typing lag in <$edit-text/> widget

2019-10-11 Thread Hubert
Just to add, sliders created using the <$range/> widget are now also smooth 
as butter, as long as the tiddler being updated is an unsaved draft, eg:

<$range tiddler="Draft of 'edit-range'" min=0 max=10 default=5 
increment=0.5/>

I've tested this on desktop and mobile. Even on desktop, removing the few 
seemingly imperceptible miliseconds of choppiness made a huge difference. 
This seems to make it clear that the benefits of delayed refresh go so much 
farther and are not limited to smooth typing experience alone.

Regards,
Hubert

On Friday, 11 October 2019 11:51:25 UTC+1, Hubert wrote:
>
> Hi Jeremy,
>
> Thank you for taking the time to respond, I appreciate it.
>
> We could add an additional field that we check for along with the 
>> “draft.of” field, such as “refresh.slow” as suggested in the thread above. 
>> I don’t think that’s going to be particularly convenient in lots of 
>> situations (e.g. ensuring that $:/temp/search gets that field). Another 
>> possibility might be to use a special prefix e.g. $:/dampened/ or perhaps 
>> $:/volatile/.
>>
>
> I would be happy with either solution so long as such a non-draft tiddler 
> is excluded from instant refreshes. Perhaps a tiddler having a field 
> refresh.slow could be referenced in $:/temp/search in italics (similar to 
> how shadow tiddlers are in bold)?
>
> May I ask whether this is something that could be considered for the next 
> release?
>
> I’m not sure what you mean here. Are you talking about the draft tiddler 
>> notification at the bottom of the screen?
>>
>
> Yes, that's exactly it. I've found it's defined in 
> $:/core/ui/PageTemplate/drafts and have already overwritten it accordingly, 
> removing only the single "Draft of..." tiddler I'm editing using 
> <$edit-text/> widget in another tiddler.
>
> I may have missed something in the thread earlier, but you can keep a 
>> perpetual draft by not opening it directly, instead editing it via an 
>> edit-text widget from another tiddler.
>>
>
> This is exactly the approach I'm taking now, but I failed to express it as 
> concisely.
>
> Best regards,
> Hubert
>
>
>
>
> On Friday, 11 October 2019 11:25:09 UTC+1, Jeremy Ruston wrote:
>>
>> Hi Hubert,
>>
>> Thank you for finding this thread from 2015:
>>
>> https://groups.google.com/d/topic/tiddlywiki/hlIvXE6jRys/discussion
>>
>> As you note, I think we are still in the same place: on lower powered 
>> devices, it would be useful to be able to extend the refresh dampening 
>> mechanism to selectively apply to tiddlers that are not drafts.
>>
>> The code that checks for tiddlers that should be included in refresh 
>> dampening looks for the presence of the “draft.of” field:
>>
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/render.js#L82-L88
>>
>> We can change that logic, but we need to keep it simple because it will 
>> be executed every time any tiddler is modified. So, for example, using a 
>> filter would be ruled out.
>>
>> We could add an additional field that we check for along with the 
>> “draft.of” field, such as “refresh.slow” as suggested in the thread above. 
>> I don’t think that’s going to be particularly convenient in lots of 
>> situations (e.g. ensuring that $:/temp/search gets that field). Another 
>> possibility might be to use a special prefix e.g. $:/dampened/ or perhaps 
>> $:/volatile/.
>>
>> You asked
>>
>> Now I have to figure out how I can prevent this open text tiddler from 
>> being constantly referenced in a red notification rectangle
>>
>>
>> I’m not sure what you mean here. Are you talking about the draft tiddler 
>> notification at the bottom of the screen?
>>
>>
>> and to prevent TW from saving it, because once it exits editing mode the 
>> lag is reintroduced.
>>
>>
>> I may have missed something in the thread earlier, but you can keep a 
>> perpetual draft by not opening it directly, instead editing it via an 
>> edit-text widget from another tiddler.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>> Regards,
>> Hubert
>>
>>
>>
>> On Friday, 11 October 2019 09:09:34 UTC+1, Hubert wrote:
>>>
>>> Hi Mark,
>>>
>>> My TW now has 63k entries, and, in a meeting the other day,I was able to 
 look up entries about as fast as people asked.

>>>
>>> That's impressive. Did you use a search bar or your own  
>>> widget? I'm particularly interested if it was the latter.
>>>
>>> But that was using a Kindle Fire, which might have a stronger processor
 than a motorola phone.

 I don't believe you've mentioned what browser you're using. My tests 
 were on an old version of FF that I'm not upgrading because it
 can still use TiddlyFox.

 It might be worth experimenting with different browsers. I believe 
 browser makers have wide latitude in how they implement JS internals.

>>>
>>> I'm now at a Windows PC with i7 processor, 8 gigs of RAM and running 
>>> latest FF. The lag is still there, albeit of course not that annoying as on 
>>> mobile. Same issue 

Re: [tw5] Re: Typing lag in <$edit-text/> widget

2019-10-11 Thread Hubert
Hi Jeremy,

Thank you for taking the time to respond, I appreciate it.

We could add an additional field that we check for along with the 
> “draft.of” field, such as “refresh.slow” as suggested in the thread above. 
> I don’t think that’s going to be particularly convenient in lots of 
> situations (e.g. ensuring that $:/temp/search gets that field). Another 
> possibility might be to use a special prefix e.g. $:/dampened/ or perhaps 
> $:/volatile/.
>

I would be happy with either solution so long as such a non-draft tiddler 
is excluded from instant refreshes. Perhaps a tiddler having a field 
refresh.slow could be referenced in $:/temp/search in italics (similar to 
how shadow tiddlers are in bold)?

May I ask whether this is something that could be considered for the next 
release?

I’m not sure what you mean here. Are you talking about the draft tiddler 
> notification at the bottom of the screen?
>

Yes, that's exactly it. I've found it's defined in 
$:/core/ui/PageTemplate/drafts and have already overwritten it accordingly, 
removing only the single "Draft of..." tiddler I'm editing using 
<$edit-text/> widget in another tiddler.

I may have missed something in the thread earlier, but you can keep a 
> perpetual draft by not opening it directly, instead editing it via an 
> edit-text widget from another tiddler.
>

This is exactly the approach I'm taking now, but I failed to express it as 
concisely.

Best regards,
Hubert




On Friday, 11 October 2019 11:25:09 UTC+1, Jeremy Ruston wrote:
>
> Hi Hubert,
>
> Thank you for finding this thread from 2015:
>
> https://groups.google.com/d/topic/tiddlywiki/hlIvXE6jRys/discussion
>
> As you note, I think we are still in the same place: on lower powered 
> devices, it would be useful to be able to extend the refresh dampening 
> mechanism to selectively apply to tiddlers that are not drafts.
>
> The code that checks for tiddlers that should be included in refresh 
> dampening looks for the presence of the “draft.of” field:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/render.js#L82-L88
>
> We can change that logic, but we need to keep it simple because it will be 
> executed every time any tiddler is modified. So, for example, using a 
> filter would be ruled out.
>
> We could add an additional field that we check for along with the 
> “draft.of” field, such as “refresh.slow” as suggested in the thread above. 
> I don’t think that’s going to be particularly convenient in lots of 
> situations (e.g. ensuring that $:/temp/search gets that field). Another 
> possibility might be to use a special prefix e.g. $:/dampened/ or perhaps 
> $:/volatile/.
>
> You asked
>
> Now I have to figure out how I can prevent this open text tiddler from 
> being constantly referenced in a red notification rectangle
>
>
> I’m not sure what you mean here. Are you talking about the draft tiddler 
> notification at the bottom of the screen?
>
>
> and to prevent TW from saving it, because once it exits editing mode the 
> lag is reintroduced.
>
>
> I may have missed something in the thread earlier, but you can keep a 
> perpetual draft by not opening it directly, instead editing it via an 
> edit-text widget from another tiddler.
>
> Best wishes
>
> Jeremy
>
>
>
>
> Regards,
> Hubert
>
>
>
> On Friday, 11 October 2019 09:09:34 UTC+1, Hubert wrote:
>>
>> Hi Mark,
>>
>> My TW now has 63k entries, and, in a meeting the other day,I was able to 
>>> look up entries about as fast as people asked.
>>>
>>
>> That's impressive. Did you use a search bar or your own  
>> widget? I'm particularly interested if it was the latter.
>>
>> But that was using a Kindle Fire, which might have a stronger processor
>>> than a motorola phone.
>>>
>>> I don't believe you've mentioned what browser you're using. My tests 
>>> were on an old version of FF that I'm not upgrading because it
>>> can still use TiddlyFox.
>>>
>>> It might be worth experimenting with different browsers. I believe 
>>> browser makers have wide latitude in how they implement JS internals.
>>>
>>
>> I'm now at a Windows PC with i7 processor, 8 gigs of RAM and running 
>> latest FF. The lag is still there, albeit of course not that annoying as on 
>> mobile. Same issue on Chrome.
>>
>>
>> On Thursday, 10 October 2019 16:29:56 UTC+1, Mark S. wrote:
>>>
>>> In my case, I kept the tags but removed all usage of the tag filter 
>>> operator. My TW now has 63k entries, and, in a meeting the other day,
>>> I was able to look up entries about as fast as people asked. But that 
>>> was using a Kindle Fire, which might have a stronger processor
>>> than a motorola phone.
>>>
>>> I don't believe you've mentioned what browser you're using. My tests 
>>> were on an old version of FF that I'm not upgrading because it
>>> can still use TiddlyFox.
>>>
>>> It might be worth experimenting with different browsers. I believe 
>>> browser makers have wide latitude in how they implement JS internals.
>>>
>>> Good luck!
>>>

[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Birthe C
Jed,

Thank you very much, Jed.
The problem is, that I have done exactly that, and tried over and over. 
Getting the message, it is saved. Closing down and restarting. Opening Bob 
setting and the servertab, the 
ws server host is set to o.o.o.o - but BobEXE is still serving on 127.0.0.1.


Birthe


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba5b9e0b-6e61-4995-b1ef-b70475b8f3bc%40googlegroups.com.


[tw5] Re: Image visability and user-friendliness

2019-10-11 Thread Stobot
Awesome - thanks Jed,

More basically though for when it *is* available. The only plugins I'm used 
to are kind of drag and drop from other tw sites. I don't understand how to 
install from github. Do I just drag and drop all the .js ones over? Copy 
and paste the .js ones into my tw?

On Friday, October 11, 2019 at 4:13:53 AM UTC-4, Jed Carty wrote:
>
> stobot,
>
> I have it working, but I think that I am using modified versions that I 
> never got around to putting online anywhere accessible.
> The different versions of ServerImages and Bob use slightly different 
> paths which makes them not play well together. I will try and push out new 
> versions of Both today to make things work.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11e61efb-64b4-4402-b444-55d8cc4550f0%40googlegroups.com.


Re: [tw5] Re: Typing lag in <$edit-text/> widget

2019-10-11 Thread Jeremy Ruston
Hi Hubert,

Thank you for finding this thread from 2015:

https://groups.google.com/d/topic/tiddlywiki/hlIvXE6jRys/discussion

As you note, I think we are still in the same place: on lower powered devices, 
it would be useful to be able to extend the refresh dampening mechanism to 
selectively apply to tiddlers that are not drafts.

The code that checks for tiddlers that should be included in refresh dampening 
looks for the presence of the “draft.of” field:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/render.js#L82-L88
 


We can change that logic, but we need to keep it simple because it will be 
executed every time any tiddler is modified. So, for example, using a filter 
would be ruled out.

We could add an additional field that we check for along with the “draft.of” 
field, such as “refresh.slow” as suggested in the thread above. I don’t think 
that’s going to be particularly convenient in lots of situations (e.g. ensuring 
that $:/temp/search gets that field). Another possibility might be to use a 
special prefix e.g. $:/dampened/ or perhaps $:/volatile/.

You asked

> Now I have to figure out how I can prevent this open text tiddler from being 
> constantly referenced in a red notification rectangle

I’m not sure what you mean here. Are you talking about the draft tiddler 
notification at the bottom of the screen?


> and to prevent TW from saving it, because once it exits editing mode the lag 
> is reintroduced.

I may have missed something in the thread earlier, but you can keep a perpetual 
draft by not opening it directly, instead editing it via an edit-text widget 
from another tiddler.

Best wishes

Jeremy



> 
> Regards,
> Hubert
> 
> 
> 
> On Friday, 11 October 2019 09:09:34 UTC+1, Hubert wrote:
> Hi Mark,
> 
> My TW now has 63k entries, and, in a meeting the other day,I was able to look 
> up entries about as fast as people asked.
> 
> That's impressive. Did you use a search bar or your own  widget? 
> I'm particularly interested if it was the latter.
> 
> But that was using a Kindle Fire, which might have a stronger processor
> than a motorola phone.
> 
> I don't believe you've mentioned what browser you're using. My tests were on 
> an old version of FF that I'm not upgrading because it
> can still use TiddlyFox.
> 
> It might be worth experimenting with different browsers. I believe browser 
> makers have wide latitude in how they implement JS internals.
> 
> I'm now at a Windows PC with i7 processor, 8 gigs of RAM and running latest 
> FF. The lag is still there, albeit of course not that annoying as on mobile. 
> Same issue on Chrome.
> 
> 
> On Thursday, 10 October 2019 16:29:56 UTC+1, Mark S. wrote:
> In my case, I kept the tags but removed all usage of the tag filter operator. 
> My TW now has 63k entries, and, in a meeting the other day,
> I was able to look up entries about as fast as people asked. But that was 
> using a Kindle Fire, which might have a stronger processor
> than a motorola phone.
> 
> I don't believe you've mentioned what browser you're using. My tests were on 
> an old version of FF that I'm not upgrading because it
> can still use TiddlyFox.
> 
> It might be worth experimenting with different browsers. I believe browser 
> makers have wide latitude in how they implement JS internals.
> 
> Good luck!
> 
> 
> On Thursday, October 10, 2019 at 8:00:47 AM UTC-7, Hubert wrote:
> Sounds counter-intuitive, but I've just checked it nevertheless.
> 
> Nope, 400 is much worse in my case.
> 
> The circumstantial evidence I have so far is pointing to tags...
> 
> On Thursday, 10 October 2019 15:49:30 UTC+1, Mark S. wrote:
> I you know, I think experienced this before, and commented. Try resetting the 
> timeout back to 400 and reloading.
> 
> After setting the TO to 6, it feels slower when typing into the input box.
> 
> On Thursday, October 10, 2019 at 5:53:07 AM UTC-7, Hubert wrote:
> Hi Mark,
>  
> Just testing now, and setting it to 6 doesn't seem to impact the speed 
> with regular editing nor inside a form box.
> 
> Have you reloaded the wiki after setting it to 6? It might not take 
> effect until reloaded.
> 
> Is there anything special about your TW file? Have you tested on an empty ?
> 
> No and yes, respectively.
> 
> The lag on mobile may be more or less noticeable, which could even depend on 
> the size of the wiki and/or on the number of tiddlers currently open. I lack 
> the knowledge to draw conclusions but I do suspect it has to do with the 
> refresh mechanism.
> 
> BTW. my wiki is just slightly over 5 megs.
> 
> Regards,
> Hubert
> 
> 
> On Wednesday, 9 October 2019 21:15:04 UTC+1, Mark S. wrote:
> I've mentioned typing speeds in the past. I never found that the draft speed 
> setting really changed anything one
> way or the other. Maybe it makes a difference on Mac but not on Android.
> 
> Just testing now, and setting 

[tw5] Re: Quinoid

2019-10-11 Thread HC Haase
Hi 
is there any development on this? I have the same problem. It is good to 
know that there is no real problem, but still quite annoying.

thanks

torsdag den 31. januar 2019 kl. 17.34.39 UTC+1 skrev Mark S.:
>
> After a page has been loaded, it's sent some javascript to determine the 
> title. This results in some sort of internal error that you never see with 
> text pages and images because they have no javascript. TW does have 
> javascript, but  presumably the code that is being run is encrypted and 
> throws the error. I might experiment with another mechanism for getting the 
> title, but suspect it's something you'll have to live with for now. What I 
> would need to know to make a clean solution is whether there is something 
> inside of a TW file that can be safely tested for encryption before running 
> fetch-title routine.
>
> -- Mark
>
> On Thursday, January 31, 2019 at 2:07:31 AM UTC-8, Hubert wrote:
>>
>> Mark, thanks for your work on the app!
>>
>> Does Quinoid treat password protected TWs differently? When I load mine, 
>> I get a JS red screen of death as an underlay to my password input field. I 
>> can dismiss that JS error message and continue without issues, so it's more 
>> a cosmetic nuisance. That said, the error does not show on any other 
>> browser.
>>
>> Thanks!
>> Hubert
>>
>> On Wednesday, 30 January 2019 17:10:58 UTC, @TiddlyTweeter wrote:
>>>
>>> Just a moment. With eyes that are not shut and a moustache that is 
>>> shorter and uplifts it could work.
>>>
>>> On Wednesday, 30 January 2019 17:57:14 UTC+1, Mark S. wrote:

 Obviously, I need to fire my graphic artist ...

 On Wednesday, January 30, 2019 at 1:11:21 AM UTC-8, Mohammad wrote:
>
> Hi Tony
>  Have you got new icon?
> I installed the new update the icon is the same as 190128a a middle 
> aged cat (seems very serious)!
>
> --Mohammad
>
> On Wednesday, January 30, 2019 at 10:17:16 AM UTC+3:30, TonyM wrote:
>>
>> Mark,
>>
>> I am very Interested. Just installed on my LG V20 android 8.0.0
>>
>> Looking very good, once again ahead in leaps and bounds.
>>
>> Cute new Icon on Home screen and in app.
>>
>>
>>- When Installing it requests no permissions
>>- When Starting it asks for file access
>>- Local Files Select wiki, title not known, opened quickly
>>- Return to Quinoid "file manager" - Title not perfect but good 
>>enough "~PSaT Material" was the wiki title.
>>   - Perhaps if title creation simply ignored "~"
>>- System Explorer, select wiki 
>>- Attempt to import gives File Chooser "Capture Image" and 
>>"Files", 
>>   - Capture Image, take photo, imported image (may need rotation)
>>   - Files, Select json no result after selection
>>   - Files, Open TiddlyWiki file Import opens and can toggle what 
>>   to import, tiddler import works
>>   - EXPORTING
>>   - View Menu, More > Export tiddler > Presents choice csv, JSON 
>>   and Static HTML
>>  - CSV Saves wiki
>>   - Import geolocations JSON
>>   - Tiddlers imported
>>   - Displays "undefined widgety 'geoloc'
>>   - Save, Reload Button "No result
>>   - Exit Quinoid
>>   - Repoen - Geolocation tiddler, previouse error gone
>>   - Get Message $:/temp/geolocationsMessage eolocation access 
>>   denied: User denied Geolocation. "You may not are connected via 
>> httpS:" 
>>   (exactly as reported no typos).
>>   - Phone Settings >  Apps and Notifications, Locate Quinoid, 
>>   permissions, all permissions, can only see SD related permissions
>>   - Phone Settings >  Apps and Notifications > App Permissions > 
>>   Your Location > Quinoid not listed for me to activate (setup 
>> widget uses 
>>   same icon as Quinoid
>>
>> One of my wikis has the Title @@colour:blue:titlename@@ and renders 
>> the same in the list.- I do not think you need to address this.
>>
>> Regards
>> Tony
>>
>> On Wednesday, January 30, 2019 at 4:16:56 PM UTC+11, Mark S. wrote:
>>>
>>> If anyone is interested in testing, I've added quinoid-190129a.apk 
>>> to the current v0.0.5alpha release.
>>>
>>> It  may, or may not, add the ability to import (but not export) 
>>> files.
>>>
>>> Thanks for your feedback!
>>>
>>> https://github.com/Marxsal/Quinoid01/releases/tag/v0.0.5alpha
>>>
>>> -- Mark
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Birthe C
How do I get BobEXE to serve on 0.0.0.0?

I have searched this group and found a lot having that problem, suggestions 
about editing the settings file and so on. Editing the settings file does 
not seem to help or change anything. BobExe keeps serving on 127.0.0.1.

I am using the latest BobExe for 64 bit. Running Linux Mint Mate 19.2, 
please help - (and remember that I am an idiot)


Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad6e9555-c5da-43d0-b2d8-39666d3fb24e%40googlegroups.com.


[tw5] Re: Splash screen "breaks" decrypt prompt for wiki

2019-10-11 Thread HC Haase


fredag den 11. oktober 2019 kl. 10.35.37 UTC+2 skrev Hubert:
>
> HC,
>
> I'm not sure if the password wrapper allows it. I've tried it myself and 
> failed.
>

damn.. thanks for the answer  

>
> Instead, you might want to try adding your text in your splash screen 
> tiddler and perhaps positioning it using CSS (position: absolute, etc.) 
> This might work with a lot of trial and error but it's not pretty code-wise 
> and not recommended.
>

Maybe I will try this later. But in principle I don't think a message that 
belongs with the password should be in the splash screen ( if you have 
super slow conection/computer it will show when the prompt is gone).

For now I just added the svg logo to the splash screen... I think it looks 
very nice and minimal (thanks to your prompt).

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d4f84831-53b2-42ae-bb00-8acf50cbb227%40googlegroups.com.


[tw5] Re: Splash screen "breaks" decrypt prompt for wiki

2019-10-11 Thread Hubert
HC,

I'm not sure if the password wrapper allows it. I've tried it myself and 
failed.

Instead, you might want to try adding your text in your splash screen 
tiddler and perhaps positioning it using CSS (position: absolute, etc.) 
This might work with a lot of trial and error but it's not pretty code-wise 
and not recommended.

Hubert

On Friday, 11 October 2019 09:15:04 UTC+1, HC Haase wrote:
>
> @Hubert
>
> I try to customise it a bit. could you help me please.
> How do I put an extra text below the prompt? 
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a86facab-dfb1-40a9-a76c-0e07ffb8074e%40googlegroups.com.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Ed
Actually I am having no fun since yesterday. Starting BobWin.exe is not 
working.
Very shortly the shell window appears. and before any code can be seen 
inside
that window disappears. It happened also with a freshly downkoaded Bob.

I am very unhappy.

Must be something to do with my computer, or our network.About about 300 
people 
work here. Not al at the same time but quite many regularly, so we have 
quiet an
IT-department. Maybe they changed something. They only assist with the 
regularly 
programs we officially use, so no help fromtheir side can be expected.
Really dunno. 8-(( Snifs.

Anybody out there with a solution.
Many Thanks in advance, Ed





Op vrijdag 13 september 2019 13:51:31 UTC+2 schreef Jed Carty:
>
> It looks like I forgot to release a lot of changes. I haven't finished the 
> inter-server federation setup as much as I would like, so none of that is 
> ready to be used yet.
>
> Most of the updates this time involve updates to the file server and the 
> wiki management interface.
>
> The most visible changes are the wiki management interface and the 
> mediaScan message.
>
> The wiki management interface should be pretty self-explanatory, just 
> check the control panel.
>
> The mediaScan message lets you give a folder and it finds all of the media 
> in the folder and makes _canonical_uri tiddlers for each thing it finds. 
> Check the documentation for more about it.
> Remember that only folders that are under the folder listed as the 
> filePathRoot can be used to serve images.
>
> As always, I am the only one who has done any significant testing with 
> this, so there may be bugs. Back up your wikis regularly.
>
> The plugin version of Bob is on GitHub here: 
> https://github.com/OokTech/TW5-Bob
> The newest version of BobEXE is available here: 
> https://github.com/OokTech/TW5-BobEXE/releases
>
> If you want to support the development OokTech has a patreon page here 
> https://www.patreon.com/OokTech
> or if you prefer there is a link for PayPal here 
> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick_button_id=ZG94CTLHTKYRE
>
> Here is the changelog for this release:
>
> Lots of changes from the previous release, expect there to be some bugs.
> Version 1.2.4 Mashed Potatoes with a fine black pepper gravy
>
>- Cleaned up some code in FileSystemMonitor.js and WebsocketAdaptor.js to 
>better partition what each does, no functional changes.
>- Split out the start of the federation components for inter-server 
>communication.
>- Change all of the checks to see if a tiddler has changed to use the 
>hash of the tiddler instead of matching fields. It should be less 
>suceptable to bugs. It may be slightly faster but this probably isn't a 
>place where that makes a difference.
>   - (unfinished) The hashes are cached where appropriate to make 
>   things a bit faster. Once again this may be unneeded but it was simple 
> to 
>   implement.
>- The normalizeTiddler and TiddlerHasChanged functions are used more 
>consistently
>   - fix some incorrect handing of tags and list fields in 
>   normalizeTiddler
>- Change code to use new core utility functions
>   - Used $tw.utils.generateTiddlerFileInfo where appropriate
>   - Used $tw.utils.saveTiddlerToFileSync,
>- Added collapsing wiki listing
>- Fixed a bug that sometimes prevented the file server from working 
>correctly in the root wiki.
>- Added the working framework for inter-server federation and messages.
>- Added a check to see if Bob was running in an iframe and if so don't 
>treat upgrade requests as websockets
>   - This is needed to make twederation work with Bob servers.
>- Fixed a bug where the list field would be sorted when it shouldn't 
>be.
>- Added command to scan a folder for media and create _canonical_uri 
>tiddlers for each thing found. (mediaScan)
>- updated to tiddlywiki v5.1.21
>- fixed a bug with how filter in $:/config/FileSystemPaths are handled
>
> Version 1.2.3 Boiled Potatoes
>
>- Setting up the file server is simpler now
>   - In the Bob Settings tab of the control panel there is a file 
>   server tab that lets you check a box to enable the server.
>   - There are also text boxes that let you set the folder where files 
>   are served from and the path prefix for files
>- The makeImagesExternal message was added. It takes all of the 
>embedded media in a wiki and copies it into the folder for the file server 
>and replaces the media tiddlers with tiddlers that have a _canonical_uri 
>field pointing to the media file.
>   - An option lets you copy the files into the globally available 
>   file folder or into the wiki specific file folder.
>- Add interface to duplicate an existing wiki
>   - You can optionally duplicate all of the child wikis that are 
>   contained in the folder of the wiki you are duplicating.
>- Add 

[tw5] Re: Typing lag in <$edit-text/> widget

2019-10-11 Thread Hubert
Mark,

I've found this old post of yours 
, 
again, in relation to performance issues specifically related to typing. 
This was even before TypingTimeout was a user-adjustable setting.

This led me to experiment with an altogether different approach that has 
tentatively *solved the issue*. Now I can type with no lag at all, but 
unfortunately this approach requires that a tiddler I'm typing into is 
constantly open (a 'draft of' tiddler), so as such it's a band aid approach.

The reasons behind this is that TW exempts draft tiddlers from constant 
refreshes or at least allows us to defer processing by a value we set in 
TypingTimeout, which regrettably is a value that only affects draft 
tiddlers (the ones that remain in editing mode).

Example code:

<$edit-text tiddler="Draft of 'text'"/>


   1. Create a tiddler titled text, save it
   2. Open the tiddler and navigate away from it (without closing it or 
   saving it)
   3. Open a tiddler with the edit-text widget and type with no lag
   
This is the level of typing experience I was expecting.

Now I have to figure out how I can prevent this open text tiddler from 
being constantly referenced in a red notification rectangle and to prevent 
TW from saving it, because once it exits editing mode the lag is 
reintroduced.

Regards,
Hubert



On Friday, 11 October 2019 09:09:34 UTC+1, Hubert wrote:
>
> Hi Mark,
>
> My TW now has 63k entries, and, in a meeting the other day,I was able to 
>> look up entries about as fast as people asked.
>>
>
> That's impressive. Did you use a search bar or your own  
> widget? I'm particularly interested if it was the latter.
>
> But that was using a Kindle Fire, which might have a stronger processor
>> than a motorola phone.
>>
>> I don't believe you've mentioned what browser you're using. My tests were 
>> on an old version of FF that I'm not upgrading because it
>> can still use TiddlyFox.
>>
>> It might be worth experimenting with different browsers. I believe 
>> browser makers have wide latitude in how they implement JS internals.
>>
>
> I'm now at a Windows PC with i7 processor, 8 gigs of RAM and running 
> latest FF. The lag is still there, albeit of course not that annoying as on 
> mobile. Same issue on Chrome.
>
>
> On Thursday, 10 October 2019 16:29:56 UTC+1, Mark S. wrote:
>>
>> In my case, I kept the tags but removed all usage of the tag filter 
>> operator. My TW now has 63k entries, and, in a meeting the other day,
>> I was able to look up entries about as fast as people asked. But that was 
>> using a Kindle Fire, which might have a stronger processor
>> than a motorola phone.
>>
>> I don't believe you've mentioned what browser you're using. My tests were 
>> on an old version of FF that I'm not upgrading because it
>> can still use TiddlyFox.
>>
>> It might be worth experimenting with different browsers. I believe 
>> browser makers have wide latitude in how they implement JS internals.
>>
>> Good luck!
>>
>>
>> On Thursday, October 10, 2019 at 8:00:47 AM UTC-7, Hubert wrote:
>>
>>> Sounds counter-intuitive, but I've just checked it nevertheless.
>>>
>>> Nope, 400 is much worse in my case.
>>>
>>> The circumstantial evidence I have so far is pointing to tags...
>>>
>>> On Thursday, 10 October 2019 15:49:30 UTC+1, Mark S. wrote:

 I you know, I think experienced this before, and commented. Try 
 resetting the timeout back to 400 and reloading.

 After setting the TO to 6, it feels *slower* when typing into the 
 input box.

 On Thursday, October 10, 2019 at 5:53:07 AM UTC-7, Hubert wrote:
>
> Hi Mark,
>  
>
>> Just testing now, and setting it to 6 doesn't seem to impact the 
>> speed with regular editing nor inside a form box.
>>
>
> Have you reloaded the wiki after setting it to 6? It might not 
> take effect until reloaded.
>
> Is there anything special about your TW file? Have you tested on an 
>> empty ?
>>
>
> No and yes, respectively.
>
> The lag on mobile may be more or less noticeable, which could even 
> depend on the size of the wiki and/or on the number of tiddlers currently 
> open. I lack the knowledge to draw conclusions but I do suspect it has to 
> do with the refresh mechanism.
>
> BTW. my wiki is just slightly over 5 megs.
>
> Regards,
> Hubert
>
>
> On Wednesday, 9 October 2019 21:15:04 UTC+1, Mark S. wrote:
>>
>> I've mentioned typing speeds in the past. I never found that the 
>> draft speed setting really changed anything one
>> way or the other. Maybe it makes a difference on Mac but not on 
>> Android.
>>
>> Just testing now, and setting it to 6 doesn't seem to impact the 
>> speed with regular editing nor inside a form box.
>>
>> Is there anything special about your TW file? Have you tested on an 
>> 

[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Jed Carty
Dave,

The federation components I am (slowly) working on will handle inter-server 
syncing in a way that doesn't break anything. The problem is that they need 
to be able to connect to each other which can be a problem if you don't 
have any open to the outside world. You would be able to have each of the 
servers (home and at work) sync with your phone to carry the changes 
between the two.

Some of my other work involves getting iOS and android builds of node 
content which would make putting Bob on a phone much easier, but I don't 
think that will happen anytime soon.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f12c3ecb-4b9c-4729-bb2c-9cd303817931%40googlegroups.com.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.4, lightly steamed asparagus, file server and wiki management updates

2019-10-11 Thread Ed
Great, thanks Dave, for calling in!
Mm, where's Stobot? I recall him
using Bob also.

Have fun guys. Ed

Op vrijdag 11 oktober 2019 04:10:41 UTC+2 schreef Dave:
>
> I love Bob.  Bob's my uncle.
>
> I love being able to read tiddler content from outside the browser system 
> (e.g via bash scripts), and I look forward to learning how to trigger bash 
> scripts from within Bob (I know its possible, just haven't learned how yet)
>
> I sync files between my home and work instances and sometimes that screws 
> up file versions, but that's not a major problem.  Am looking forward to 
> the easy-peezy secure server solution for accessing a single instance from 
> a "personal cloud" thingie too!! (I'm not smart enough to set up the server 
> securely at this point)
>
> Long live Bob!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b1da73b-6272-4f14-b433-99de58d2b301%40googlegroups.com.


[tw5] Re: Splash screen "breaks" decrypt prompt for wiki

2019-10-11 Thread HC Haase
@Hubert

I try to customise it a bit. could you help me please.
How do I put an extra text below the prompt? 

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc41caae-740f-43b3-9fee-71814ce90c23%40googlegroups.com.


[tw5] Re: Image visability and user-friendliness

2019-10-11 Thread Jed Carty
stobot,

I have it working, but I think that I am using modified versions that I 
never got around to putting online anywhere accessible.
The different versions of ServerImages and Bob use slightly different paths 
which makes them not play well together. I will try and push out new 
versions of Both today to make things work.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c050404-c541-4082-a8cf-c535b9d0f553%40googlegroups.com.


[tw5] Re: Typing lag in <$edit-text/> widget

2019-10-11 Thread Hubert
Hi Mark,

My TW now has 63k entries, and, in a meeting the other day,I was able to 
> look up entries about as fast as people asked.
>

That's impressive. Did you use a search bar or your own  
widget? I'm particularly interested if it was the latter.

But that was using a Kindle Fire, which might have a stronger processor
> than a motorola phone.
>
> I don't believe you've mentioned what browser you're using. My tests were 
> on an old version of FF that I'm not upgrading because it
> can still use TiddlyFox.
>
> It might be worth experimenting with different browsers. I believe browser 
> makers have wide latitude in how they implement JS internals.
>

I'm now at a Windows PC with i7 processor, 8 gigs of RAM and running latest 
FF. The lag is still there, albeit of course not that annoying as on 
mobile. Same issue on Chrome.


On Thursday, 10 October 2019 16:29:56 UTC+1, Mark S. wrote:
>
> In my case, I kept the tags but removed all usage of the tag filter 
> operator. My TW now has 63k entries, and, in a meeting the other day,
> I was able to look up entries about as fast as people asked. But that was 
> using a Kindle Fire, which might have a stronger processor
> than a motorola phone.
>
> I don't believe you've mentioned what browser you're using. My tests were 
> on an old version of FF that I'm not upgrading because it
> can still use TiddlyFox.
>
> It might be worth experimenting with different browsers. I believe browser 
> makers have wide latitude in how they implement JS internals.
>
> Good luck!
>
>
> On Thursday, October 10, 2019 at 8:00:47 AM UTC-7, Hubert wrote:
>
>> Sounds counter-intuitive, but I've just checked it nevertheless.
>>
>> Nope, 400 is much worse in my case.
>>
>> The circumstantial evidence I have so far is pointing to tags...
>>
>> On Thursday, 10 October 2019 15:49:30 UTC+1, Mark S. wrote:
>>>
>>> I you know, I think experienced this before, and commented. Try 
>>> resetting the timeout back to 400 and reloading.
>>>
>>> After setting the TO to 6, it feels *slower* when typing into the 
>>> input box.
>>>
>>> On Thursday, October 10, 2019 at 5:53:07 AM UTC-7, Hubert wrote:

 Hi Mark,
  

> Just testing now, and setting it to 6 doesn't seem to impact the 
> speed with regular editing nor inside a form box.
>

 Have you reloaded the wiki after setting it to 6? It might not take 
 effect until reloaded.

 Is there anything special about your TW file? Have you tested on an 
> empty ?
>

 No and yes, respectively.

 The lag on mobile may be more or less noticeable, which could even 
 depend on the size of the wiki and/or on the number of tiddlers currently 
 open. I lack the knowledge to draw conclusions but I do suspect it has to 
 do with the refresh mechanism.

 BTW. my wiki is just slightly over 5 megs.

 Regards,
 Hubert


 On Wednesday, 9 October 2019 21:15:04 UTC+1, Mark S. wrote:
>
> I've mentioned typing speeds in the past. I never found that the draft 
> speed setting really changed anything one
> way or the other. Maybe it makes a difference on Mac but not on 
> Android.
>
> Just testing now, and setting it to 6 doesn't seem to impact the 
> speed with regular editing nor inside a form box.
>
> Is there anything special about your TW file? Have you tested on an 
> empty ?
>
> Good luck!
>
> On Wednesday, October 9, 2019 at 12:49:43 PM UTC-7, Hubert wrote:
>>
>> Hi Mark,
>>
>> What vintage is your phone?
>>
>>
>> It's a fairly recent midrange Motorola. 
>>
>> What version of TW are you using? There are size/speed improvements 
>>> in 5.1.20.
>>
>>
>> I'm using the latest stable TW version (5.1.21).
>>
>> I tried your test on the full downloaded TiddlyWiki.com page on my 
>>> 2012 era samsung phone. The speed of course was slow, but it was the 
>>> same 
>>> for the edit box as for editing the tiddler itself.
>>
>>
>> Thanks for having a go with the test on mobile. Have you modified the 
>> TypingTimeout value before testing? I'm having a "native" (no lag) 
>> typing 
>> experience when editing a tiddler after setting the value in 
>> $:/config/Drafts/TypingTimeout to 6. By default, this value is 
>> around 
>> 400 (ms), which results in a noticeable lag in my case, so just 
>> wondering.
>>
>> You probably know this already, but be sure to not have your "recent" 
>>> tiddler opened in the sidebar.
>>
>>
>> Yes, I do :). I have it disabled across the whole wiki.
>>
>>
>>
>> On Wednesday, 9 October 2019 19:55:31 UTC+1, Mark S. wrote:
>>>
>>> What vintage is your phone?
>>>
>>> What version of TW are you using? There are size/speed improvements 
>>> in 5.1.20.
>>>
>>> I tried your test on the full 

[tw5] Wrongly word-wrap in table cell

2019-10-11 Thread Mohammad
It seems Tiddlywiki table wrongly wrap words!
While in a table there is no need to wrap, TW renders table with wrapping 
word for example it shows optional as

option
al


Is this a bug or it has been set intentionally?

*Example*

see https://kookma.github.io/Shiraz/#Shiraz%20Tutorial

open *Images tab* and then look at the two other tabs *Image Polaroid* 
which render table correctly with no word-wrap and *Image Slidein* which 
renders wrongly and wrap the words.

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/467c887e-edf6-4187-9727-bf806fdeb711%40googlegroups.com.


[tw5] Re: Splash screen "breaks" decrypt prompt for wiki

2019-10-11 Thread HC Haase
Now I am thinking; why isn't there a standard splash screen build in?
of course this is a very minor part of TW and will only flash the screen so 
seldom for most users, but why not? could give a bit more professional look.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4a94f3f-31fb-4275-a8c8-7d1f2e12bf1f%40googlegroups.com.


[tw5] Re: Splash screen "breaks" decrypt prompt for wiki

2019-10-11 Thread HC Haase
Thank you all for your help. 
I didn't edit the html file manually nor did I edit the $:/boot/boot.css 
tiddler.

I Could not find the reason for the error, so in the end. I rolled back to 
a backup and imported my tiddelers (without system tid) made since that 
point in time.

@Hubert
Oh that is so nice. I really like the clean dark look. thanks (and sorry 
but now I know that I find the standard password prompt really ugly)


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5305bca9-cc8c-4835-b789-f7ca59dd884c%40googlegroups.com.