[tw5] Re: Bob and keystrokes

2021-07-05 Thread Ed Heil
Thanks, TW, PMario.   What defines a temporary tiddler for these purposes?  
Being under $:/temp/ ?


On Monday, July 5, 2021 at 9:23:48 PM UTC-4 PMario wrote:

> Hi Ed,
> You can create a form, that uses a temporary tiddler. Those tiddlers are 
> not synced. Once your values are written you can hit a button, that copies 
> the temp values to the real values. --> done
> -mario
>

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


[tw5] Re: Bob and keystrokes

2021-07-05 Thread PMario
Hi Ed,
You can create a form, that uses a temporary tiddler. Those tiddlers are 
not synced. Once your values are written you can hit a button, that copies 
the temp values to the real values. --> done
-mario

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


[tw5] Re: Bob and keystrokes

2021-07-05 Thread TW Tones
Ed,

Great to hear your application.

You should be able to design around this. Editing the current tiddler or 
others can cause 
1. loss of focus (due to edit self)
2. Delays if the entry causes a refresh elsewhere (on screen), or even if 
displayed in the current tiddler.

I expect you can reduce this by using a similar approach to html forms, 
such as edit a temporary tiddler/field and have to hit a submit style 
button, that copies the value in one hit to the destination. Since bob 
synchronises on a per tiddler basis such a submit kind of occurs anyway.

If none of the above are your issue, have a look at this 
https://tiddlywiki.com/#Hidden%20Setting%3A%20Typing%20Refresh%20Delay or 
if possible making use of the draft mechanism.

Regards
Tones


On Tuesday, 6 July 2021 at 05:08:05 UTC+10 Ed Heil wrote:

> I've got a wiki going on where I keep track of information for a tabletop 
> roleplaying game.  I've got it set up with Bob so everyone can see it at 
> once.  It's pretty great.
>
> One thing that I'm finding is that sometimes Bob doesn't seem to pick up 
> all the keystrokes it's being sent in edit text boxes.  For example, I have 
> a box where you can type in a number and then hit a button, and that number 
> will be added to an existing value somewhere.  Somebody might type 100 and 
> hit the button, but then only 10 will be added to the other value.  It's as 
> if one of the keystrokes never made it to the server and back.
>
> Of course, having every keystroke in this given edit text box get sent to 
> the server is how TW/Bob works, but it seems like it's causing more trouble 
> than it's worth.  I'm wondering if there's anything I could be doing to 
> make this simpler.  Like, if it were a regular form on a normal page, you 
> could type all you wanted in it and nothing would go to the server unless 
> you submitted it.  So there would be no way what was in the box could get 
> "out of sync" with what was on the server.  That's not how TW works -- 
> everything typed in an input field immediately affects the TW, and in a Bob 
> context, it immediately affects the state of the app as known to Node on 
> the server.  But...  I wonder if there's a way around this problem.
>
> It seems like by typing very slowly and carefully the problem is 
> minimized, but I'd love it if there's a way to actually solve it.
>
> I think (not sure) the problem is worse when multiple people are looking 
> at the wiki at once so there's more to update.
>
>

-- 
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/d5ef277c-55d2-4c78-8173-24ceea02376bn%40googlegroups.com.


[tw5] Re: What's the issue with IDs again?

2021-07-05 Thread TW Tones
Chris,

One thing I have observed with issues such as this, is too many people look 
for "one size fits all" to the detriment of finding a good enough solution. 
In my last post I hit at a number of good enough solutions for many 
different cases. 

Perhaps the simplest method is to break the content into separate tiddlers, 
and use the tiddler title as the id (maybe with slugify), and have only one 
id per tiddler. then there will be no non unique ID's.

Also as I pointed out you could use a class, which can be non-unique, 
however you try to keep them unique.

In a separate issue I created a solution where at a click, a tiddler was 
issued a unique serial number (wiki scope), the thing is only some tiddlers 
need a unique identifier and it can be obvious when this is necessary. If 
you are concerned about this not being unique when installing in another 
wiki, you can design an export or import method that clears and reissues 
the unique ID.

There many solutions and multiple work around available in TiddlyWiki.

Tones

On Tuesday, 6 July 2021 at 02:04:14 UTC+10 clutterstack wrote:

> I'm going to admit I'm missing something, too. I'm not certain whether 
> there's a technical factor that makes ids worse in TW than in HTML, or if 
> it's just the distinction between an HTML *developer* (who can easily put 
> duplicate ids into a page) and a TW *user*  that makes them too dangerous 
> (e.g. making *id* a widget attribute would introduce problems for 
> adopters and thus for the community trying to support them).
>
> Once you're writing macros using qualify etc., because you need some 
> unique identifier for the code to work, then you get the responsibility for 
> the edge cases.
>
> I'm fuzzy on whether there's an intractable technical problem that 
> prevents, for example, a widget for an HTML datalist tag, using qualify 
> to get a unique id. I have to admit I haven't explored it, but I haven't 
> thought of a reason why it couldn't work -- just that if you put that 
> widget in twice in a row with the same attribute values, you would get two 
> elements with the same id, so if policy is that a widget should not allow 
> a user to do that, then...but even then, surely there's technically a way 
> to generate a unique id for each instance? 
>
> I admit it gets messy (have to be able to keep track of and refer to that 
> id), and the more complicated it gets, the more attractive other 
> complicated-seeming solutions become (thinking about keyboard-driven-input).
>
> So, those are my thoughts today on that topic! Ha. I have been wondering. 
> I'm more satisfied now that I've thought it through, but still curious 
> about further insights.
>
> Best,
> Chris
>
> On Friday, July 2, 2021 at 12:56:58 PM UTC-4 Mat wrote:
>
>> In HTML one can apply an ID attribute to objects. I know this is not 
>> possible in TW... but I don't get why. Can someone explain why this is not 
>> possible or not appropriate, please.
>>
>> I have some ideas but need to understand this issue before going further.
>>
>> Thanx
>>
>> <:-)
>>
>

-- 
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/f32c018b-4725-4fbd-ab77-b13e0dbdd7c6n%40googlegroups.com.


[tw5] Re: Spell checker that works with CodeMirror?

2021-07-05 Thread TW Tones
Mario,

Thanks for the response. It is important for me to understand because you 
come from a stricter privacy approach than myself. 

Regards
Tones

On Monday, 5 July 2021 at 20:51:47 UTC+10 PMario wrote:

> On Sunday, July 4, 2021 at 1:26:21 PM UTC+2 TW Tones wrote:
>
> I assume then if you do not want to use an internet dictionary as you 
>> source of word checks then perhaps you need the aforementioned 700k of data 
>> that is a dictionary. 
>>
>
> No. I'm perfectly fine with the "Spell Check" preview option, using the 
> browser built-in dictionaries. ... Since I can install different versions, 
> I can freely switch between them, without adding bloat to the wiki. 
>  
>
>> Of course the browser allows us to download a dictionary to use the spall 
>> check, but grammar is another thing. Arguably it lends itself to a 
>> consolidated online database. So with privacy comes reduced functionality 
>> "as a rule" when that functionality comes from an on demand database that 
>> someone else curates.
>>
>
> I think: If something is free, I am the product. I'm very sceptic to send 
> personal content for grammar checking to a 3rd party server where 
> non-European legislative applies. 
>  
>
>> In am keen to know what you think about this apparent issue?
>>
>
> I'm pretty sure, that I'm not the first one with privacy concerns. I'm 
> pretty sure, that someone else did publish an open-source solution, that I 
> could use.
>
> If I really need grammar checking I would search for an open-source 
> project, that provides some docker images, that *I can build* - test and 
> tweak for my own purposes. Then I would try to find the source for a 
> browser addOn that I can configure or tweak to connect to my own server. 
>
> I would probably have a closer look at: LanguageTool. I didn't fully reat 
> their privacy statement  yet, so 
> I don't know, if I would trust them or not. But it looks interesting. 
> Especially since I did find some docker related stuff already. 
>
> -mario
>

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


[tw5] Bob and keystrokes

2021-07-05 Thread Ed Heil
I've got a wiki going on where I keep track of information for a tabletop 
roleplaying game.  I've got it set up with Bob so everyone can see it at 
once.  It's pretty great.

One thing that I'm finding is that sometimes Bob doesn't seem to pick up 
all the keystrokes it's being sent in edit text boxes.  For example, I have 
a box where you can type in a number and then hit a button, and that number 
will be added to an existing value somewhere.  Somebody might type 100 and 
hit the button, but then only 10 will be added to the other value.  It's as 
if one of the keystrokes never made it to the server and back.

Of course, having every keystroke in this given edit text box get sent to 
the server is how TW/Bob works, but it seems like it's causing more trouble 
than it's worth.  I'm wondering if there's anything I could be doing to 
make this simpler.  Like, if it were a regular form on a normal page, you 
could type all you wanted in it and nothing would go to the server unless 
you submitted it.  So there would be no way what was in the box could get 
"out of sync" with what was on the server.  That's not how TW works -- 
everything typed in an input field immediately affects the TW, and in a Bob 
context, it immediately affects the state of the app as known to Node on 
the server.  But...  I wonder if there's a way around this problem.

It seems like by typing very slowly and carefully the problem is minimized, 
but I'd love it if there's a way to actually solve it.

I think (not sure) the problem is worse when multiple people are looking at 
the wiki at once so there's more to update.

-- 
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/e94130dd-7fcc-4fdb-a8c2-838b9af93602n%40googlegroups.com.


[tw5] Re: [TW5] Open all the tiddlers with a particular tag

2021-07-05 Thread Mike Andyl
And by the way, there is an error in the code, that's more correct for the 
open button.

<$list filter=$filter$>
<$action-navigate $to={{!!title}}/>

<$action-sendmessage $message="tm-unfold-all-tiddlers" 
*foldedStatePrefix="$:/state/folded/"/>*

And don't do it in a  /$list loop!

воскресенье, 4 июля 2021 г. в 23:59:09 UTC+3, Mike Andyl: 

> Uh, I'm completely confused about these variable symbols.
> <<>>[[]]{}!!$()$
> Now the button works, but its name is not set, it remains the same. How to 
> deal with this?
> https://i.imgur.com/qLFu2cl.jpg
> воскресенье, 4 июля 2021 г. в 16:34:28 UTC+3, Soren Bjornstad: 
>
>> This isn't the correct filter syntax for transcluding a field into the 
>> filter:
>>
>> *<>*
>>
>> You probably want:
>>
>> *<>*
>>
>>
>> On Sunday, July 4, 2021 at 8:24:55 AM UTC-5 miket...@gmail.com wrote:
>>
>>> Please tell me pls why these buttons do not work?
>>>
>>>
>>>
>>> *\define openByFilter(filter)<$button>open filtered tiddlers $filter$*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *<$list filter=$filter$><$action-navigate 
>>> $to={{!!title}}/><$action-sendmessage 
>>> $message="tm-unfold-all-tiddlers"/>\end*
>>>
>>>
>>> *\define closeByFilter(filter)<$button>close filtered tiddlers $filter$*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *<$list filter=$filter$><$action-sendmessage 
>>> $message="tm-close-tiddler"/>\end*
>>>
>>>
>>> *<$select field="target" default='(none)'>>> value="null">(none)*
>>> *<$list filter="[tags[]!is[system]sort[title]]">*
>>>
>>>
>>>
>>>
>>>
>>> *>><$view 
>>> field="title"/>*
>>>
>>>
>>> *<><>> "[tag[{{!!target}}]]">>*
>>>
>>> пятница, 28 июля 2017 г. в 16:41:14 UTC+3, Andrew: 
>>>
 Check out my button 
 http://t5a.tiddlyspot.com/#%24%3A%2Fplugins%2Fajh%2Fopenall plugin 
 that can be installed from my library 
 http://t5a.tiddlyspot.com/#Plugin%20Library
>>>
>>>

-- 
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/3955e23a-fa33-4514-a66d-f967a09e6e3dn%40googlegroups.com.


[tw5] Re: [TW5] Open all the tiddlers with a particular tag

2021-07-05 Thread Mike Andyl
And by the way, there is an error in the code, that's more correct for the 
open button.









*\define openByFilter(filter name)<$button>open filtered tiddlers 
$name$<$list filter=$filter$><$action-navigate 
$to={{!!title}}/><$action-sendmessage 
$message="tm-unfold-all-tiddlers" 
foldedStatePrefix="$:/state/folded/"/>\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/f2d61218-c824-4a87-ad31-229c44e50340n%40googlegroups.com.


[tw5] Re: add hour to field

2021-07-05 Thread paulgilbert2000
Wow  Thanks Eric,

You never respond back with anything less than a full answer , i really 
wish i could repay you someday for your help and generosity 

Thank you sir!

On Monday, July 5, 2021 at 3:12:17 PM UTC+2 Soren Bjornstad wrote:

> Mystery solved! I needed to look up the syntax of compare the other day 
> and thought I was just being dense when I couldn't find it in the list.
>
> On Sunday, July 4, 2021 at 6:34:36 PM UTC-5 Eric Shulman wrote:
>
>> <<.group-heading "String Operators">>
>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>> Operators]!tag[Mathematics Operators]tag[String Operators]!tag[Tag 
>> Operators]!tag[Special Operators]sort[]]">>
>> <<.group-heading "Mathematics Operators">>
>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>> Operators]tag[Mathematics Operators]!tag[String Operators]!tag[Tag 
>> Operators]!tag[Special Operators]sort[]]">>
>>
>> On Sunday, July 4, 2021 at 4:22:07 PM UTC-7 Brian Radspinner wrote:
>>
>>> The compare operator should be added to the Mathematics section of the 
>>> Filter 
>>> Operators  table, I had no 
>>> idea it existed until I saw Eric's answer above.
>>>
>>
>> https://tiddlywiki.com/#compare%20Operator works for both numeric and 
>> string comparisons, and is thus tagged as both "Mathematics Operator" and 
>> "String Operator".  However, in 
>> https://tiddlywiki.com/#Filter%20Operators, each of those tag categories 
>> excludes the all other categories, so "compare" does not appear in either 
>> table
>>
>> -e
>>
>>

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


Re: [tw5] Why Message has been deleted?

2021-07-05 Thread Jeremy Ruston
I'm afraid that the spam detection features of Google Groups frequently holds 
messages until they have been approved by a human (typically me or Eric 
Shulman). We get an awful lot of this, it's not just you!

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 5 Jul 2021, at 19:40, Mike Andyl  wrote:
> 
> I can not answer or submit a new question? Have you blocked me?
> -- 
> 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/85b86d7a-b046-442b-b48d-7a74b042ffadn%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/4F0B9225-BCF2-4138-B0D8-63BF2DEE8208%40gmail.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl
I attached the code for it in the first post.

-- 
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/8553ae21-152d-4044-bbd9-e1366e4d5955n%40googlegroups.com.


[tw5] Why Message has been deleted?

2021-07-05 Thread Mike Andyl
I can not answer or submit a new question? Have you blocked me?

-- 
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/85b86d7a-b046-442b-b48d-7a74b042ffadn%40googlegroups.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl

I attached the code in the first post.
понедельник, 5 июля 2021 г. в 16:44:49 UTC+3, PMario: 

> Hi, 
> It would be much easier, if you posted the code, instead of images. I can 
> test the code with a wiki, but I have to test the code from an image in my 
> brain, which makes it much more difficult ... for me.
>
> You didn't show the the code for "image-picker-list", which seems to 
> contain the button, which doesn't work.
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6dd40760-962c-44ba-867e-bca730e793adn%40googlegroups.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Astor
code for it in the first post.

-- 
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/c6c98464-a2b3-42d5-a117-1a810f1f6701n%40googlegroups.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl
in 1st post

понедельник, 5 июля 2021 г. в 16:44:49 UTC+3, PMario: 

> Hi, 
> It would be much easier, if you posted the code, instead of images. I can 
> test the code with a wiki, but I have to test the code from an image in my 
> brain, which makes it much more difficult ... for me.
>
> You didn't show the the code for "image-picker-list", which seems to 
> contain the button, which doesn't work.
>
> -mario
>

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


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl
1st post

понедельник, 5 июля 2021 г. в 16:44:49 UTC+3, PMario: 

> Hi, 
> It would be much easier, if you posted the code, instead of images. I can 
> test the code with a wiki, but I have to test the code from an image in my 
> brain, which makes it much more difficult ... for me.
>
> You didn't show the the code for "image-picker-list", which seems to 
> contain the button, which doesn't work.
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa7ea357-22b6-4305-b7c0-01ed71336b27n%40googlegroups.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl
all code in 1st message

понедельник, 5 июля 2021 г. в 16:44:49 UTC+3, PMario: 

> Hi, 
> It would be much easier, if you posted the code, instead of images. I can 
> test the code with a wiki, but I have to test the code from an image in my 
> brain, which makes it much more difficult ... for me.
>
> You didn't show the the code for "image-picker-list", which seems to 
> contain the button, which doesn't work.
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b0c8ac3-b6b6-42b5-9db9-243054d8f5afn%40googlegroups.com.


[tw5] Re: What's the issue with IDs again?

2021-07-05 Thread clutterstack
I'm going to admit I'm missing something, too. I'm not certain whether 
there's a technical factor that makes ids worse in TW than in HTML, or if 
it's just the distinction between an HTML *developer* (who can easily put 
duplicate ids into a page) and a TW *user*  that makes them too dangerous 
(e.g. making *id* a widget attribute would introduce problems for adopters 
and thus for the community trying to support them).

Once you're writing macros using qualify etc., because you need some unique 
identifier for the code to work, then you get the responsibility for the 
edge cases.

I'm fuzzy on whether there's an intractable technical problem that 
prevents, for example, a widget for an HTML datalist tag, using qualify to 
get a unique id. I have to admit I haven't explored it, but I haven't 
thought of a reason why it couldn't work -- just that if you put that 
widget in twice in a row with the same attribute values, you would get two 
elements with the same id, so if policy is that a widget should not allow a 
user to do that, then...but even then, surely there's technically a way to 
generate a unique id for each instance? 

I admit it gets messy (have to be able to keep track of and refer to that id), 
and the more complicated it gets, the more attractive other 
complicated-seeming solutions become (thinking about keyboard-driven-input).

So, those are my thoughts today on that topic! Ha. I have been wondering. 
I'm more satisfied now that I've thought it through, but still curious 
about further insights.

Best,
Chris

On Friday, July 2, 2021 at 12:56:58 PM UTC-4 Mat wrote:

> In HTML one can apply an ID attribute to objects. I know this is not 
> possible in TW... but I don't get why. Can someone explain why this is not 
> possible or not appropriate, please.
>
> I have some ideas but need to understand this issue before going further.
>
> Thanx
>
> <:-)
>

-- 
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/c963d2f0-585c-4d2b-883e-06b7ec10ea1cn%40googlegroups.com.


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread PMario
Hi, 
It would be much easier, if you posted the code, instead of images. I can 
test the code with a wiki, but I have to test the code from an image in my 
brain, which makes it much more difficult ... for me.

You didn't show the the code for "image-picker-list", which seems to 
contain the button, which doesn't work.

-mario

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


[tw5] Re: add hour to field

2021-07-05 Thread Soren Bjornstad
Mystery solved! I needed to look up the syntax of compare the other day and 
thought I was just being dense when I couldn't find it in the list.

On Sunday, July 4, 2021 at 6:34:36 PM UTC-5 Eric Shulman wrote:

> <<.group-heading "String Operators">>
> <<.operator-rows "[tag[Filter Operators]!tag[Order 
> Operators]!tag[Mathematics Operators]tag[String Operators]!tag[Tag 
> Operators]!tag[Special Operators]sort[]]">>
> <<.group-heading "Mathematics Operators">>
> <<.operator-rows "[tag[Filter Operators]!tag[Order 
> Operators]tag[Mathematics Operators]!tag[String Operators]!tag[Tag 
> Operators]!tag[Special Operators]sort[]]">>
>
> On Sunday, July 4, 2021 at 4:22:07 PM UTC-7 Brian Radspinner wrote:
>
>> The compare operator should be added to the Mathematics section of the 
>> Filter 
>> Operators  table, I had no 
>> idea it existed until I saw Eric's answer above.
>>
>
> https://tiddlywiki.com/#compare%20Operator works for both numeric and 
> string comparisons, and is thus tagged as both "Mathematics Operator" and 
> "String Operator".  However, in https://tiddlywiki.com/#Filter%20Operators, 
> each of those tag categories excludes the all other categories, so 
> "compare" does not appear in either table
>
> -e
>
>

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


[tw5] Problem with tm-unfold-all-tiddlers button. Bug?

2021-07-05 Thread Mike Andyl
After clicking the button, this happens - many new entries "undefined 
<>" are created with the word "*show*".

https://i.imgur.com/62HclPh.jpg

This should unfold the entries, but that doesn't happen.

https://i.imgur.com/1y0nPU1.jpg

"The core uses a foldStatePrefix of $:/state/folded/ to store the *fold 
states* for the default story view."
But it doesn't work.

<$button>
Test
<$action-sendmessage $message="tm-unfold-all-tiddlers"/>


-- 
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/8c019930-7af5-49f1-9321-2c5190179d9bn%40googlegroups.com.


[tw5] Re: Problem with TiddlyWiki 5 after importing EverNote.

2021-07-05 Thread Mike Andyl
Yes, it seems that all the images are in place. No links or <> tags lead to 
them. Only  . And without this, the import turned out to be 
almost useless.

понедельник, 5 июля 2021 г. в 02:11:10 UTC+3, Mark S.: 

> Are there images in the images directory?
>
>
> On Sunday, July 4, 2021 at 2:44:43 PM UTC-7 miket...@gmail.com wrote:
>
>> Yes it works!
>> But now I understand these words :(
>> "when I imported Evernote, I didn't get any images!"
>>
>> When exporting, Evernote removes all normal links to images. And instead 
>> of them goes this:
>> > hash="0b63a644a5981ba32ed511b6172605a1" height="343"
>>
>> And
>> 
>> shutterstock_56797648.jpg
>> 
>> en-cache://tokenKey0b63a644a5981ba32ed511b6172605a1
>> 
>> 
>>
>> In theory, the import plugin should restore this. For example, in Joplin 
>> there is no such problem as it were.
>>
>> воскресенье, 4 июля 2021 г. в 21:20:48 UTC+3, Mark S.: 
>>
>>> I'm not sure why it's throwing an error. But instead of running it from 
>>> the command line, you can use the kit already built into node.
>>>
>>> Assuming you are in the same directory as your TW file, you can create a 
>>> temporary *empty* node instance which will install the *externalimages* 
>>> build command for you:
>>>
>>> *tiddlywiki test4 --init empty*
>>>
>>> Then run something like:
>>>
>>> *tiddlywiki test4 --load tw-with-images.html --output test4 --build 
>>> externalimages*
>>>
>>> Where *tw-with-images.html* is your source file with images. Now your 
>>> new TW file will appear  in "test4" directory like:
>>>
>>> *test4/externalimages.html*
>>> *test4/images/*
>>>
>>> Hopefully this will get you past the errors that occur at the command 
>>> line.
>>>
>>> On Sunday, July 4, 2021 at 8:00:18 AM UTC-7 miket...@gmail.com wrote:
>>>
 This is the only way it works, but I want to delete on the right one 
 without garbage! )))
 https://i.imgur.com/SCtyQFC.jpg
 воскресенье, 4 июля 2021 г. в 17:50:17 UTC+3, Mike Andyl: 

> https://i.imgur.com/CnyMBI4.jpg
> quotes not help me
>
> суббота, 3 июля 2021 г. в 19:27:31 UTC+3, Mark S.: 
>
>> Keep in mind that those instructions assume that you have tiddlywiki 
>> on node.js installed globally. 
>>
>> Here's a script/command line example:
>>
>> tiddlywiki --load tw-with-images.html  \
>>--output test4 \
>>--savetiddlers [is[image]] images \
>>--setfield [is[image]] "_canonical_uri" \
>> "$:/core/templates/canonical-uri-external-image" \
>> "text/plain" \
>>--setfield "[is[image]]" "text" "" "text/plain" \
>>--rendertiddler "$:/core/save/all" "tw-external.html" "text/plain"
>>
>> where tw-with-images.html is your source file, "images" is the name 
>> of the image directory, test4 is a directory where the output (images 
>> and 
>> html) will go, and tw-external.html is the new TW file where images have 
>> been replaced with external image links.
>>
>> The caveat is that I think you can only run this once against your 
>> source file. I'm not sure what will happen with to images that have 
>> already 
>> been replaced with external uris. Likewise, double check any of your 
>> source 
>> image tiddlers that you have already replaced by hand with 
>> _canonical_uri 
>> paths. I'm sure someone smarter than me could improve the filtering in 
>> the 
>> above so that it skips images that use the _canonical_uri field.
>>
>> Be sure to make backups before trying this!
>>
>> Good luck!
>>
>>
>> On Saturday, July 3, 2021 at 3:00:43 AM UTC-7 miket...@gmail.com 
>> wrote:
>>
>>> Can't do it, the instruction doesn't work
>>> https://groups.google.com/g/tiddlywiki/c/PueCb0KGmvM
>>>
>>> суббота, 3 июля 2021 г. в 04:05:56 UTC+3, Mark S.: 
>>>
 If you scroll down on that tiddler the section *Creating external 
 images under Node.js *explains how you can export all your images 
 into a separate folder using node.js. But, of course, first you have 
 to set 
 up and run TiddlyWiki on node.js. After the image files are exported 
 then 
 you can convert your node TW instance back to a single file instance.

 Using the new (prerelease 24?)  and the zip plugin it might be able 
 to come up with a solution that doesn't need node.js, but that would 
 be all 
 new territory.

 On Friday, July 2, 2021 at 5:11:23 PM UTC-7 miket...@gmail.com 
 wrote:

> 436 images. But I think the problem is with several very large BMP 
> files. They even take a few minutes to load like raw text. And now I 
> want 
> to delete, and make the pictures external. 
> https://tiddlywiki.com/static/ExternalImages.html
>
>
> пятница, 2 июля 2021 г. в 23:46:44 UTC+3, Mark S.: 

[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread Mike Andyl
No, it is not restored and does not work anymore, there are no symbols.
https://i.imgur.com/xTE3niN.jpg
https://i.imgur.com/TDvEgac.jpg
понедельник, 5 июля 2021 г. в 14:00:06 UTC+3, PMario: 

> On Sunday, July 4, 2021 at 11:04:23 PM UTC+2 miket...@gmail.com wrote:
>
>> And this shouldn't be restored if I canceled the changes and removed all 
>> the extra symbols before?
>>
>
> It will be restored, if you changed it back to the initial state. If not 
> it may be a bug, or you copy pasted some invisible character from the web 
> above the \define statement. 
>
> -mario
>

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


[tw5] Re: What is this weird error in "define"?

2021-07-05 Thread PMario
On Sunday, July 4, 2021 at 11:04:23 PM UTC+2 miket...@gmail.com wrote:

> And this shouldn't be restored if I canceled the changes and removed all 
> the extra symbols before?
>

It will be restored, if you changed it back to the initial state. If not it 
may be a bug, or you copy pasted some invisible character from the web 
above the \define statement. 

-mario

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


[tw5] Re: Spell checker that works with CodeMirror?

2021-07-05 Thread PMario
On Sunday, July 4, 2021 at 1:26:21 PM UTC+2 TW Tones wrote:

I assume then if you do not want to use an internet dictionary as you 
> source of word checks then perhaps you need the aforementioned 700k of data 
> that is a dictionary. 
>

No. I'm perfectly fine with the "Spell Check" preview option, using the 
browser built-in dictionaries. ... Since I can install different versions, 
I can freely switch between them, without adding bloat to the wiki. 
 

> Of course the browser allows us to download a dictionary to use the spall 
> check, but grammar is another thing. Arguably it lends itself to a 
> consolidated online database. So with privacy comes reduced functionality 
> "as a rule" when that functionality comes from an on demand database that 
> someone else curates.
>

I think: If something is free, I am the product. I'm very sceptic to send 
personal content for grammar checking to a 3rd party server where 
non-European legislative applies. 
 

> In am keen to know what you think about this apparent issue?
>

I'm pretty sure, that I'm not the first one with privacy concerns. I'm 
pretty sure, that someone else did publish an open-source solution, that I 
could use.

If I really need grammar checking I would search for an open-source 
project, that provides some docker images, that *I can build* - test and 
tweak for my own purposes. Then I would try to find the source for a 
browser addOn that I can configure or tweak to connect to my own server. 

I would probably have a closer look at: LanguageTool. I didn't fully reat 
their privacy statement  yet, so I 
don't know, if I would trust them or not. But it looks interesting. 
Especially since I did find some docker related stuff already. 

-mario

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