[tw5] Re: Example of a tool tip for abbreviations

2024-09-14 Thread Charlie Veniot
G'day Tim,

Because I really much prefer short-hand transclusions over macros, I just 
looked at that approach, and I fiddled a little bit with your 
implementation because I prefer type as little as possible and let the 
Transclusion template do as much of the work as possible.

(Code pasted after the two screenshots)

[image: Screenshot 2024-09-14 11.30.11 AM.png]

[image: Screenshot 2024-09-14 11.31.30 AM.png]


Ignore the triple-tick delimiters (needed by Talk TiddlyWiki for TW code)

```
<$list filter="[search:title,caseinsensitive{!!title}!match[tAbbr]]">
<$button tooltip={{!!text}}>{{!!title}}

```
and
```
Using an abbreviation works like this long hand: {{{ togaf || tAbbr }}}


```

On Saturday, September 14, 2024 at 10:49:35 AM UTC-3 Tim Pizey wrote:

> Hi,
>
> At https://timp.tiddlyhost.com/#Inline%20abbreviation%20example
>
> I use a global macro to find a tiddler by name and render it as a button.
>
> I would welcome code review or comments.
>
> best wishes
> Tim
>
> -- 
> Tim Pizey - http://tim.pizey.uk/
>

-- 
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/b6a654c3-887a-4574-9bd1-09a11bff96fdn%40googlegroups.com.


[tw5] Setting a universal/standard style for images

2024-04-28 Thread Charlie Veniot
That's pretty easy/simple CSS.

I'd suggest picking just one of width or height, so that images always 
maintain their respective proportions.

Here, I'm using "VW" for sizing so that image sizes are readjusted along 
with browser window resizing.

For example:

[image: Screenshot 2024-04-28 9.56.28 AM.png]

-- 
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/e8dbba1c-d5a9-4923-97d5-2ee060a172a0n%40googlegroups.com.


[tw5] Help with sortby

2024-04-23 Thread Charlie Veniot
Not sure how to attach a file in Reddit, so sharing a file here for "Help 
with sortby 
".

Download the attached and drag into TiddlyWiki.com to import the tiddlers.

I'm hoping this can help clarify the problem and the need.


-- 
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/5c416d8f-ea68-4349-9ea4-48c5d33c0e49n%40googlegroups.com.


Sample.json
Description: application/json


[tw5] Re: Setting up a TiddlyWiki as a BASIC programming platform

2024-03-27 Thread Charlie Veniot
Hey,

Thanks for your interest and the kind words !

I don't have any plans of creating a "name-your-language" Anywhere Machine 
because, being very fussy, I don't particularly like any other programming 
language.

(Although Gupta Team Developer is my bread and butter, and by leaps and 
bounds my favourite programming language, my heart has always belonged to 
BASIC.)

It might be possible to turn BASIC Anywhere Machine into a 
"name-your-language" Anywhere Machine, it would have to involve something 
that works like wwwBASIC, because BASIC Anywhere Machine is entirely 
designed to accommodate how wwwBASIC works.  (Refer to the wwwBASIC Github 
page. <https://github.com/google/wwwbasic>)

The short of it: BAM dynamically generates an HTML page that transcludes a 
modified version of the wwwBASIC.js javascript (instead of referring to 
some copy of wwwBASIC.js hosted somewhere on the web.

Cheers and best regards,

- Charlie



On Tuesday, March 26, 2024 at 2:31:33 AM UTC-3 Rahul Kashyap wrote:

> This is awesome.. perhaps we can do python as well?
>  no matter how slow, I would be interested in that.
>
> On Thursday, February 29, 2024 at 10:43:22 PM UTC-5 Charlie Veniot wrote:
>
>> Oops, those links should have been in separate lines:
>>
>> Part 1: https://youtu.be/kNNjmha5Fzg
>> Part 2: https://youtu.be/8obPweHvYWA
>> Part 3: https://youtu.be/8RQb6E07sqE
>> Part 4: https://youtu.be/2T1Q3Mn092g
>> Part 5: https://youtu.be/nyata8S71Rs
>>
>> On Thursday, February 29, 2024 at 11:42:10 PM UTC-4 Charlie Veniot wrote:
>>
>>> https://youtu.be/kNNjmha5Fzg https://youtu.be/8obPweHvYWA 
>>> https://youtu.be/8RQb6E07sqE https://youtu.be/2T1Q3Mn092g 
>>> https://youtu.be/nyata8S71Rs
>>>
>>

-- 
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/6976fe63-cc42-41c7-8abf-6f555141c1fbn%40googlegroups.com.


[tw5] Re: Setting up a TiddlyWiki as a BASIC programming platform

2024-02-29 Thread Charlie Veniot
Oops, those links should have been in separate lines:

Part 1: https://youtu.be/kNNjmha5Fzg
Part 2: https://youtu.be/8obPweHvYWA
Part 3: https://youtu.be/8RQb6E07sqE
Part 4: https://youtu.be/2T1Q3Mn092g
Part 5: https://youtu.be/nyata8S71Rs

On Thursday, February 29, 2024 at 11:42:10 PM UTC-4 Charlie Veniot wrote:

> https://youtu.be/kNNjmha5Fzg https://youtu.be/8obPweHvYWA 
> https://youtu.be/8RQb6E07sqE https://youtu.be/2T1Q3Mn092g 
> https://youtu.be/nyata8S71Rs
>

-- 
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/6bbc501d-6f95-4a63-8e9b-c50ff0fbaa8cn%40googlegroups.com.


[tw5] Setting up a TiddlyWiki as a BASIC programming platform

2024-02-29 Thread Charlie Veniot
https://youtu.be/kNNjmha5Fzg https://youtu.be/8obPweHvYWA 
https://youtu.be/8RQb6E07sqE https://youtu.be/2T1Q3Mn092g 
https://youtu.be/nyata8S71Rs

-- 
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/701b7f43-4fc1-44dd-bb28-8962b0aca282n%40googlegroups.com.


[tw5] Re: New Hear

2023-11-28 Thread Charlie Veniot
Hello, and welcome to the TiddlerHood!

Yes, the Google Group still works.

99.99% of folk discuss things over at TalkTiddlyWiki, so you'll find more 
engagement over there.

Anything you post here will also show at TalkTiddlyWiki 
 for the community to see.  There are a few 
folk who will come back here and reply to posts.



On Tuesday, November 28, 2023 at 9:15:45 AM UTC-4 James Idayi wrote:

> Does this still 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/6506b3ea-4486-4fc3-a829-6f258bbdbc1dn%40googlegroups.com.


[tw5] Grabbing a colour palette colour value for custom elements

2023-10-06 Thread Charlie Veniot
*(If viewing this from Google Groups, ignore the triple backticks.)*

This is one approach to applying a particular colour setting from colour 
palettes to a custom element, to make sure that element fits any selected 
palette:

```
<$let couleur={{{ 
[[$:/palette]get[text]getindex[sidebar-tiddler-link-foreground]] }}}>

.couleur 
{color:<>;text-decoration:underline;text-decoration-color:<>}

<$button message="tm-modal" param={{!!title}} class="tc-btn-invisible 
couleur" >{{!!title}}

```

-- 
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/ef15b26d-943b-4374-984e-551306fb51e4n%40googlegroups.com.


[tw5] Re: A very BASIC pie-charting service

2023-09-10 Thread Charlie Veniot
Oh, just to demonstrate dynamic generation of that URL (scenario: 
percentage of tiddlers vs percentage of shadows), paste the following into 
a tiddler in some TiddlyWiki instance:
*(if viewing this post in Google Groups, ignore the triple-backtick 
bookends)*

```

<$let tid_count={{{ [all[tiddlers]count[]] }}}
 sh_count={{{ [all[shadows]count[]] }}}
 tot_count={{{ [all[shadows]] [all[tiddlers]] +[count[]] }}}
 tid_pct = {{{ [dividemultiply[100]] }}}
 sh_pct = {{{ [dividemultiply[100]] }}} >

* Percentage of Tiddlers: <>
* Percentage of Shadows: <>

https://basicanywheremachine.neocities.org/sample_programs/Pie%20Chart%20Service.prod.run?SCREEN=17&DATA=]]
 
=[] =[[,]] =[[15]] =[[,]] =[] =[[,]] =[[42]] =[[,]] 
+[join[]] }}} style="width:250px;height:250px;"> 



```
On Sunday, September 10, 2023 at 7:02:23 AM UTC-3 Ste wrote:

> Good stuff! 
>
> On Friday, 8 September 2023 at 05:33:26 UTC+1 Charlie Veniot wrote:
>
>> Much prettier pie-charts can be created with javascript and CSS.
>>
>> This is for older folk like me who like BASIC programming.
>>
>> Enter the following in a tiddler in some TiddlyWiki:
>> *(ignore the triple-backticks; they are just to format the code correctly 
>> for TalkTiddlyWiki)*
>>
>> ```
>> https://basicanywheremachine.neocities.org/sample_programs/Pie%20Chart%20Service.prod.run?SCREEN=17&DATA=12,36,13,12,25,42,30,26,20,49,";
>>  
>> style="width:250px;height:250px;"> 
>> ```
>>
>> More details in this blog entry. 
>> <https://basicanywheremachine-news.blogspot.com/2023/09/bam-programs-as-web-services-pie-chart.html>
>>
>> *(By the way, should you actually find this thing useful and you actually 
>> like rough-around-the-edges old-school-charm, do save the HTML file and 
>> save it where you need it, because my hosted file might not be 
>> reliable/stable as a "service".)*
>>
>

-- 
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/5b1fc95a-9418-4405-a494-647f76dfea1dn%40googlegroups.com.


[tw5] A very BASIC pie-charting service

2023-09-07 Thread Charlie Veniot
Much prettier pie-charts can be created with javascript and CSS.

This is for older folk like me who like BASIC programming.

Enter the following in a tiddler in some TiddlyWiki:
*(ignore the triple-backticks; they are just to format the code correctly 
for TalkTiddlyWiki)*

```
https://basicanywheremachine.neocities.org/sample_programs/Pie%20Chart%20Service.prod.run?SCREEN=17&DATA=12,36,13,12,25,42,30,26,20,49,";
 
style="width:250px;height:250px;"> 
```

More details in this blog entry. 


*(By the way, should you actually find this thing useful and you actually 
like rough-around-the-edges old-school-charm, do save the HTML file and 
save it where you need it, because my hosted file might not be 
reliable/stable as a "service".)*

-- 
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/8b45f293-8ceb-4508-8176-8cc1164a74f2n%40googlegroups.com.


[tw5] TiddlyWiki very handy for generating code in any programming language

2023-08-11 Thread Charlie Veniot
Just an example of a macro to generate lines of BASIC code.

Results first, followed by the code.

*Results*
[image: Screenshot 2023-08-12 2.20.28 AM.png]
*Code* *(if viewing in Google Groups, ignore the leading and trailing 
triple-backticks)*
```
\define AREA(string)

<$let points="$string$"
 count={{{ [[$string$]split[ - ]] +[count[]] }}}>

<$list variable="element" filter="[range[1],]">
<$text text={{{ [match[1]thensplit[ - 
]nth[1]addprefix[PSET ]] +[addsuffix[ : AreaStartX = POINT(0) : AreaStartY 
= POINT(1)]]  }}}/>
<$text text={{{ [!match[1]thensplit[ - 
]nthaddprefix[LINE - ]] }}}/>

LINE - (AreaStartX, AreaStartY)



\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/6f888089-ecf8-4f9f-a79f-3d0dab7bc5b6n%40googlegroups.com.


[tw5] Re: One way of using TW.com for one's own documentation needs

2023-07-26 Thread Charlie Veniot
Oops, wrong link in the OP.

This is the right link 
<https://basicanywheremachine.neocities.org/Test/BAM_ProgReference?target=Bookmarks%3A%3Anow#Home>
.

On Wednesday, July 26, 2023 at 11:36:11 PM UTC-3 Charlie Veniot wrote:

> Documenting the "now" macro for BASIC Anywhere Machine's 
> "meta-programming" 
> <https://basicanywheremachine.neocities.org/Test/BAM_ProgReference?target=Bookmarks%3A%3Anow%23%EF%B8%8F%E2%83%A3meta#Home>
>
> BAM (BASIC Anywhere Machine) is a TW 5.2.3 instance.  To properly document 
> TW features as "macros for meta-programming" in BAM, I've decided to 
> directly embed relevant TiddlyWiki.com documentation right into BAM 
> documentation  (standing tall on the shoulders of others), and adding my 
> own bits of documentation for the bits specific to BAM.
>
> Because I"m using TW 5.2.3, I nabbed an archived version of 
> TiddlyWiki.com, and I'm using that instance as the content provider for the 
> bits I need for my BAM documentation.
>
> It is a bit slow loading because that TW.com instance is big.  Eventually, 
> I'll trim it down to just what I need.
>

-- 
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/05a17b39-96cf-427c-b1f1-c442f47041b0n%40googlegroups.com.


[tw5] One way of using TW.com for one's own documentation needs

2023-07-26 Thread Charlie Veniot
Documenting the "now" macro for BASIC Anywhere Machine's "meta-programming" 


BAM (BASIC Anywhere Machine) is a TW 5.2.3 instance.  To properly document 
TW features as "macros for meta-programming" in BAM, I've decided to 
directly embed relevant TiddlyWiki.com documentation right into BAM 
documentation  (standing tall on the shoulders of others), and adding my 
own bits of documentation for the bits specific to BAM.

Because I"m using TW 5.2.3, I nabbed an archived version of TiddlyWiki.com, 
and I'm using that instance as the content provider for the bits I need for 
my BAM documentation.

It is a bit slow loading because that TW.com instance is big.  Eventually, 
I'll trim it down to just what I need.

-- 
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/1186a46c-6a81-4168-a2ff-41bf40406630n%40googlegroups.com.


[tw5] Re: A way of creating Wikipedia article links

2023-07-05 Thread Charlie Veniot
And then, for the giggles:

[image: Screenshot 2023-07-06 12.33.05 AM.png]

On Wednesday, July 5, 2023 at 11:32:22 PM UTC-3 Charlie Veniot wrote:

> I've since added a second kind of Wikipedia link to handle the two ways I 
> use them.
>
> Two template tiddlers in the attached file.
>
> Usage example:
>
> [image: Screenshot 2023-07-05 11.29.54 PM.png]
>
> On Monday, January 30, 2023 at 6:42:28 PM UTC-4 Charlie Veniot wrote:
>
>> I was going to create a post about this and totally forgot that I had 
>> already done that.
>>
>> Here is the "tWm" template tiddler, which I've modified just a little bit 
>> to show a tooltip:
>>
>> Drag attached to tiddlywiki.com .
>>
>> For any Wikipedia article, you just want the part of the url that has the 
>> article name, so for
>>
>> ```https://en.wikipedia.org/wiki/Primitive_data_type``` 
>> <https://en.wikipedia.org/wiki/Primitive_data_type>, you'll setup the 
>> transclusion as ```{{Primitive_data_type||tWm}}```
>>
>> On Monday, January 3, 2022 at 7:17:34 PM UTC-4 Charlie Veniot wrote:
>>
>>> *(Because I find myself referring to many articles in a TiddlyWiki 
>>> instance.)*
>>>
>>> Transclusion goodness:
>>>
>>> {{Primitive_data_type||tWm}}
>>>
>>> So passing the (Wikipedia, mobile) article part of the URL to the 
>>> tiddler template "tWm".
>>>
>>> There is no tiddler named "Primitive_data_type".  This is just a way to 
>>> give "tWm" some text.
>>>
>>> The "tWm" tiddler text:
>>>
>>> ^^https://en.m.wikipedia.org/wiki/]addsuffix] 
>>> }}} style="text-decoration:none;font-family:Times New Roman" 
>>> target="_blank">W^^
>>>
>>> Same kind of thing could be done with a macro if you prefer macros.
>>>
>>>

-- 
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/189c7d96-b1cd-4d7e-8fcb-42c7669e53e2n%40googlegroups.com.


[tw5] Re: A way of creating Wikipedia article links

2023-07-05 Thread Charlie Veniot
I've since added a second kind of Wikipedia link to handle the two ways I 
use them.

Two template tiddlers in the attached file.

Usage example:

[image: Screenshot 2023-07-05 11.29.54 PM.png]

On Monday, January 30, 2023 at 6:42:28 PM UTC-4 Charlie Veniot wrote:

> I was going to create a post about this and totally forgot that I had 
> already done that.
>
> Here is the "tWm" template tiddler, which I've modified just a little bit 
> to show a tooltip:
>
> Drag attached to tiddlywiki.com .
>
> For any Wikipedia article, you just want the part of the url that has the 
> article name, so for
>
> ```https://en.wikipedia.org/wiki/Primitive_data_type``` 
> <https://en.wikipedia.org/wiki/Primitive_data_type>, you'll setup the 
> transclusion as ```{{Primitive_data_type||tWm}}```
>
> On Monday, January 3, 2022 at 7:17:34 PM UTC-4 Charlie Veniot wrote:
>
>> *(Because I find myself referring to many articles in a TiddlyWiki 
>> instance.)*
>>
>> Transclusion goodness:
>>
>> {{Primitive_data_type||tWm}}
>>
>> So passing the (Wikipedia, mobile) article part of the URL to the tiddler 
>> template "tWm".
>>
>> There is no tiddler named "Primitive_data_type".  This is just a way to 
>> give "tWm" some text.
>>
>> The "tWm" tiddler text:
>>
>> ^^https://en.m.wikipedia.org/wiki/]addsuffix] 
>> }}} style="text-decoration:none;font-family:Times New Roman" 
>> target="_blank">W^^
>>
>> Same kind of thing could be done with a macro if you prefer macros.
>>
>>

-- 
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/68472337-8627-4f4a-a822-3c1598125860n%40googlegroups.com.


WikipediaLinksTiddlerTemplates.json
Description: application/json


[tw5] Custom tags editor to block removal of specific tags

2023-07-04 Thread Charlie Veniot
(If viewing this post in Google Groups, please ignore all triple backticks; 
they serve no purpose other than helping make sure content between leading 
and trailing backticks shows up correctly in Talk TiddlyWiki.)

In BASIC Anywhere Machine, I'm adding a tags editor to the "Program 
Properties" tiddler.

The "BAM" tag is a system tag, and I do not want BAM users removing that 
tag from "system" programs (these are BASIC libraries of code that are BAM 
components).

So I need a custom tags editor.

Because I do not like editing core tiddlers, I cloned the ```
$:/core/ui/EditTemplate/tags``` tiddler, saving the clone as "BAM Tagging 
Tool".

In the code, I changed the following in the "tag-body-inner" macro:

From:

```<$button class="tc-btn-invisible tc-remove-tag-button" 
style=<>><$action-listops $tiddler=<> 
$field=<<__tagField__>> 
$subfilter="-[{!!title}]"/>{{$:/core/images/close-button}}```

To:
```<$button *disabled={{{ [match[BAM]then[yes]] }}}* 
class="tc-btn-invisible 
tc-remove-tag-button" style=<>><$action-listops 
$tiddler=<> $field=<<__tagField__>> 
$subfilter="-[{!!title}]"/>{{$:/core/images/close-button}}```

In the "Program Properties" tiddler, I added the following line:  
```{{ || BAM Tagging Tool }}```

[image: Screenshot 2023-07-04 11.36.14 AM.png]

-- 
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/0d755472-4009-41cd-a828-4ee3cd6d8facn%40googlegroups.com.


[tw5] Re: Tags editor: when you want to display that anywhere

2023-07-04 Thread Charlie Veniot
BTW, if viewing this in Google Groups, do ignore the leading and trailing 
triple backticks.  Those are there to make sure the code shows up correctly 
in Talk TiddlyWiki.

On Tuesday, July 4, 2023 at 11:20:43 AM UTC-3 Charlie Veniot wrote:

> ```{{ || $:/core/ui/EditTemplate/tags }}```
>

-- 
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/2ba35211-8c4e-4010-a1a2-465bd3cab1a5n%40googlegroups.com.


[tw5] Tags editor: when you want to display that anywhere

2023-07-04 Thread Charlie Veniot
```{{ || $:/core/ui/EditTemplate/tags }}```

-- 
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/5f5dc91a-8469-4517-a41a-b93c87ffb0c5n%40googlegroups.com.


[tw5] Re: An alternative to reveal widgets and detail elements?

2023-06-29 Thread Charlie Veniot
*(Previous version had a little typo in the keyframe height.  No impact, 
but fixed in this iteration.)*

And a "hover-over, wee delay before display of details" version:

```

.ch1 peekaboo {display:none;}
.ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
.ch1:hover peekaboo {display:block;}
.slow {
  animation-name: example;
  animation-duration: 5s;}
@keyframes example {
  0%{height:0px;}
  20%   {height:0px;} 
  100% {height:100px;}
}


<$list filter="[tag[Articles]]">

{{!!title}}

<$transclude mode="block">



```

On Thursday, June 29, 2023 at 9:35:10 AM UTC-3 Charlie Veniot wrote:

> Give this slw crawl a spin:
>
> ```
> 
> .ch1 peekaboo {display:none;}
>
> .ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
> .ch1:hover peekaboo {display:block;}
> .slow {
>   animation-name: example;
>   animation-duration: 5s;}
> @keyframes example {
>   0%{height:0px;}
>   100% {height:150px;}
>
> }
> 
>
> <$list filter="[tag[Articles]]">
> 
> {{!!title}}
> 
>
> <$transclude mode="block">
> 
> 
> 
> ```
>
> On Thursday, June 29, 2023 at 4:06:56 AM UTC-3 S² wrote:
>
>> Hi Charlie, 
>> how do I get a delay of eg. 2sec to display the details when hover the 
>> title?
>>
>> (didn't succed with transition-delay: 2s;)
>>
>> Thanks,
>> Stefan
>>
>> Charlie Veniot schrieb am Donnerstag, 29. Juni 2023 um 06:12:50 UTC+2:
>>
>>> Nothing revolutionary here.  Just the result of some goofing around with 
>>> CSS.
>>>
>>> Give it a spin at TiddlyWiki.com.
>>>
>>> 
>>> 
>>> .ch1 div {display:none;}
>>> .ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
>>> .ch1:hover div {display:block;}
>>> 
>>>
>>> <$list filter="[tag[Articles]]">
>>> 
>>> {{!!title}}
>>> 
>>> <$transclude mode="block">
>>> 
>>> 
>>> 
>>> ```
>>>
>>

-- 
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/c222b07e-d9d4-4fd5-8f36-0147fea8e57dn%40googlegroups.com.


[tw5] Re: An alternative to reveal widgets and detail elements?

2023-06-29 Thread Charlie Veniot
Give this slw crawl a spin:

```

.ch1 peekaboo {display:none;}
.ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
.ch1:hover peekaboo {display:block;}
.slow {
  animation-name: example;
  animation-duration: 5s;}
@keyframes example {
  0%{height:0px;}
  100% {height:150px;}
}


<$list filter="[tag[Articles]]">

{{!!title}}

<$transclude mode="block">



```

On Thursday, June 29, 2023 at 4:06:56 AM UTC-3 S² wrote:

> Hi Charlie, 
> how do I get a delay of eg. 2sec to display the details when hover the 
> title?
>
> (didn't succed with transition-delay: 2s;)
>
> Thanks,
> Stefan
>
> Charlie Veniot schrieb am Donnerstag, 29. Juni 2023 um 06:12:50 UTC+2:
>
>> Nothing revolutionary here.  Just the result of some goofing around with 
>> CSS.
>>
>> Give it a spin at TiddlyWiki.com.
>>
>> 
>> 
>> .ch1 div {display:none;}
>> .ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
>> .ch1:hover div {display:block;}
>> 
>>
>> <$list filter="[tag[Articles]]">
>> 
>> {{!!title}}
>> 
>> <$transclude mode="block">
>> 
>> 
>> 
>> ```
>>
>

-- 
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/50548b7c-61e1-431c-99f2-bb46a5586a3an%40googlegroups.com.


[tw5] An alternative to reveal widgets and detail elements?

2023-06-28 Thread Charlie Veniot
Nothing revolutionary here.  Just the result of some goofing around with 
CSS.

Give it a spin at TiddlyWiki.com.



.ch1 div {display:none;}
.ch1:hover {background-color:#F5F5F5;border:1px solid gray;}
.ch1:hover div {display:block;}


<$list filter="[tag[Articles]]">

{{!!title}}

<$transclude mode="block">



```

-- 
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/a707ee30-4392-4249-b61a-026c276db34bn%40googlegroups.com.


[tw5] Re: Railroad diagram: my approach to segmenting railroads that are too wide

2023-06-25 Thread Charlie Veniot
The march towards a helpful editor for railroad diagrams:

[image: Screenshot 2023-06-25 2.17.33 PM.png]

On Sunday, June 25, 2023 at 12:37:03 PM UTC-3 Charlie Veniot wrote:

> Next: editor buttons for the railroad diagram.  Because who wants to type 
> in all of that notation bleurk...

-- 
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/74cf0094-e3bb-4b64-82d2-2833535d7ec3n%40googlegroups.com.


[tw5] Re: When one wants a toolbar for an edit text widget

2023-06-25 Thread Charlie Veniot
Added a "wrap selection" button:

```

.wide100 {width:100%}
.bspace {margin-bottom:-18px;}
.btn {font-weight:bold;font-size:0.85em;}



<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
tag="textarea">
Multi-line Edit Toolbar

This space does not have to be just for buttons.  It can be for all sorts 
of things.  Like helpful tips, reminders, whatever.

<$button class="btn">
<$action-sendmessage
  $message="tm-edit-text-operation"
  $param="wrap-selection"
  prefix='<"'
  suffix='">'
/>
<$text text='<"...">'/>

<$button class="btn">
    <$action-sendmessage
  $message="tm-edit-text-operation"
  $param="insert-text"
  text='/"BR"/'
/>
/"BR"/




```
On Sunday, June 25, 2023 at 1:19:24 PM UTC-3 Charlie Veniot wrote:

> Added an "insert text" button:
>
> ```
> 
> .wide100 {width:100%}
> .bspace {margin-bottom:-18px;}
> .btn {font-weight:bold;font-size:0.85em;}
>
> 
>
> 
> <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
> tag="textarea">
> Multi-line Edit Toolbar
>
> This space does not have to be just for buttons.  It can be for all sorts 
> of things.  Like helpful tips, reminders, whatever.
>
> <$button class="btn">
> <$action-sendmessage
>   $message="tm-edit-text-operation"
>   $param="insert-text"
>   text="""/"BR"/"""
> />
> /"BR"/
> 
> 
> 
> 
>
> ```
> On Sunday, June 25, 2023 at 12:59:31 PM UTC-3 Charlie Veniot wrote:
>
>> Sample code:
>>
>> *(If viewing the code below in Google Groups, ignore the leading and 
>> trailing backticks; those are just to keep the code "unprocessed" at Talk 
>> TW.)*
>>
>> ```
>> 
>> .wide100 {width:100%}
>> .bspace {margin-bottom:-18px;}
>> 
>>
>> 
>>
>> <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
>> tag="textarea">
>>
>> Multi-line Edit Toolbar
>> This space does not have to be just for buttons.  It can be for all sorts 
>> of things.  Like helpful tips, reminders, whatever.
>> 
>>
>> 
>>
>> 
>> ```
>>
>

-- 
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/d4d8470a-ed7e-41cd-8018-e6e43508dedbn%40googlegroups.com.


[tw5] Re: When one wants a toolbar for an edit text widget

2023-06-25 Thread Charlie Veniot
Added an "insert text" button:

```

.wide100 {width:100%}
.bspace {margin-bottom:-18px;}
.btn {font-weight:bold;font-size:0.85em;}



<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
tag="textarea">
Multi-line Edit Toolbar

This space does not have to be just for buttons.  It can be for all sorts 
of things.  Like helpful tips, reminders, whatever.

<$button class="btn">
<$action-sendmessage
  $message="tm-edit-text-operation"
  $param="insert-text"
  text="""/"BR"/"""
/>
/"BR"/





```
On Sunday, June 25, 2023 at 12:59:31 PM UTC-3 Charlie Veniot wrote:

> Sample code:
>
> *(If viewing the code below in Google Groups, ignore the leading and 
> trailing backticks; those are just to keep the code "unprocessed" at Talk 
> TW.)*
>
> ```
> 
> .wide100 {width:100%}
> .bspace {margin-bottom:-18px;}
> 
>
> 
>
> <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
> tag="textarea">
>
> Multi-line Edit Toolbar
> This space does not have to be just for buttons.  It can be for all sorts 
> of things.  Like helpful tips, reminders, whatever.
> 
>
> 
>
> 
> ```
>

-- 
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/5ff149bb-3e4d-4fc0-a401-0486f8c18cd4n%40googlegroups.com.


[tw5] When one wants a toolbar for an edit text widget

2023-06-25 Thread Charlie Veniot
Sample code:

*(If viewing the code below in Google Groups, ignore the leading and 
trailing backticks; those are just to keep the code "unprocessed" at Talk 
TW.)*

```

.wide100 {width:100%}
.bspace {margin-bottom:-18px;}




<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" 
tag="textarea">

Multi-line Edit Toolbar
This space does not have to be just for buttons.  It can be for all sorts 
of things.  Like helpful tips, reminders, whatever.





```

-- 
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/f7befa48-aea2-4f27-a461-c05cf29fd11bn%40googlegroups.com.


[tw5] Re: Railroad diagram: my approach to segmenting railroads that are too wide

2023-06-25 Thread Charlie Veniot
Next: editor buttons for the railroad diagram.  Because who wants to type 
in all of that notation bleurk...

-- 
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/d4a39c08-ff94-448d-bd8f-7a8a0da83856n%40googlegroups.com.


[tw5] Re: Railroad diagram: my approach to segmenting railroads that are too wide

2023-06-25 Thread Charlie Veniot
Iterative and incremental tweaking.  Refining requirements in a "paint the 
picture and ask: is this what you mean? No, then tweak and repeat" process.

Come to realize looking at that last syntax diagram: nah, I want this chunk 
to be optional.  So tweak:

[image: Screenshot 2023-06-25 12.21.38 PM.png]
On Sunday, June 25, 2023 at 11:05:58 AM UTC-3 Charlie Veniot wrote:

> Unsatisfied.  The tweak:
>
> ```
> <$list filter="""[split[/"BR"/]]""" counter=index>
> match[1]else[margin-left:100px;]]}}}> [[margin-left:]] 
> [split[PAD"/]first[]split[/"]last[]else[0]] [[px;]] 
> +[join[]] }}}><$railroad text={{{ 
> [search-replace:g:regexp,[]] }}}/>
> 
> ```
>
> [image: Screenshot 2023-06-25 11.05.16 AM.png]
>
> On Saturday, June 24, 2023 at 10:44:40 PM UTC-3 Charlie Veniot wrote:
>
>> I added some custom syntax /"BR"/ I can use to generate multiple railroad 
>> diagrams from one big chunk of text.
>>
>>  is the text for the railroad diagram(s).
>>
>> ```
>> <$list filter="""[split[/"BR"/]]""">
>> <$railroad text=<>/>
>> 
>> ```
>>
>>
>>
>> [image: Screenshot 2023-06-24 10.36.03 PM.png]
>
>

-- 
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/18a93530-3b36-4bd1-ae2c-b17b2190d65bn%40googlegroups.com.


[tw5] Re: Railroad diagram: my approach to segmenting railroads that are too wide

2023-06-25 Thread Charlie Veniot
Unsatisfied.  The tweak:

```
<$list filter="""[split[/"BR"/]]""" counter=index>
match[1]else[margin-left:100px;]]}}}>split[PAD"/]first[]split[/"]last[]else[0]] [[px;]] 
+[join[]] }}}><$railroad text={{{ 
[search-replace:g:regexp,[]] }}}/>

```

[image: Screenshot 2023-06-25 11.05.16 AM.png]

On Saturday, June 24, 2023 at 10:44:40 PM UTC-3 Charlie Veniot wrote:

> I added some custom syntax /"BR"/ I can use to generate multiple railroad 
> diagrams from one big chunk of text.
>
>  is the text for the railroad diagram(s).
>
> ```
> <$list filter="""[split[/"BR"/]]""">
> <$railroad text=<>/>
> 
> ```
>
>
>
> [image: Screenshot 2023-06-24 10.36.03 PM.png]

-- 
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/e41f9c68-2364-44da-ade9-ba3bf49398e1n%40googlegroups.com.


[tw5] Railroad diagram: my approach to segmenting railroads that are too wide

2023-06-24 Thread Charlie Veniot
I added some custom syntax /"BR"/ I can use to generate multiple railroad 
diagrams from one big chunk of text.

 is the text for the railroad diagram(s).

```
<$list filter="""[split[/"BR"/]]""">
<$railroad text=<>/>

```



[image: Screenshot 2023-06-24 10.36.03 PM.png]

-- 
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/00774c17-0027-4e30-b777-e1acf955d18fn%40googlegroups.com.


[tw5] Railroad diagrams: an example of maximizing the ROI

2023-06-23 Thread Charlie Veniot
If one is going to take the time to put together a syntax diagram, then 
might as well make it worth the effort.

In the works, BASIC Anywhere Machine "All Syntax Diagrams" aggregation 

.

-- 
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/52d4a2c6-1b82-4fbe-b716-cc29ee218234n%40googlegroups.com.


Re: [tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-20 Thread Charlie Veniot
Incrementally and iteratively, getting to Railroad Diagram ZEN.

A barebones-beginning railroad diagram editor tagged as 
$:/tags/ViewTemplate, with one edit text field to enter the railroad 
diagram text, and the other edit field to describe the bits in the diagram.

The macros to transclude the diagram, to transclude the description, and to 
transclude a "Syntax" documentation block:

```
\define myRdg()


<$wikify name=this_text text={{!!rdg}}>
<$railroad text=<>/>



\end
\define myRdgDesc()
{{!!rdg_desc}}
\end
\define myRdgAll()
!! Syntax
<>
<>
\end
```

The result:

[image: Screenshot 2023-06-20 7.25.04 PM.png]

On Monday, June 19, 2023 at 12:39:38 PM UTC-3 Charlie Veniot wrote:

> The only way for me to remember that "=" prefix, I think, is by applying 
> it often.
>
> Taking Brian's approach to simplify things by dumping addsuffix and 
> addprefix:
>
> ```
> <$railroad text={{{
> =[["]] =[] =[["]]
> =[["("]]
> =[[<"numValue1">]]
> =[[","]]
> =[[<"numValue2">]]
> =[[")"]]
> +[join[]]
> }}}>
> ```
> On Monday, June 19, 2023 at 2:06:23 AM UTC-3 Charlie Veniot wrote:
>
>> Delayed reaction:
>>
>> I do very much like this, though:
>>
>> ```
>> [["]] [] =[["]]
>> ```
>>
>> I rarely run into de-duplication issues, so I keep forgetting about that 
>> "x-nay de-duplication, eh?" prefix.
>>
>> I've got to figure out a way to remember that.
>> On Monday, June 19, 2023 at 1:30:43 AM UTC-3 Charlie Veniot wrote:
>>
>>> Looking back at my OP, it became a game of Where's Waldo because of a 
>>> mismatch between the number of lines in the macrocall and number of nodes 
>>> in the railroad diagram.
>>>
>>> The fix:
>>>
>>> ```
>>> !! Syntax
>>>
>>> <$railroad text={{{
>>> [addprefix["]addsuffix["]]
>>> [["("]]
>>> [[<"numValue1">]]
>>> [[","]]
>>> [[<"numValue2">]]
>>> [[")"]]
>>> +[join[]]
>>> }}}>
>>> ```
>>>
>>> On Monday, June 19, 2023 at 1:22:08 AM UTC-3 Charlie Veniot wrote:
>>>
>>>> Definitely more concise with fewer square brackets going on.
>>>>
>>>> My challenge is it makes it harder to make a one-to-one relationship 
>>>> between the "bubbles" in the diagram and the pieces related to the 
>>>> bubbles.  Kind of like I'm playing a  game of "Where's Waldo".
>>>>
>>>> But that's part and parcel of my cognitive disability.
>>>>
>>>> I think loads of folk would appreciate your less verbose approach.  
>>>> Thanks !
>>>>
>>>> On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote:
>>>>
>>>>> On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot  
>>>>> wrote:
>>>>>
>>>>>> If you have an approach you think is simpler than the one described 
>>>>>> above, please let everybody know about it.
>>>>>>
>>>>>
>>>>> Here is one I find simpler (YMMV):
>>>>>
>>>>> ```
>>>>> <$railroad text={{{
>>>>> [["]addsuffixaddsuffix["]]
>>>>>
>>>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>>>> +[join[]]
>>>>> }}}/>
>>>>> ```
>>>>>
>>>>> and a slight variation:
>>>>>
>>>>> ```
>>>>> <$railroad text={{{
>>>>> [["]] [] =[["]]
>>>>>
>>>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>>>> +[join[]]
>>>>> }}}/>
>>>>> ```
>>>>>
>>>>> For me the first line in each of the above read slightly easier than 
>>>>> that addprefix/addsuffix combination since I don't need to mentally 
>>>>> re-order anything. And having all the quoting together in a single line 
>>>>> (2nd line in each of the above) I found it easier to read since at a 
>>>>> glance 
>>>>> I can tell everything on that line is part of one static string.
>>>>>
>>>>> Maybe these small tweaks aren't what you had in mind, but I thought 
>>>>> I'd share in case it helps.
>>>>>
>>>>> Also, the future 5.3 version of Tiddlywiki might introduce 
>>>>> substitution within attribute values: 
>>>>> https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values.
>>>>>  
>>>>> With that feature, you could do this:
>>>>>
>>>>> ```
>>>>> <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," 
>>>>> <"numValue2">")"`/>
>>>>> ```
>>>>>
>>>>> I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so 
>>>>> this last one is for others who might be interested.
>>>>>
>>>>

-- 
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/7ca5f841-93f9-481d-9f98-0233baa8edecn%40googlegroups.com.


[tw5] Railroad Diagrams How To: Keep diagram a nice size in a scrollable area

2023-06-19 Thread Charlie Veniot
*(If viewing this in Google Groups, ignore the leading and trailing 
backticks.)*

```



<$railroad text="""
[: param-name [:space] ":" [:space] ] value [: space]
"""/>



```

-- 
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/97956290-607e-4e76-a2c9-ef1885b7b272n%40googlegroups.com.


[tw5] Shortcut for text widget

2023-06-19 Thread Charlie Veniot
*(All of the triple-backticks are for proper displaying of TW syntax in 
TalkTW;  otherwise, please ignore.)*

```
* <$text text={{{ []  }}} />
* {{{ [] || txt }}}
```

That helps me out a little:  putting primary focus on data, and making 
appearance secondary.  

The "txt" template tiddler:

```
<$text text={{!!title}}/>
```


-- 
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/8859dbe0-ff08-4b2c-ae50-07f3d1065a6fn%40googlegroups.com.


Re: [tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-19 Thread Charlie Veniot
The only way for me to remember that "=" prefix, I think, is by applying it 
often.

Taking Brian's approach to simplify things by dumping addsuffix and 
addprefix:

```
<$railroad text={{{
=[["]] =[] =[["]]
=[["("]]
=[[<"numValue1">]]
=[[","]]
=[[<"numValue2">]]
=[[")"]]
+[join[]]
}}}>
```
On Monday, June 19, 2023 at 2:06:23 AM UTC-3 Charlie Veniot wrote:

> Delayed reaction:
>
> I do very much like this, though:
>
> ```
> [["]] [] =[["]]
> ```
>
> I rarely run into de-duplication issues, so I keep forgetting about that 
> "x-nay de-duplication, eh?" prefix.
>
> I've got to figure out a way to remember that.
> On Monday, June 19, 2023 at 1:30:43 AM UTC-3 Charlie Veniot wrote:
>
>> Looking back at my OP, it became a game of Where's Waldo because of a 
>> mismatch between the number of lines in the macrocall and number of nodes 
>> in the railroad diagram.
>>
>> The fix:
>>
>> ```
>> !! Syntax
>>
>> <$railroad text={{{
>> [addprefix["]addsuffix["]]
>> [["("]]
>> [[<"numValue1">]]
>> [[","]]
>> [[<"numValue2">]]
>> [[")"]]
>> +[join[]]
>> }}}>
>> ```
>>
>> On Monday, June 19, 2023 at 1:22:08 AM UTC-3 Charlie Veniot wrote:
>>
>>> Definitely more concise with fewer square brackets going on.
>>>
>>> My challenge is it makes it harder to make a one-to-one relationship 
>>> between the "bubbles" in the diagram and the pieces related to the 
>>> bubbles.  Kind of like I'm playing a  game of "Where's Waldo".
>>>
>>> But that's part and parcel of my cognitive disability.
>>>
>>> I think loads of folk would appreciate your less verbose approach.  
>>> Thanks !
>>>
>>> On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote:
>>>
>>>> On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot  
>>>> wrote:
>>>>
>>>>> If you have an approach you think is simpler than the one described 
>>>>> above, please let everybody know about it.
>>>>>
>>>>
>>>> Here is one I find simpler (YMMV):
>>>>
>>>> ```
>>>> <$railroad text={{{
>>>> [["]addsuffixaddsuffix["]]
>>>>
>>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>>> +[join[]]
>>>> }}}/>
>>>> ```
>>>>
>>>> and a slight variation:
>>>>
>>>> ```
>>>> <$railroad text={{{
>>>> [["]] [] =[["]]
>>>>
>>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>>> +[join[]]
>>>> }}}/>
>>>> ```
>>>>
>>>> For me the first line in each of the above read slightly easier than 
>>>> that addprefix/addsuffix combination since I don't need to mentally 
>>>> re-order anything. And having all the quoting together in a single line 
>>>> (2nd line in each of the above) I found it easier to read since at a 
>>>> glance 
>>>> I can tell everything on that line is part of one static string.
>>>>
>>>> Maybe these small tweaks aren't what you had in mind, but I thought I'd 
>>>> share in case it helps.
>>>>
>>>> Also, the future 5.3 version of Tiddlywiki might introduce substitution 
>>>> within attribute values: 
>>>> https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values.
>>>>  
>>>> With that feature, you could do this:
>>>>
>>>> ```
>>>> <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," 
>>>> <"numValue2">")"`/>
>>>> ```
>>>>
>>>> I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so 
>>>> this last one is for others who might be interested.
>>>>
>>>

-- 
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/2196e9ae-e7f4-4b48-a7a1-6e3303901c20n%40googlegroups.com.


Re: [tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-18 Thread Charlie Veniot
Delayed reaction:

I do very much like this, though:

```
[["]] [] =[["]]
```

I rarely run into de-duplication issues, so I keep forgetting about that 
"x-nay de-duplication, eh?" prefix.

I've got to figure out a way to remember that.
On Monday, June 19, 2023 at 1:30:43 AM UTC-3 Charlie Veniot wrote:

> Looking back at my OP, it became a game of Where's Waldo because of a 
> mismatch between the number of lines in the macrocall and number of nodes 
> in the railroad diagram.
>
> The fix:
>
> ```
> !! Syntax
>
> <$railroad text={{{
> [addprefix["]addsuffix["]]
> [["("]]
> [[<"numValue1">]]
> [[","]]
> [[<"numValue2">]]
> [[")"]]
> +[join[]]
> }}}>
> ```
>
> On Monday, June 19, 2023 at 1:22:08 AM UTC-3 Charlie Veniot wrote:
>
>> Definitely more concise with fewer square brackets going on.
>>
>> My challenge is it makes it harder to make a one-to-one relationship 
>> between the "bubbles" in the diagram and the pieces related to the 
>> bubbles.  Kind of like I'm playing a  game of "Where's Waldo".
>>
>> But that's part and parcel of my cognitive disability.
>>
>> I think loads of folk would appreciate your less verbose approach.  
>> Thanks !
>>
>> On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote:
>>
>>> On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot  
>>> wrote:
>>>
>>>> If you have an approach you think is simpler than the one described 
>>>> above, please let everybody know about it.
>>>>
>>>
>>> Here is one I find simpler (YMMV):
>>>
>>> ```
>>> <$railroad text={{{
>>> [["]addsuffixaddsuffix["]]
>>>
>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>> +[join[]]
>>> }}}/>
>>> ```
>>>
>>> and a slight variation:
>>>
>>> ```
>>> <$railroad text={{{
>>> [["]] [] =[["]]
>>>
>>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>>> +[join[]]
>>> }}}/>
>>> ```
>>>
>>> For me the first line in each of the above read slightly easier than 
>>> that addprefix/addsuffix combination since I don't need to mentally 
>>> re-order anything. And having all the quoting together in a single line 
>>> (2nd line in each of the above) I found it easier to read since at a glance 
>>> I can tell everything on that line is part of one static string.
>>>
>>> Maybe these small tweaks aren't what you had in mind, but I thought I'd 
>>> share in case it helps.
>>>
>>> Also, the future 5.3 version of Tiddlywiki might introduce substitution 
>>> within attribute values: 
>>> https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values.
>>>  
>>> With that feature, you could do this:
>>>
>>> ```
>>> <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," 
>>> <"numValue2">")"`/>
>>> ```
>>>
>>> I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so 
>>> this last one is for others who might be interested.
>>>
>>

-- 
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/f6fa4cc8-aa33-4d51-aa77-c662b1fbfb2fn%40googlegroups.com.


Re: [tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-18 Thread Charlie Veniot
Looking back at my OP, it became a game of Where's Waldo because of a 
mismatch between the number of lines in the macrocall and number of nodes 
in the railroad diagram.

The fix:

```
!! Syntax

<$railroad text={{{
[addprefix["]addsuffix["]]
[["("]]
[[<"numValue1">]]
[[","]]
[[<"numValue2">]]
[[")"]]
+[join[]]
}}}>
```

On Monday, June 19, 2023 at 1:22:08 AM UTC-3 Charlie Veniot wrote:

> Definitely more concise with fewer square brackets going on.
>
> My challenge is it makes it harder to make a one-to-one relationship 
> between the "bubbles" in the diagram and the pieces related to the 
> bubbles.  Kind of like I'm playing a  game of "Where's Waldo".
>
> But that's part and parcel of my cognitive disability.
>
> I think loads of folk would appreciate your less verbose approach.  Thanks 
> !
>
> On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote:
>
>> On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot  wrote:
>>
>>> If you have an approach you think is simpler than the one described 
>>> above, please let everybody know about it.
>>>
>>
>> Here is one I find simpler (YMMV):
>>
>> ```
>> <$railroad text={{{
>> [["]addsuffixaddsuffix["]]
>>
>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>> +[join[]]
>> }}}/>
>> ```
>>
>> and a slight variation:
>>
>> ```
>> <$railroad text={{{
>> [["]] [] =[["]]
>>
>> [["(" <"numValue1"> "," <"numValue2"> ")"]]
>> +[join[]]
>> }}}/>
>> ```
>>
>> For me the first line in each of the above read slightly easier than that 
>> addprefix/addsuffix combination since I don't need to mentally re-order 
>> anything. And having all the quoting together in a single line (2nd line in 
>> each of the above) I found it easier to read since at a glance I can tell 
>> everything on that line is part of one static string.
>>
>> Maybe these small tweaks aren't what you had in mind, but I thought I'd 
>> share in case it helps.
>>
>> Also, the future 5.3 version of Tiddlywiki might introduce substitution 
>> within attribute values: 
>> https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values.
>>  
>> With that feature, you could do this:
>>
>> ```
>> <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," 
>> <"numValue2">")"`/>
>> ```
>>
>> I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so 
>> this last one is for others who might be interested.
>>
>

-- 
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/092c141a-fa0f-4984-a89f-90f07fe1b6e3n%40googlegroups.com.


Re: [tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-18 Thread Charlie Veniot
Definitely more concise with fewer square brackets going on.

My challenge is it makes it harder to make a one-to-one relationship 
between the "bubbles" in the diagram and the pieces related to the 
bubbles.  Kind of like I'm playing a  game of "Where's Waldo".

But that's part and parcel of my cognitive disability.

I think loads of folk would appreciate your less verbose approach.  Thanks !

On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote:

> On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot  wrote:
>
>> If you have an approach you think is simpler than the one described 
>> above, please let everybody know about it.
>>
>
> Here is one I find simpler (YMMV):
>
> ```
> <$railroad text={{{
> [["]addsuffixaddsuffix["]]
>
> [["(" <"numValue1"> "," <"numValue2"> ")"]]
> +[join[]]
> }}}/>
> ```
>
> and a slight variation:
>
> ```
> <$railroad text={{{
> [["]] [] =[["]]
>
> [["(" <"numValue1"> "," <"numValue2"> ")"]]
> +[join[]]
> }}}/>
> ```
>
> For me the first line in each of the above read slightly easier than that 
> addprefix/addsuffix combination since I don't need to mentally re-order 
> anything. And having all the quoting together in a single line (2nd line in 
> each of the above) I found it easier to read since at a glance I can tell 
> everything on that line is part of one static string.
>
> Maybe these small tweaks aren't what you had in mind, but I thought I'd 
> share in case it helps.
>
> Also, the future 5.3 version of Tiddlywiki might introduce substitution 
> within attribute values: 
> https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values.
>  
> With that feature, you could do this:
>
> ```
> <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," 
> <"numValue2">")"`/>
> ```
>
> I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so 
> this last one is for others who might be interested.
>

-- 
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/40cdfb91-4616-4faa-9e31-3e9bb68e92ban%40googlegroups.com.


[tw5] Re: Railroad plugin: one way to setup a tiddler transclusion template

2023-06-18 Thread Charlie Veniot
Aside: I do not much like the CSS styling of the diagrams, so I've started 
dabbling with some easy customisation (colour and font weight):

[image: Screenshot 2023-06-18 6.52.35 PM.png]


On Sunday, June 18, 2023 at 6:36:02 PM UTC-3 Charlie Veniot wrote:

> I'm documenting two BASIC Anywhere Machine functions: MIN and MAX .
>
> I'm using the railroad plugin to describe syntax.
>
> MIN and MAX having identical syntax (and I've got many other cases like 
> this), I wanted to define the railroad diagram once for both the MIN and 
> MAX tiddlers.
>
> I created a template tiddler called "Syntax MIN MAX" that has the 
> following text:
>
> ```
> !! Syntax
>
> <$railroad text={{{
> [addprefix["]addsuffix["]]
> [["("<"numValue1">]]
> [[","]]
> [[<"numValue2">]]
> [[")"]]
> +[join[]]
> }}}>
> ```
>
> Both my MIN and my MAX tiddlers have the following in their text:
>
> ```
> {{||Syntax MIN MAX}}
> ```
>
> I could have kept things simple by defining the one railroad diagram with 
> it displaying required choice of MIN or MAX, but I did not like the look of 
> that at all.
>
> If you have an approach you think is simpler than the one described above, 
> please let everybody know about 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/ac7c2277-e809-4708-8730-4b581d4dc783n%40googlegroups.com.


[tw5] Railroad plugin: one way to setup a tiddler transclusion template

2023-06-18 Thread Charlie Veniot
I'm documenting two BASIC Anywhere Machine functions: MIN and MAX .

I'm using the railroad plugin to describe syntax.

MIN and MAX having identical syntax (and I've got many other cases like 
this), I wanted to define the railroad diagram once for both the MIN and 
MAX tiddlers.

I created a template tiddler called "Syntax MIN MAX" that has the following 
text:

```
!! Syntax

<$railroad text={{{
[addprefix["]addsuffix["]]
[["("<"numValue1">]]
[[","]]
[[<"numValue2">]]
[[")"]]
+[join[]]
}}}>
```

Both my MIN and my MAX tiddlers have the following in their text:

```
{{||Syntax MIN MAX}}
```

I could have kept things simple by defining the one railroad diagram with 
it displaying required choice of MIN or MAX, but I did not like the look of 
that at all.

If you have an approach you think is simpler than the one described above, 
please let everybody know about 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/4cb3c8be-63aa-4e35-9f51-87e6411af011n%40googlegroups.com.


[tw5] For the giggles: a BASIC marquis program as a service

2023-06-17 Thread Charlie Veniot
A BASIC program created in  this test version 
 of the BASIC 
Anywhere Machine TiddlyWiki instance.

Exported to a single-HTML file (the BASIC program, the "interpreter", and 
the minimal HTML to make it all work), this program can be used as a simple 
service for any web site or local HTML file (aTiddlyWiki instance, for 
example.)

Paste this in some TiddlyWiki instance's tiddler (if viewing this post in 
Google Groups, discard the leading and trailing triple backticks):

```
https://basicanywheremachine.neocities.org/Test/Horizontal%20Marquis.prod.run.html?text=]addsuffix{$:/SiteTitle}addsuffix[
 
 ]addsuffix] }}} style="width:100%;height:250px">

```

-- 
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/8bfc3303-9a0b-4642-912f-d622f569c04fn%40googlegroups.com.


[tw5] Re: Quick and dirty styling of the Tiddler Editor styling

2023-06-15 Thread Charlie Veniot
Oops, title typo:  Quick and dirty customization of the Tiddler Editor 
styling

On Thursday, June 15, 2023 at 4:32:51 PM UTC-3 Charlie Veniot wrote:

> Like for any programming, I much prefer a fixed font when editing.  It 
> helps me better see the "pieces".
>
> It is easy to setup a fixed font via the "Editor font family" via the 
> Control Panel (picture way below.)  Go to the Control Panel, go to the 
> "Appearance" tab, "Theme Tweaks" sub-tab, and "Editor font family" is the 
> third item in "Settings".
>
> I've got Fuchs' dystrophy, so I need a little extra something to help me 
> clearly see text in the editor.  The easy-peasy approach involves adding a 
> CSS stylesheet tiddler with the following content:
> *(if viewing this in Google Groups, ignore the triple-backticks)*
>
> ```
> textarea { font-family: courier;font-weight:bold;color:#00; 
> background:#00 !important;}
> ```
>
> The above (attached tiddler if you want to try) works A-1 when using my 
> computer with normal colours.  When I am having extra difficulty, I switch 
> my computer to inverse colours, and also switch to the following styling in 
> TiddlyWiki:
>
> ```
> textarea { font-family: courier;font-weight:bold;color:#ff; 
> background:#ff !important;}
> ```
>
>
>
> [image: Screenshot 2023-06-15 4.17.53 PM.png]
>

-- 
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/a070aa5d-4726-4f15-8037-388e954bf354n%40googlegroups.com.


[tw5] Quick and dirty styling of the Tiddler Editor styling

2023-06-15 Thread Charlie Veniot
Like for any programming, I much prefer a fixed font when editing.  It 
helps me better see the "pieces".

It is easy to setup a fixed font via the "Editor font family" via the 
Control Panel (picture way below.)  Go to the Control Panel, go to the 
"Appearance" tab, "Theme Tweaks" sub-tab, and "Editor font family" is the 
third item in "Settings".

I've got Fuchs' dystrophy, so I need a little extra something to help me 
clearly see text in the editor.  The easy-peasy approach involves adding a 
CSS stylesheet tiddler with the following content:
*(if viewing this in Google Groups, ignore the triple-backticks)*

```
textarea { font-family: courier;font-weight:bold;color:#00; 
background:#00 !important;}
```

The above (attached tiddler if you want to try) works A-1 when using my 
computer with normal colours.  When I am having extra difficulty, I switch 
my computer to inverse colours, and also switch to the following styling in 
TiddlyWiki:

```
textarea { font-family: courier;font-weight:bold;color:#ff; 
background:#ff !important;}
```



[image: Screenshot 2023-06-15 4.17.53 PM.png]

-- 
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/6116867e-dee1-4657-9dbd-871912b0801fn%40googlegroups.com.


Tiddler Editor CSS.json
Description: application/json


[tw5] Re: Showing a little something depending on the results of a massive something

2023-06-10 Thread Charlie Veniot
Some details (screenshots) related to the related functional and interface 
changes in BASIC Anywhere Machine:

🚧 In the works: Code Issues Notification and Viewing 
<https://basicanywheremachine-news.blogspot.com/2023/06/in-works-code-issues-notification-and.html>

On Saturday, June 10, 2023 at 6:36:29 PM UTC-3 Charlie Veniot wrote:

> The pattern is all about grabbing the results of a very complex process, 
> and scanning those results to decide on whether or not to do something.
>
> ```
> <$wikify name="codeIssuesCheck" text={{{ [[Code Issues Template]get[text]] 
> }}} >
> <$list variable="codeIssues" 
> filter="[search-replace:g:regexp[\n],[:NL:]split[:NL:]regexp[Declare
>  
> sub]count[]!match[0]]">
> ''<>'' 
> 
> 
> ```
>
> The Code Issues Template cobbles together a report from a whole bunch of 
> complex information.  Very complex code that takes a lot of things into 
> consideration, and no way to create a tidy little filter that just gets a 
> count of issues for deciding whether or not to show the menu item.
>
> I only want the "View Code Issues" menu to display if there are any 
> "Declare sub" issues.
>

-- 
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/a6139cd8-9011-4b80-9e8e-3f6b97a2e651n%40googlegroups.com.


[tw5] Showing a little something depending on the results of a massive something

2023-06-10 Thread Charlie Veniot
The pattern is all about grabbing the results of a very complex process, 
and scanning those results to decide on whether or not to do something.

```
<$wikify name="codeIssuesCheck" text={{{ [[Code Issues Template]get[text]] 
}}} >
<$list variable="codeIssues" 
filter="[search-replace:g:regexp[\n],[:NL:]split[:NL:]regexp[Declare
 
sub]count[]!match[0]]">
''<>'' 


```

The Code Issues Template cobbles together a report from a whole bunch of 
complex information.  Very complex code that takes a lot of things into 
consideration, and no way to create a tidy little filter that just gets a 
count of issues for deciding whether or not to show the menu item.

I only want the "View Code Issues" menu to display if there are any 
"Declare sub" issues.

-- 
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/5423e413-95eb-42d1-98fd-bb37bb574105n%40googlegroups.com.


[tw5] Just goofing around with a way to do math

2023-06-02 Thread Charlie Veniot

[image: Screenshot 2023-06-03 12.13.33 AM.png]

-- 
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/4bf2f56c-6def-4d95-be20-a263c3e609fcn%40googlegroups.com.


[tw5] Re: It would be nice if drag and drop mechanism didn't happen everywhere

2023-05-28 Thread Charlie Veniot
For my personal use, I'm experimenting with making TiddlyWiki titles the 
dropzone area:

[image: Screenshot 2023-05-28 9.49.33 PM.png]

On Sunday, May 28, 2023 at 6:02:22 PM UTC-3 Charlie Veniot wrote:

> Okay, now that I'm back from slamming my forehead against a door frame for 
> not having brought this up earlier...
>
> Thank-you much, Eric !
>
> Does that ever make a huge difference.  I'm sure that's going to help me 
> immensely, and I'm going to set that up in all my TiddlyWiki instances.
>
> On Sunday, May 28, 2023 at 5:23:49 PM UTC-3 Eric Shulman wrote:
>
>> The `$dropzone` widget used to trigger drag-and-drop $:/Import handling 
>> is defined in `$:/core/ui/PageTemplate`:
>> ```
>> <$dropzone enable=<>>
>> ```
>> which also defines the `tv-enable-drag-and-drop` variable, which gets 
>> it's value from the contents of `$:/config/DragAndDrop/Enable`, and has a 
>> default value of "yes".  To disable the default $dropzone, create a tiddler 
>> named `$:/config/DragAndDrop/Enable`, with a text field value of "no".  
>> After doing this, you will no longer be able to use drag-and-drop to import 
>> tiddlers.  You will still be able to use the "Import" PageToolbar button 
>> (see the sidebar "Tools" tab, or `$:/ControlPanel > Appearance > Toolbars > 
>> Page Toolbar` settings) to initiate a "browse for file" system dialog to 
>> import tiddlers from locally saved .JSON files.
>>
>> You can define your own custom dropzone "hotspot" by creating a tiddler 
>> containing something like `<$dropzone>drop here to import 
>> tiddlers`.  When that tiddler is displayed, you can then 
>> drag-and-drop onto the "drop here to import tiddlers" text to initiate the 
>> TWCore's usual $:/Import handling.  To add a nice visible "import tiddlers" 
>> $button interface into the SideBar, try this:
>> * Create a tiddler (e.g., SidebarImportZone)
>> * Enter text content: `<$dropzone><$button>drop here to import 
>> tiddlers`
>> * Tag it with `$:/tags/SideBarSegment`
>> * Add a field named 'list-before' with a value of 
>> `$:/core/ui/SideBarSegments/tabs`
>>
>> Important note: Setting `$:/config/DragAndDrop/Enable` to "no" also 
>> disables use of drag-and-drop for re-ordering items within tag dropdowns.  
>> To avoid this side-effect, instead of setting 
>> `$:/config/DragAndDrop/Enable` to "no", you can disable the drag-and-drop 
>> $:/Import handling by editing the `$:/core/ui/PageTemplate` shadow tiddler 
>> and completely removing the `<$dropzone ...>` and `` widgets 
>> from that tiddler.  This leaves the tag dropdown handling intact, while 
>> still preventing page-wide drag-and-drop $:/Import handling from being 
>> triggered.
>>
>> enjoy,
>> -e
>>
>> On Sunday, May 28, 2023 at 8:56:37 AM UTC-7 cj.v...@gmail.com wrote:
>>
>>> https://youtu.be/-UNSlUzdAY8
>>>
>>

-- 
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/7908177f-7b78-4923-97a5-20c4ad30db7en%40googlegroups.com.


[tw5] Re: It would be nice if drag and drop mechanism didn't happen everywhere

2023-05-28 Thread Charlie Veniot
Okay, now that I'm back from slamming my forehead against a door frame for 
not having brought this up earlier...

Thank-you much, Eric !

Does that ever make a huge difference.  I'm sure that's going to help me 
immensely, and I'm going to set that up in all my TiddlyWiki instances.

On Sunday, May 28, 2023 at 5:23:49 PM UTC-3 Eric Shulman wrote:

> The `$dropzone` widget used to trigger drag-and-drop $:/Import handling is 
> defined in `$:/core/ui/PageTemplate`:
> ```
> <$dropzone enable=<>>
> ```
> which also defines the `tv-enable-drag-and-drop` variable, which gets it's 
> value from the contents of `$:/config/DragAndDrop/Enable`, and has a 
> default value of "yes".  To disable the default $dropzone, create a tiddler 
> named `$:/config/DragAndDrop/Enable`, with a text field value of "no".  
> After doing this, you will no longer be able to use drag-and-drop to import 
> tiddlers.  You will still be able to use the "Import" PageToolbar button 
> (see the sidebar "Tools" tab, or `$:/ControlPanel > Appearance > Toolbars > 
> Page Toolbar` settings) to initiate a "browse for file" system dialog to 
> import tiddlers from locally saved .JSON files.
>
> You can define your own custom dropzone "hotspot" by creating a tiddler 
> containing something like `<$dropzone>drop here to import 
> tiddlers`.  When that tiddler is displayed, you can then 
> drag-and-drop onto the "drop here to import tiddlers" text to initiate the 
> TWCore's usual $:/Import handling.  To add a nice visible "import tiddlers" 
> $button interface into the SideBar, try this:
> * Create a tiddler (e.g., SidebarImportZone)
> * Enter text content: `<$dropzone><$button>drop here to import 
> tiddlers`
> * Tag it with `$:/tags/SideBarSegment`
> * Add a field named 'list-before' with a value of 
> `$:/core/ui/SideBarSegments/tabs`
>
> Important note: Setting `$:/config/DragAndDrop/Enable` to "no" also 
> disables use of drag-and-drop for re-ordering items within tag dropdowns.  
> To avoid this side-effect, instead of setting 
> `$:/config/DragAndDrop/Enable` to "no", you can disable the drag-and-drop 
> $:/Import handling by editing the `$:/core/ui/PageTemplate` shadow tiddler 
> and completely removing the `<$dropzone ...>` and `` widgets 
> from that tiddler.  This leaves the tag dropdown handling intact, while 
> still preventing page-wide drag-and-drop $:/Import handling from being 
> triggered.
>
> enjoy,
> -e
>
> On Sunday, May 28, 2023 at 8:56:37 AM UTC-7 cj.v...@gmail.com wrote:
>
>> https://youtu.be/-UNSlUzdAY8
>>
>

-- 
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/ab4b7d26-2716-4eb0-9104-56db1027252an%40googlegroups.com.


[tw5] It would be nice if drag and drop mechanism didn't happen everywhere

2023-05-28 Thread Charlie Veniot
https://youtu.be/-UNSlUzdAY8

-- 
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/e598b6ed-05b0-4c72-881f-e74659323f93n%40googlegroups.com.


[tw5] Re: Sample tiddler setup: "About BASIC Anywhere Machine"

2023-05-27 Thread Charlie Veniot
When viewing the OP in Talk TiddlyWiki, the results are really mangled.

The OP is best viewed via the original Google Groups post 
<https://groups.google.com/g/tiddlywiki/c/OHBvw8cnQig>.

On Saturday, May 27, 2023 at 2:46:11 PM UTC-3 Charlie Veniot wrote:

> Just some sample code (and screenshot further below) and one approach for 
> "about" window *(if viewing this in Google Groups, ignore the leading and 
> trailing triple-backticks)*:
>
> ```
> \define archiveLink(ver folder:v5.2.3)
>
> https://basicanywheremachine.neocities.org/Archive/BAM_Versions/$folder$/BAM_IDE_$ver$.html";
>  
> target="_blank">$ver$
>
> \end
>
>
> ! BASIC Anywhere Machine, by [[Charlie Veniot|
> https://cjveniot.neocities.org/]]
>
> !! BASIC Programming Powered by TiddlyWiki
>
> ---
>
> !! Versions
>
> //([[Release Notes|
> https://basicanywheremachine.neocities.org/BAM_ReleaseNotes]])//
>
> __''This version''__:
>
> * {{BAM Version}}
>
> __''Archived versions''__:
>
> //(Versions just before the release of architecturally significant 
> enhancements.)//
>
> * <>  //(Just before refactoring the 
> implementation of character sets.)//
> * <>  //(Just before changes to screen 
> modes.)//
> * <>
> * <>
> ```
> *As displayed in a modal:*
>
> [image: Screenshot 2023-05-27 2.45.03 PM.png]
>

-- 
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/5869e038-f815-401e-9d97-1847369723e2n%40googlegroups.com.


[tw5] Sample tiddler setup: "About BASIC Anywhere Machine"

2023-05-27 Thread Charlie Veniot
Just some sample code (and screenshot further below) and one approach for 
"about" window *(if viewing this in Google Groups, ignore the leading and 
trailing triple-backticks)*:

```
\define archiveLink(ver folder:v5.2.3)

https://basicanywheremachine.neocities.org/Archive/BAM_Versions/$folder$/BAM_IDE_$ver$.html";
 
target="_blank">$ver$

\end


! BASIC Anywhere Machine, by [[Charlie 
Veniot|https://cjveniot.neocities.org/]]

!! BASIC Programming Powered by TiddlyWiki

---

!! Versions

//([[Release 
Notes|https://basicanywheremachine.neocities.org/BAM_ReleaseNotes]])//

__''This version''__:

* {{BAM Version}}

__''Archived versions''__:

//(Versions just before the release of architecturally significant 
enhancements.)//

* <>  //(Just before refactoring the 
implementation of character sets.)//
* <>  //(Just before changes to screen 
modes.)//
* <>
* <>
```
*As displayed in a modal:*

[image: Screenshot 2023-05-27 2.45.03 PM.png]

-- 
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/aa21c134-02e5-4fbf-874d-4ea7468bee2dn%40googlegroups.com.


[tw5] Re: Just a video to show what's possible with TiddlyWiki

2023-05-24 Thread Charlie Veniot

Oh yeah.  To dissect that TiddlyWiki 
instance:  https://basicanywheremachine.neocities.org/BAM_IDE

That's a TW 5.2.3 instance with th efollowing plugins:  CodeMirror, Relink.
On Wednesday, May 24, 2023 at 10:37:03 PM UTC-3 Charlie Veniot wrote:

> This is a long video, not about TiddlyWiki, but might be interesting to 
> TiddlyWiki users, or potential users, to see what is possible with just 
> TiddlyWiki, HTML, and CSS.
>
> No javascript, except for the interpreter that is built in javascript.
>
> However, the javascript isn't used by TiddlyWiki.  To run a BASIC program, 
> TiddlyWiki mashes together the BASIC program with HTML, CSS and the 
> javascript and feeds all of that to an iframe at runtime.
>
> Otherwise, the only javascript is the TiddlyWiki core stuff and whatever 
> comes from the TiddlyWiki plugins.
>
> https://youtu.be/E9DlF4Toync
>

-- 
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/6b02d635-4130-443a-8878-9f29a885688fn%40googlegroups.com.


[tw5] Just a video to show what's possible with TiddlyWiki

2023-05-24 Thread Charlie Veniot
This is a long video, not about TiddlyWiki, but might be interesting to 
TiddlyWiki users, or potential users, to see what is possible with just 
TiddlyWiki, HTML, and CSS.

No javascript, except for the interpreter that is built in javascript.

However, the javascript isn't used by TiddlyWiki.  To run a BASIC program, 
TiddlyWiki mashes together the BASIC program with HTML, CSS and the 
javascript and feeds all of that to an iframe at runtime.

Otherwise, the only javascript is the TiddlyWiki core stuff and whatever 
comes from the TiddlyWiki plugins.

https://youtu.be/E9DlF4Toync

-- 
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/dba37ca9-177a-4b69-a9c4-e6b28f05b999n%40googlegroups.com.


[tw5] How easy is it to create a sprite editor in TW?

2023-05-21 Thread Charlie Veniot
Ridiculously easy.

(Leading and trailing triple backticks to make the code below viewable at 
TalkTiddlyWiki)

```


.bu {width:3em;height:3em;background:white;border:2px dotted 
lightgray;margin-right:-6px;font-weight:bold;}
.bu:hover {border:2px solid black;}}


<$checkbox field="grid" checked="yes" unchecked="no" default="yes"> Show 
Grid

<$list variable="r" filter="[range[1],[8]]">
  <$list variable="c" filter="[range[1],[8]]">
<$let cell={{{ [[cell]addsuffix[.]addsuffixaddsuffix[.]addsuffix] 
}}}
  cell_val={{{ [getelse[.]] }}}>
  <$button
class="bu"
style={{{ 
[match[X]then[background:gray;]else[color:white;]] 
 [get[grid]else[yes]match[no]then[border:none;]] +[join[]] 
}}}>
  <$action-setfield
 $field=<>
 $value={{{ [match[.]then[X]else[.]] }}}/>
  <>
  

  
  



```

-- 
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/e67f4dae-6295-4885-a6bc-13e4de298acen%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread Charlie Veniot
There are a few problems in your TW scripting.

The first line, action-setfield.   All action widgets have to be the result 
of something happening (like clicking on a button).  That action doesn't 
have anything to trigger it, so it will never happen.

The other action-setfield does happen when pushing on the button.  It 
correctly sets the "bodyfontsize" metric.

The slider, though, sets the text value for a tiddler that is used in your 
CSS to set the font size of tc-edit-text-editor-body.

tc-edit-text-editor-body and "bodyfontsize" are two different things.

If you use the TiddlyWiki control panel, setting the bodyfontsize does have 
an impact on the font size for tc-edit-text-editor-body (have a tiddler in 
edit mode while changing things in the control panel to see what happens), 
but it isn't a 1-1 relationship.

What "one" thing are you trying to accomplish here?

On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:

> Hello forum,
>
> inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
> but no effect when clicking on the button.
> Any idea why?
>
> Also tested on https://tiddlywiki.com/
> [image: code.png]
> *Code:*
> <$action-setfield 
> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> text={{fontsizeValue}}/>
> Schriftgröße (Editor): 
>   
> <$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
> increment="0.5" class="slider"/> 
>  
>  {{fontsizeEditor}} px 
> <$button class="tc-btn-invisible" tooltip="Reset">
> <$action-setfield 
> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> text="18px"/> 
> ''↺''
> 
>
> with 
> [image: Stylesheet.png] 
>
> Thanks for help.
> Stefan
>
> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:
>
>> Done.  Plus a "reset" button.
>>
>> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>>
>> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>>
>>>  Charlie Veniot wrote:
>>> > Just for the giggles to figure out how I would go about it.
>>>
>>> Very nice!  One suggestion: make the max 200 or so rather than the 
>>> default 100.  Help those with poorer eyesight!
>>>
>>>   -- Scott
>>>
>>

-- 
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/2b8f1a92-ae34-4ca8-aff6-e117d0d4e77fn%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread Charlie Veniot
Done.  Plus a "reset" button.

[image: Screenshot 2023-05-18 2.19.38 PM.png]

On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:

>  Charlie Veniot wrote:
> > Just for the giggles to figure out how I would go about it.
>
> Very nice!  One suggestion: make the max 200 or so rather than the default 
> 100.  Help those with poorer eyesight!
>
>   -- Scott
>

-- 
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/dc5d18b6-936b-46dd-a572-2d5b6d78b67an%40googlegroups.com.


TiddlerEditorTextResizerGadget.json
Description: application/json


[tw5] Re: Do you want alternative editor fonts for different tiddlers?

2023-05-15 Thread Charlie Veniot
Oops.  Ignore the border attribute in that last style sample because that 
attribute doesn't make any sense for tc-edit-texteditor-body.

Copy-paste from some other sample code, and I should have edited that out.

That said, you could replace it with something like "text-decoration: 
underline;" to make spaces easier to identify, and/or all kinds of other 
attributes as visual cue reminders.

On Monday, May 15, 2023 at 7:21:31 PM UTC-3 Charlie Veniot wrote:

> If you want to try this at TiddlyWiki.com, create a new tiddler tagged 
> with that "Stylesheet" tag like in the examples above, and put the 
> following in the text of the tiddler (if viewing this post in Google 
> Groups, ignore the triple-tick-marks):
>
> ```
> [data-tags="Examples"] .tc-edit-texteditor-body { border: 1px solid blue; 
> font-size:3em; font-family:Cursive; }```
> On Monday, May 15, 2023 at 6:49:30 PM UTC-3 Charlie Veniot wrote:
>
>> Just another screenshot example:
>>
>> [image: Screenshot 2023-05-15 6.48.45 PM.png]
>>
>> On Monday, May 15, 2023 at 6:45:44 PM UTC-3 Charlie Veniot wrote:
>>
>>> Modify the stylesheet tiddler so that it generates various editor styles 
>>> for whatever groups of tiddlers.
>>>
>>> [image: Screenshot 2023-05-15 6.43.13 PM.png]
>>>
>>

-- 
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/8003b9ac-166e-4b52-98d2-da1b0ff39c51n%40googlegroups.com.


[tw5] Re: Do you want alternative editor fonts for different tiddlers?

2023-05-15 Thread Charlie Veniot
If you want to try this at TiddlyWiki.com, create a new tiddler tagged with 
that "Stylesheet" tag like in the examples above, and put the following in 
the text of the tiddler (if viewing this post in Google Groups, ignore the 
triple-tick-marks):

```
[data-tags="Examples"] .tc-edit-texteditor-body { border: 1px solid blue; 
font-size:3em; font-family:Cursive; }```
On Monday, May 15, 2023 at 6:49:30 PM UTC-3 Charlie Veniot wrote:

> Just another screenshot example:
>
> [image: Screenshot 2023-05-15 6.48.45 PM.png]
>
> On Monday, May 15, 2023 at 6:45:44 PM UTC-3 Charlie Veniot wrote:
>
>> Modify the stylesheet tiddler so that it generates various editor styles 
>> for whatever groups of tiddlers.
>>
>> [image: Screenshot 2023-05-15 6.43.13 PM.png]
>>
>

-- 
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/c37189ae-f171-49e6-99e2-fad34ad99ab4n%40googlegroups.com.


[tw5] Re: Do you want alternative editor fonts for different tiddlers?

2023-05-15 Thread Charlie Veniot
Just another screenshot example:

[image: Screenshot 2023-05-15 6.48.45 PM.png]

On Monday, May 15, 2023 at 6:45:44 PM UTC-3 Charlie Veniot wrote:

> Modify the stylesheet tiddler so that it generates various editor styles 
> for whatever groups of tiddlers.
>
> [image: Screenshot 2023-05-15 6.43.13 PM.png]
>

-- 
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/63f97081-d32b-445f-b401-606c465a1b1bn%40googlegroups.com.


[tw5] Do you want alternative editor fonts for different tiddlers?

2023-05-15 Thread Charlie Veniot
Modify the stylesheet tiddler so that it generates various editor styles 
for whatever groups of tiddlers.

[image: Screenshot 2023-05-15 6.43.13 PM.png]

-- 
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/93811df9-cb30-4049-83a6-b68357ff4181n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
If you want to understand why I wrote the TW script the way I did:  The 
Cartesian Product: understanding what it is and avoiding it like the plague 
<https://talk.tiddlywiki.org/t/the-cartesian-product-understanding-what-it-is-and-avoiding-it-like-the-plague/6978>

On Thursday, May 11, 2023 at 12:47:50 PM UTC-3 Charlie Veniot wrote:

> BTW: when viewing my previous reply in Google Groups, ignore the triple 
> tick-marks before and after the TW scripting.
>
> Those triple tick-marks are only there so that the code, when viewed via 
> the Talk.TiddlyWiki discourse forum, does not get mangled.
>
> On Thursday, May 11, 2023 at 10:53:50 AM UTC-3 Charlie Veniot wrote:
>
>> It might not make much of a difference performance-wise, but in my "just 
>> in case" mindset, I'd do something like this:
>>
>> ```
>>  <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>> counter="myCounter">
>> <$list filter="[!match[1]]">
>>
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> 
>> ```
>>
>> On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:
>>
>>> You can use the counter attribute of the list widget, like this:
>>>
>>> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>>> counter="myCounter">
>>> <$link><$view field="title"/>
>>> <$transclude mode="block" field="text"/>
>>> <$list filter={{{ [!match[yes]] }}}>
>>> 
>>>
>>>
>>> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>>>
>>>> I am using something like this;
>>>>
>>>> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
>>>> <$link><$view field="title"/>
>>>> <$transclude mode="block" field="text"/>
>>>> 
>>>> 
>>>>
>>>> but I don't like the extra hr that it puts on the bottom... Is there a 
>>>> way I can test to see if its not the last item in the list and then hide 
>>>> that using a reveal widget?
>>>>
>>>

-- 
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/96929784-f066-407e-9a77-8c640ede4e51n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
BTW: when viewing my previous reply in Google Groups, ignore the triple 
tick-marks before and after the TW scripting.

Those triple tick-marks are only there so that the code, when viewed via 
the Talk.TiddlyWiki discourse forum, does not get mangled.

On Thursday, May 11, 2023 at 10:53:50 AM UTC-3 Charlie Veniot wrote:

> It might not make much of a difference performance-wise, but in my "just 
> in case" mindset, I'd do something like this:
>
> ```
>  <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
> counter="myCounter">
> <$list filter="[!match[1]]">
>
> <$link><$view field="title"/>
> <$transclude mode="block" field="text"/>
> 
> ```
>
> On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:
>
>> You can use the counter attribute of the list widget, like this:
>>
>> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>> counter="myCounter">
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> <$list filter={{{ [!match[yes]] }}}>
>> 
>>
>>
>> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>>
>>> I am using something like this;
>>>
>>> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
>>> <$link><$view field="title"/>
>>> <$transclude mode="block" field="text"/>
>>> 
>>> 
>>>
>>> but I don't like the extra hr that it puts on the bottom... Is there a 
>>> way I can test to see if its not the last item in the list and then hide 
>>> that using a reveal widget?
>>>
>>

-- 
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/a33383bf-f63d-4148-b2e9-be11fb93af99n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
It might not make much of a difference performance-wise, but in my "just in 
case" mindset, I'd do something like this:

```
 <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
counter="myCounter">
<$list filter="[!match[1]]">
<$link><$view field="title"/>
<$transclude mode="block" field="text"/>

```

On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:

> You can use the counter attribute of the list widget, like this:
>
> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
> counter="myCounter">
> <$link><$view field="title"/>
> <$transclude mode="block" field="text"/>
> <$list filter={{{ [!match[yes]] }}}>
> 
>
>
> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>
>> I am using something like this;
>>
>> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> 
>> 
>>
>> but I don't like the extra hr that it puts on the bottom... Is there a 
>> way I can test to see if its not the last item in the list and then hide 
>> that using a reveal widget?
>>
>

-- 
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/3c2dfc59-9af9-46ae-a7e6-9eee125f3265n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-05-01 Thread Charlie Veniot
Well, mine was about grabbing links that don't have gibberish in them.

On Monday, May 1, 2023 at 5:38:40 PM UTC-3 Charlie Veniot wrote:

> Thanks Eric, I had everything working, but had no clue how to use it.
>
> Having to navigate to the site is okay, but that's a completely different 
> use case than the one in the OP, which is about grabbing links on a page.
>
> On Monday, May 1, 2023 at 5:27:40 PM UTC-3 Eric Shulman wrote:
>
>> To create the bookmarklet:
>> (note: these instructions are for Chrome.  Similar actions are available 
>> for other browsers, though the menu item and dialog may vary somewhat)
>>
>>- First, select and copy the code posted by cskrisz to your clipboard:
>>
>>
>>- ```
>>javascript: 
>>
>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>
>>
>>- ```
>>- Then, right-click on your browser's bookmark bar and select "Add 
>>page..." from the popup menu.
>>- In the dialog that appears, in the "Name" input, enter something 
>>like "Make a TW prettylink", and in the "URL" input, paste the 
>>"javascript:..." code from your clipboard.
>>- Press "Save" to add the bookmark to your browser.
>>- Note that the new bookmark will appear at the end of your existing 
>>bookmarks.  You can use drag-and-drop or "Bookmark manager" to relocate 
>> the 
>>bookmark within the bookmark bar
>>
>> To use the bookmarklet:
>>
>>- Go to any page on any website you like
>>- Press the "Make a TW prettylink" bookmark
>>- This will copy the current URL's title and href to your system 
>>clipboard, formatted as a TW prettylink (e.g., `[[Title|URL]]`)
>>
>> To add the prettylink to your TW document:
>>
>>- Open your TW document
>>- Press "+" to create a new tiddler (or edit an existing tiddler)
>>- Place the cursor in the tiddler's text area input
>>- Press ctrl-V or right-click and select "Paste" from the popup menu.
>>
>> done.
>> On Monday, May 1, 2023 at 12:56:04 PM UTC-7 cj.v...@gmail.com wrote:
>>
>>> I just wasted the last hour trying to get that bookmarklet to work.
>>>
>>> If you recommend this as a good way to go, could you give some pointers 
>>> on how to get it working?
>>>
>>> On Monday, May 1, 2023 at 9:31:05 AM UTC-3 Charlie Veniot wrote:
>>>
>>>> Why on earth would you have not provided that crucial observation in 
>>>> your first post?  I only tested with links that do not have gibberish in 
>>>> the URL.
>>>>
>>>> On Monday, May 1, 2023 at 2:24:16 AM UTC-3 Krisztián Csordás wrote:
>>>>
>>>>> Bookmarklet - Wikipedia <https://en.wikipedia.org/wiki/Bookmarklet>
>>>>>
>>>>> Personally, I prefer `[[URL Import Gadget (URL to WikiText external 
>>>>> link)|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>>>>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D> over 
>>>>> `[[q3A8j3sIXjI|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>>>>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D>.
>>>>>
>>>>>
>>>>> On Sunday, 30 April 2023 at 17:14:31 UTC+2 Charlie Veniot wrote:
>>>>>
>>>>>> Click (on what, I'm not sure) to copy and then paste is a great 
>>>>>> option for those who cannot drag and drop.
>>>>>>
>>>>>> Drag and drop makes me much happier.
>>>>>>
>>>>>> On Sunday, April 30, 2023 at 4:40:56 AM UTC-3 Krisztián Csordás wrote:
>>>>>>
>>>>>>> When you click it in the bookmarks bar, it copies a wikitext link 
>>>>>>> created from the current page title and URL. Then you can paste it into 
>>>>>>> the 
>>>>>>> tiddler like any other text.
>>>>>>>
>>>>>>> On Sunday, 30 April 2023 at 02:09:43 UTC+2 Charlie Veniot wrote:
>>>>>>>
>>>>>>>> I have no idea how your bookmarklet helps to create a WikiText link 
>>>>>>>> (in TiddlyWiki) to an external site.
>>>>>>>>
>>>>>>>> Could you clarify?
>>>>>>>>
>>>>>>>> On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I use a bookmarklet that copies the wikitext link to the clipboard:
>>>>>>>>>
>>>>>>>>> javascript: 
>>>>>>>>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>>>>>>>> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>>>>>>>>>
>>>>>>>>>> Please find attached in this post the JSON file you need to 
>>>>>>>>>> download and drag into any TiddlyWiki to add this gadget.
>>>>>>>>>>
>>>>>>>>>> https://youtu.be/EIAgESf6K8s
>>>>>>>>>>
>>>>>>>>>

-- 
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/368c8885-05a4-42a4-9e23-642a53feffd4n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-05-01 Thread Charlie Veniot
Thanks Eric, I had everything working, but had no clue how to use it.

Having to navigate to the site is okay, but that's a completely different 
use case than the one in the OP, which is about grabbing links on a page.

On Monday, May 1, 2023 at 5:27:40 PM UTC-3 Eric Shulman wrote:

> To create the bookmarklet:
> (note: these instructions are for Chrome.  Similar actions are available 
> for other browsers, though the menu item and dialog may vary somewhat)
>
>- First, select and copy the code posted by cskrisz to your clipboard:
>
>
>- ```
>javascript: 
>
> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>
>
>- ```
>- Then, right-click on your browser's bookmark bar and select "Add 
>page..." from the popup menu.
>- In the dialog that appears, in the "Name" input, enter something 
>like "Make a TW prettylink", and in the "URL" input, paste the 
>"javascript:..." code from your clipboard.
>- Press "Save" to add the bookmark to your browser.
>- Note that the new bookmark will appear at the end of your existing 
>bookmarks.  You can use drag-and-drop or "Bookmark manager" to relocate 
> the 
>bookmark within the bookmark bar
>
> To use the bookmarklet:
>
>- Go to any page on any website you like
>- Press the "Make a TW prettylink" bookmark
>- This will copy the current URL's title and href to your system 
>clipboard, formatted as a TW prettylink (e.g., `[[Title|URL]]`)
>
> To add the prettylink to your TW document:
>
>- Open your TW document
>- Press "+" to create a new tiddler (or edit an existing tiddler)
>- Place the cursor in the tiddler's text area input
>- Press ctrl-V or right-click and select "Paste" from the popup menu.
>
> done.
> On Monday, May 1, 2023 at 12:56:04 PM UTC-7 cj.v...@gmail.com wrote:
>
>> I just wasted the last hour trying to get that bookmarklet to work.
>>
>> If you recommend this as a good way to go, could you give some pointers 
>> on how to get it working?
>>
>> On Monday, May 1, 2023 at 9:31:05 AM UTC-3 Charlie Veniot wrote:
>>
>>> Why on earth would you have not provided that crucial observation in 
>>> your first post?  I only tested with links that do not have gibberish in 
>>> the URL.
>>>
>>> On Monday, May 1, 2023 at 2:24:16 AM UTC-3 Krisztián Csordás wrote:
>>>
>>>> Bookmarklet - Wikipedia <https://en.wikipedia.org/wiki/Bookmarklet>
>>>>
>>>> Personally, I prefer `[[URL Import Gadget (URL to WikiText external 
>>>> link)|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>>>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D> over 
>>>> `[[q3A8j3sIXjI|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>>>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D>.
>>>>
>>>>
>>>> On Sunday, 30 April 2023 at 17:14:31 UTC+2 Charlie Veniot wrote:
>>>>
>>>>> Click (on what, I'm not sure) to copy and then paste is a great option 
>>>>> for those who cannot drag and drop.
>>>>>
>>>>> Drag and drop makes me much happier.
>>>>>
>>>>> On Sunday, April 30, 2023 at 4:40:56 AM UTC-3 Krisztián Csordás wrote:
>>>>>
>>>>>> When you click it in the bookmarks bar, it copies a wikitext link 
>>>>>> created from the current page title and URL. Then you can paste it into 
>>>>>> the 
>>>>>> tiddler like any other text.
>>>>>>
>>>>>> On Sunday, 30 April 2023 at 02:09:43 UTC+2 Charlie Veniot wrote:
>>>>>>
>>>>>>> I have no idea how your bookmarklet helps to create a WikiText link 
>>>>>>> (in TiddlyWiki) to an external site.
>>>>>>>
>>>>>>> Could you clarify?
>>>>>>>
>>>>>>> On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I use a bookmarklet that copies the wikitext link to the clipboard:
>>>>>>>>
>>>>>>>> javascript: 
>>>>>>>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>>>>>>> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>>>>>>>>
>>>>>>>>> Please find attached in this post the JSON file you need to 
>>>>>>>>> download and drag into any TiddlyWiki to add this gadget.
>>>>>>>>>
>>>>>>>>> https://youtu.be/EIAgESf6K8s
>>>>>>>>>
>>>>>>>>

-- 
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/a86648a0-a851-41f3-bfbd-396f1b55cfc8n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-05-01 Thread Charlie Veniot
I just wasted the last hour trying to get that bookmarklet to work.

If you recommend this as a good way to go, could you give some pointers on 
how to get it working?

On Monday, May 1, 2023 at 9:31:05 AM UTC-3 Charlie Veniot wrote:

> Why on earth would you have not provided that crucial observation in your 
> first post?  I only tested with links that do not have gibberish in the URL.
>
> On Monday, May 1, 2023 at 2:24:16 AM UTC-3 Krisztián Csordás wrote:
>
>> Bookmarklet - Wikipedia <https://en.wikipedia.org/wiki/Bookmarklet>
>>
>> Personally, I prefer `[[URL Import Gadget (URL to WikiText external 
>> link)|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D> over 
>> `[[q3A8j3sIXjI|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
>> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D>.
>>
>>
>> On Sunday, 30 April 2023 at 17:14:31 UTC+2 Charlie Veniot wrote:
>>
>>> Click (on what, I'm not sure) to copy and then paste is a great option 
>>> for those who cannot drag and drop.
>>>
>>> Drag and drop makes me much happier.
>>>
>>> On Sunday, April 30, 2023 at 4:40:56 AM UTC-3 Krisztián Csordás wrote:
>>>
>>>> When you click it in the bookmarks bar, it copies a wikitext link 
>>>> created from the current page title and URL. Then you can paste it into 
>>>> the 
>>>> tiddler like any other text.
>>>>
>>>> On Sunday, 30 April 2023 at 02:09:43 UTC+2 Charlie Veniot wrote:
>>>>
>>>>> I have no idea how your bookmarklet helps to create a WikiText link 
>>>>> (in TiddlyWiki) to an external site.
>>>>>
>>>>> Could you clarify?
>>>>>
>>>>> On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás 
>>>>> wrote:
>>>>>
>>>>>> I use a bookmarklet that copies the wikitext link to the clipboard:
>>>>>>
>>>>>> javascript: 
>>>>>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>>>>> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>>>>>>
>>>>>>> Please find attached in this post the JSON file you need to download 
>>>>>>> and drag into any TiddlyWiki to add this gadget.
>>>>>>>
>>>>>>> https://youtu.be/EIAgESf6K8s
>>>>>>>
>>>>>>

-- 
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/222d1b53-16d3-482b-93b9-4ffd3c836318n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-05-01 Thread Charlie Veniot
Why on earth would you have not provided that crucial observation in your 
first post?  I only tested with links that do not have gibberish in the URL.

On Monday, May 1, 2023 at 2:24:16 AM UTC-3 Krisztián Csordás wrote:

> Bookmarklet - Wikipedia <https://en.wikipedia.org/wiki/Bookmarklet>
>
> Personally, I prefer `[[URL Import Gadget (URL to WikiText external link)|
> https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D> over 
> `[[q3A8j3sIXjI|https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI]]` 
> <https://groups.google.com/g/TiddlyWiki/c/q3A8j3sIXjI%5D%5D>.
>
>
> On Sunday, 30 April 2023 at 17:14:31 UTC+2 Charlie Veniot wrote:
>
>> Click (on what, I'm not sure) to copy and then paste is a great option 
>> for those who cannot drag and drop.
>>
>> Drag and drop makes me much happier.
>>
>> On Sunday, April 30, 2023 at 4:40:56 AM UTC-3 Krisztián Csordás wrote:
>>
>>> When you click it in the bookmarks bar, it copies a wikitext link 
>>> created from the current page title and URL. Then you can paste it into the 
>>> tiddler like any other text.
>>>
>>> On Sunday, 30 April 2023 at 02:09:43 UTC+2 Charlie Veniot wrote:
>>>
>>>> I have no idea how your bookmarklet helps to create a WikiText link (in 
>>>> TiddlyWiki) to an external site.
>>>>
>>>> Could you clarify?
>>>>
>>>> On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás wrote:
>>>>
>>>>> I use a bookmarklet that copies the wikitext link to the clipboard:
>>>>>
>>>>> javascript: 
>>>>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>>>> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>>>>>
>>>>>> Please find attached in this post the JSON file you need to download 
>>>>>> and drag into any TiddlyWiki to add this gadget.
>>>>>>
>>>>>> https://youtu.be/EIAgESf6K8s
>>>>>>
>>>>>

-- 
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/4b29cfee-05f7-49b0-8e17-70fd31e15024n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-04-30 Thread Charlie Veniot
Click (on what, I'm not sure) to copy and then paste is a great option for 
those who cannot drag and drop.

Drag and drop makes me much happier.

On Sunday, April 30, 2023 at 4:40:56 AM UTC-3 Krisztián Csordás wrote:

> When you click it in the bookmarks bar, it copies a wikitext link created 
> from the current page title and URL. Then you can paste it into the tiddler 
> like any other text.
>
> On Sunday, 30 April 2023 at 02:09:43 UTC+2 Charlie Veniot wrote:
>
>> I have no idea how your bookmarklet helps to create a WikiText link (in 
>> TiddlyWiki) to an external site.
>>
>> Could you clarify?
>>
>> On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás wrote:
>>
>>> I use a bookmarklet that copies the wikitext link to the clipboard:
>>>
>>> javascript: 
>>> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
>>> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>>>
>>>> Please find attached in this post the JSON file you need to download 
>>>> and drag into any TiddlyWiki to add this gadget.
>>>>
>>>> https://youtu.be/EIAgESf6K8s
>>>>
>>>

-- 
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/bdea40ec-79ea-4912-99ae-47cd25986953n%40googlegroups.com.


[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-04-29 Thread Charlie Veniot
I have no idea how your bookmarklet helps to create a WikiText link (in 
TiddlyWiki) to an external site.

Could you clarify?

On Saturday, April 29, 2023 at 7:50:44 PM UTC-3 Krisztián Csordás wrote:

> I use a bookmarklet that copies the wikitext link to the clipboard:
>
> javascript: 
> navigator.clipboard.writeText(`[[${document.title.replaceAll('|','–')}|${document.location.href}]]`);
> On Sunday, 16 April 2023 at 00:43:16 UTC+2 Charlie Veniot wrote:
>
>> Please find attached in this post the JSON file you need to download and 
>> drag into any TiddlyWiki to add this gadget.
>>
>> https://youtu.be/EIAgESf6K8s
>>
>

-- 
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/0ce16005-4334-48b1-b706-20f45535910dn%40googlegroups.com.


[tw5] Re: WebAudio API multi-voice experimentation

2023-04-23 Thread Charlie Veniot
Here's something interesting.

Although the first and second oscillators are playing, the third oscillator 
is not.

I tested by, one at a time,  changing one oscillator's frequency to 1000.  
That note plays only for the first two oscillators, but not the third.

So I tried this for the giggles:

```
var merger = context.createChannelMerger(*4*)
```

After that change, the three oscillators play A-1.

Change it to 5, and the third oscillator does not play.  Change it to 6, 
and the notes play, but the sound is horrible.

I do not know if this behaviour applies to only the Chrome browser or to 
many browsers.

On Saturday, April 22, 2023 at 5:14:07 PM UTC-3 Charlie Veniot wrote:

> Put the following in a new tiddler:
>
> ```
> 
> 
> ```
>

-- 
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/62d52e40-440f-480f-a1b0-f30395059517n%40googlegroups.com.


[tw5] WebAudio API multi-voice experimentation

2023-04-22 Thread Charlie Veniot
Put the following in a new tiddler:

```


```

-- 
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/876cd516-28f9-4d28-bac3-f20eadcbde11n%40googlegroups.com.


[tw5] URL Import Gadget (URL to WikiText external link)

2023-04-15 Thread Charlie Veniot
Please find attached in this post the JSON file you need to download and 
drag into any TiddlyWiki to add this gadget.

https://youtu.be/EIAgESf6K8s

-- 
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/d94c5b09-44eb-4fce-a394-36f9161b7553n%40googlegroups.com.


TW_UrlImportGadget.json
Description: application/json


Re: [tw5] TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-06 Thread Charlie Veniot
Me being a huge fan of minimalism (like Tiny Core Linux), I'm a big fan of 
a small (lean and mean) core if it can be paired with an excellent 
repository and easy package (plugin) management.

Looking at what I did with this handy little gadget, there isn't much to 
it, so it would be pretty cool to see that in the core.

I might try and pretty that up and turn into a sidebar tab tiddler that can 
also function well as a transcluded thingy.



On Thursday, April 6, 2023 at 11:53:58 PM UTC-3 Simon Baird wrote:

> I wonder if this could become something that makes its way into the core 
> TiddlyWiki.
>
> Imagine if there was a configuration option under Settings in 
> $:/ControlPanel called "Image import behavior" and the options were "Embed 
> image in TiddlyWiki" and "Externally link image with canonical url field".
>
> If the default behavior was "Embed.." then it wouldn't break anything for 
> those accustomed to the embedding.
>
> On Wed, 5 Apr 2023 at 18:32, Simon Baird  wrote:
>
>> That's really cool - thanks for sharing!
>>
>> On Sun, 2 Apr 2023 at 19:36, Charlie Veniot  wrote:
>>
> Related TW script *in this post*, just below the video.
>>>
>>> https://youtu.be/NjE0MHsndE8
>>>
>>> ```
>>> \define droppable-image-actions()
>>> <$action-setfield $tiddler=<> $field="text" $value=""/>
>>> <$action-setfield $tiddler=<> $field="_canonical_uri" 
>>> $value={{{ [split[/]last[]addprefix[./Graphics%20Samples/]] 
>>> }}}/>
>>> <$action-setfield $tiddler=<> $field="type" $value={{{ 
>>> [split[/]last[]split[.]last[]addprefix[image/]] }}}/>
>>> <$action-createtiddler $basetitle={{{ [split[/]last[]] 
>>> }}} $template=<>/>
>>> <$action-deletetiddler $tiddler=<>/>
>>> \end
>>>
>>> <$droppable actions=<>>
>>> 
>>> Drop image here
>>> 
>>> 
>>> ```
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>> simon...@gmail.com
>>
>
>
> -- 
> simon...@gmail.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/5cd93938-97ea-46c7-bc79-eb9492c4ba5cn%40googlegroups.com.


Re: [tw5] TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-06 Thread Charlie Veniot
Hey, thanks for giving that a gander !

I am all for reducing the number of mouse clicks to get stuff done.  Part 
of my quest to reduce the spread of mouse-clicky-induced tendinitis o' the 
finger knuckle.

We are going to have a generation of folk who cannot finger-poke 
significant others' foreheads, when said significant others honestly 
deserve a straight finger-poke to the forehead...

On Thursday, April 6, 2023 at 11:53:58 PM UTC-3 Simon Baird wrote:

> I wonder if this could become something that makes its way into the core 
> TiddlyWiki.
>
> Imagine if there was a configuration option under Settings in 
> $:/ControlPanel called "Image import behavior" and the options were "Embed 
> image in TiddlyWiki" and "Externally link image with canonical url field".
>
> If the default behavior was "Embed.." then it wouldn't break anything for 
> those accustomed to the embedding.
>
> On Wed, 5 Apr 2023 at 18:32, Simon Baird  wrote:
>
>> That's really cool - thanks for sharing!
>>
>> On Sun, 2 Apr 2023 at 19:36, Charlie Veniot  wrote:
>>
> Related TW script *in this post*, just below the video.
>>>
>>> https://youtu.be/NjE0MHsndE8
>>>
>>> ```
>>> \define droppable-image-actions()
>>> <$action-setfield $tiddler=<> $field="text" $value=""/>
>>> <$action-setfield $tiddler=<> $field="_canonical_uri" 
>>> $value={{{ [split[/]last[]addprefix[./Graphics%20Samples/]] 
>>> }}}/>
>>> <$action-setfield $tiddler=<> $field="type" $value={{{ 
>>> [split[/]last[]split[.]last[]addprefix[image/]] }}}/>
>>> <$action-createtiddler $basetitle={{{ [split[/]last[]] 
>>> }}} $template=<>/>
>>> <$action-deletetiddler $tiddler=<>/>
>>> \end
>>>
>>> <$droppable actions=<>>
>>> 
>>> Drop image here
>>> 
>>> 
>>> ```
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>> simon...@gmail.com
>>
>
>
> -- 
> simon...@gmail.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/fbc5bb80-420b-467c-a257-5c94da097fa4n%40googlegroups.com.


[tw5] Re: TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-05 Thread Charlie Veniot
Using the droppable widget, we have no way (none documented that I know of) 
of knowing the URL of the thing being dropped.

We can get the filename, though.

The whole point of using the droppable widget  is to drop into your 
TiddlyWiki just enough info about images from your storage location.to 
create an image tiddler with a canonical uri link.

The info for the canonical uri via drop to the droppable widget is 
incomplete.  You have to provide the missing bit (the standard bit for all 
of your images) that will be added as a prefix to the image name.

If the intent is to create image tiddlers with canonical uri's from all 
possible sources on the web, this is not the right approach.



On Wednesday, April 5, 2023 at 6:12:41 PM UTC-3 Zaphod Beeblebrox wrote:

> Okay... Works, after a fashion.
>
> When I drag an image from a Chrome tab with the folder into the tiddler 
> containing your macro, I get
>
> ./Graphics%20Samples/
>
> before the filename and no image shows in the Tiddler (this is NOT part of 
> the file path to the image).
>
> But once I delete the above addition, all works fine :)
>
> It still adds the '%20' in place of spaces in the filename, but they can 
> safely be replaced by spaces (if I could write filters, I could probably 
> add one to automatically convert them back to spaces, but...)
>
> In any event, this will still be quite useful - Thank You, Charlie :)
>
> On Wednesday, April 5, 2023 at 8:39:47 AM UTC-4 Charlie Veniot wrote:
>
>> If I view a folder on my computer via my web browser, I can drag the 
>> links for image files from that directory listing in my web browser to that 
>> droppable zone I created and have displaying in my local TiddlyWiki.
>>
>> No server needed for that.
>>
>> On Wednesday, April 5, 2023 at 1:27:35 AM UTC-3 Donald Coates wrote:
>>
>>> You have to have some sort of server running to upload files.  When you 
>>> drag an image into a single file wiki it is not uploading it, it is 
>>> converting it to binary(?), not actually uploading the image.  The nodejs 
>>> version is running on server software that can upload files.  I use 
>>> filestash via docker for a very lightweight server to upload images that I 
>>> then use this code to create link to by dragging the link.  It is such a 
>>> time saver.
>>>
>>> On Monday, April 3, 2023 at 9:19:52 PM UTC-4 Zaphod Beeblebrox wrote:
>>>
>>>> Looks great! :)
>>>>
>>>> Now... Work your sorcery and create a version to do the same thing, 
>>>> only with locally-stored images!
>>>>
>>>> On Sunday, April 2, 2023 at 7:36:10 PM UTC-4 Charlie Veniot wrote:
>>>>
>>>>> Related TW script *in this post*, just below the video.
>>>>>
>>>>> https://youtu.be/NjE0MHsndE8
>>>>>
>>>>> ```
>>>>> \define droppable-image-actions()
>>>>> <$action-setfield $tiddler=<> $field="text" $value=""/>
>>>>> <$action-setfield $tiddler=<> $field="_canonical_uri" 
>>>>> $value={{{ 
>>>>> [split[/]last[]addprefix[./Graphics%20Samples/]] 
>>>>> }}}/>
>>>>> <$action-setfield $tiddler=<> $field="type" $value={{{ 
>>>>> [split[/]last[]split[.]last[]addprefix[image/]] }}}/>
>>>>> <$action-createtiddler $basetitle={{{ [split[/]last[]] 
>>>>> }}} $template=<>/>
>>>>> <$action-deletetiddler $tiddler=<>/>
>>>>> \end
>>>>>
>>>>> <$droppable actions=<>>
>>>>> 
>>>>> Drop image here
>>>>> 
>>>>> 
>>>>> ```
>>>>>
>>>>

-- 
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/a7870d61-e2c9-4915-a80e-2570ff38183fn%40googlegroups.com.


[tw5] Re: TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-05 Thread Charlie Veniot
If I view a folder on my computer via my web browser, I can drag the links 
for image files from that directory listing in my web browser to that 
droppable zone I created and have displaying in my local TiddlyWiki.

No server needed for that.

On Wednesday, April 5, 2023 at 1:27:35 AM UTC-3 Donald Coates wrote:

> You have to have some sort of server running to upload files.  When you 
> drag an image into a single file wiki it is not uploading it, it is 
> converting it to binary(?), not actually uploading the image.  The nodejs 
> version is running on server software that can upload files.  I use 
> filestash via docker for a very lightweight server to upload images that I 
> then use this code to create link to by dragging the link.  It is such a 
> time saver.
>
> On Monday, April 3, 2023 at 9:19:52 PM UTC-4 Zaphod Beeblebrox wrote:
>
>> Looks great! :)
>>
>> Now... Work your sorcery and create a version to do the same thing, only 
>> with locally-stored images!
>>
>> On Sunday, April 2, 2023 at 7:36:10 PM UTC-4 Charlie Veniot wrote:
>>
>>> Related TW script *in this post*, just below the video.
>>>
>>> https://youtu.be/NjE0MHsndE8
>>>
>>> ```
>>> \define droppable-image-actions()
>>> <$action-setfield $tiddler=<> $field="text" $value=""/>
>>> <$action-setfield $tiddler=<> $field="_canonical_uri" 
>>> $value={{{ [split[/]last[]addprefix[./Graphics%20Samples/]] 
>>> }}}/>
>>> <$action-setfield $tiddler=<> $field="type" $value={{{ 
>>> [split[/]last[]split[.]last[]addprefix[image/]] }}}/>
>>> <$action-createtiddler $basetitle={{{ [split[/]last[]] 
>>> }}} $template=<>/>
>>> <$action-deletetiddler $tiddler=<>/>
>>> \end
>>>
>>> <$droppable actions=<>>
>>> 
>>> Drop image here
>>> 
>>> 
>>> ```
>>>
>>

-- 
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/34acf26b-6230-47ed-9b7b-d5678010db4bn%40googlegroups.com.


[tw5] Re: TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-03 Thread Charlie Veniot
Actually, it works A-1.

However, do not drag a local file.

Instead, view the local directory that has the files via your web browser.  
Then drag an image file's link to the droppable zone.

The droppable zone will handle links to files, but not actual files.


On Monday, April 3, 2023 at 10:19:52 PM UTC-3 Zaphod Beeblebrox wrote:

> Looks great! :)
>
> Now... Work your sorcery and create a version to do the same thing, only 
> with locally-stored images!
>
> On Sunday, April 2, 2023 at 7:36:10 PM UTC-4 Charlie Veniot wrote:
>
>> Related TW script *in this post*, just below the video.
>>
>> https://youtu.be/NjE0MHsndE8
>>
>> ```
>> \define droppable-image-actions()
>> <$action-setfield $tiddler=<> $field="text" $value=""/>
>> <$action-setfield $tiddler=<> $field="_canonical_uri" 
>> $value={{{ [split[/]last[]addprefix[./Graphics%20Samples/]] 
>> }}}/>
>> <$action-setfield $tiddler=<> $field="type" $value={{{ 
>> [split[/]last[]split[.]last[]addprefix[image/]] }}}/>
>> <$action-createtiddler $basetitle={{{ [split[/]last[]] }}} 
>> $template=<>/>
>> <$action-deletetiddler $tiddler=<>/>
>> \end
>>
>> <$droppable actions=<>>
>> 
>> Drop image here
>> 
>> 
>> ```
>>
>

-- 
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/a96b0748-bdc9-4ebf-92cb-243f8ea98fc3n%40googlegroups.com.


[tw5] TiddlyWiki: Drag and drop image link to create tiddler with _canonical_uri link to the image

2023-04-02 Thread Charlie Veniot
Related TW script *in this post*, just below the video.

https://youtu.be/NjE0MHsndE8

```
\define droppable-image-actions()
<$action-setfield $tiddler=<> $field="text" $value=""/>
<$action-setfield $tiddler=<> $field="_canonical_uri" 
$value={{{ [split[/]last[]addprefix[./Graphics%20Samples/]] 
}}}/>
<$action-setfield $tiddler=<> $field="type" $value={{{ 
[split[/]last[]split[.]last[]addprefix[image/]] }}}/>
<$action-createtiddler $basetitle={{{ [split[/]last[]] }}} 
$template=<>/>
<$action-deletetiddler $tiddler=<>/>
\end

<$droppable actions=<>>

Drop image here


```

-- 
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/aab7273a-7f53-4ce8-adc4-fdfdb03058b7n%40googlegroups.com.


[tw5] Re: SelectWidget: adding separator lines

2023-04-01 Thread Charlie Veniot
Since I'm finding myself using this separator in many places, it made sense 
to macrofy the thing:

```
\define selectOptionSeparator() ─
```

Example:

```
<>
🥇 Acknowledgements
❤ Support This 
Project
```

On Thursday, March 30, 2023 at 6:43:13 PM UTC-3 Charlie Veniot wrote:

> [image: Screenshot 2023-03-30 6.41.32 PM - Display 2.png]
>
> On Thursday, March 30, 2023 at 6:40:14 PM UTC-3 Charlie Veniot wrote:
>
>> I found a unicode character that gives nicer results:
>>
>> ```
>> ─
>> ```
>>
>> On Thursday, March 30, 2023 at 6:30:47 PM UTC-3 Charlie Veniot wrote:
>>
>>> This works with my Chrome web browser.  I don't know about other web 
>>> browsers.
>>>
>>>
>>>
>>> ```
>>> <$select tiddler='$:/SiteTitle' tooltip='Choose a new site title'>
>>> A Tale of Two Cities
>>> 
>>> A New Kind of Science
>>> —
>>> The Dice Man
>>> 
>>> ```
>>>
>>

-- 
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/5d8e4da0-e372-4abb-9052-226e090cf714n%40googlegroups.com.


[tw5] FeatherWiki works really well as embedded content

2023-04-01 Thread Charlie Veniot
For certain things that don't need to be in a TiddlyWiki instance and would 
just clutter up a TiddlyWiki instance ...

If it is the kind of content that fits well in FeatherWiki, it might make 
sense in certains scenarios to manage that content in a small FeatherWiki 
instance and embed it in a TiddlyWiki (or wherever else needed) with an 
iframe.

For example, Sample BASIC Anywhere Machine Programs 

.

-- 
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/7eb7735e-6288-4f8b-8ffd-dc1b62890b22n%40googlegroups.com.


[tw5] Tiddler Links showing only in "TiddlyWiki interface" mode

2023-04-01 Thread Charlie Veniot
The BASIC Anywhere Machine User Guide and Programming Reference 
 by 
default displays a customised interface that hides the natural TiddlyWiki 
interface.

When working on the BAM documentation in the natural interface, I need easy 
access links to anything I see so that I can quickly edit it.

So this requires links that show when in the natural interface, and links 
that hide when in the custom interface.

*The following in the custom interface*
[image: Screenshot 2023-04-01 9.15.53 PM.png]
l*ooks like this in the natural interface:*
[image: Screenshot 2023-04-01 9.14.52 PM.png]
So I can design and test the interface in the natural interface as it would 
look in the custom interface, but with the addition of the tiddler (fish) 
emoji, so that when I select a subject, I can quickly go to the related 
tiddler for editing.

To create the fishy link:
```
{{{ [[$:/temp/currently_showing]get[book]] || fLx }}}
```
The tiddler ```$:/temp/currently_showing``` (```book``` field) holds the 
selection of "Subject".

```fLx``` is a template tiddler.  It has

```
^^
<$list filter="[[$:/state/sidebar]get[text]]+[match[yes]] 
[] +[replace[yes]]">
<$link to={{!!title}}  tooltip={{{ [addprefix[Open 
]addsuffix[ Tiddler]] }}}>🐟^^ 
```

The fishy link only shows when the TW sidebar is showing.  So the benefit 
of two things for the price of one (reduce, reuse, recycle!):  the sidebar 
is hidden when in the custom interface, and I can see exactly how a tiddler 
will look in the custom interface without leaving the natural interface by 
hiding the sidebar.





-- 
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/eb67c2c6-9b30-48a1-a56d-5f426dbf9ae5n%40googlegroups.com.


[tw5] BAM now also available at Tiddlyhost

2023-04-01 Thread Charlie Veniot
Being a supporter of Neocities ( I think it is good for folk to have a free 
place to build old-school websites), I've been hosting all of my TiddlyWiki 
instances over there,

Of course, Neocities being free and it always having potential of hosting 
sites that might not be appropriate/trustworthy, some environments may 
completely block access to Neocities.

I've just setup https://bam-ide.tiddlyhost.com/ so that anybody interested 
in it but could not access it, now hopefully can give it a spin.

-- 
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/caceace7-8394-4cd6-a46b-57ffa0c8c4fdn%40googlegroups.com.


[tw5] Re: SelectWidget: adding separator lines

2023-03-30 Thread Charlie Veniot
[image: Screenshot 2023-03-30 6.41.32 PM - Display 2.png]

On Thursday, March 30, 2023 at 6:40:14 PM UTC-3 Charlie Veniot wrote:

> I found a unicode character that gives nicer results:
>
> ```
> ─
> ```
>
> On Thursday, March 30, 2023 at 6:30:47 PM UTC-3 Charlie Veniot wrote:
>
>> This works with my Chrome web browser.  I don't know about other web 
>> browsers.
>>
>>
>>
>> ```
>> <$select tiddler='$:/SiteTitle' tooltip='Choose a new site title'>
>> A Tale of Two Cities
>> 
>> A New Kind of Science
>> —
>> The Dice Man
>> 
>> ```
>>
>

-- 
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/704cbdc0-b3db-4504-bee1-94c25e9aeca1n%40googlegroups.com.


[tw5] Re: SelectWidget: adding separator lines

2023-03-30 Thread Charlie Veniot
I found a unicode character that gives nicer results:

```
─
```

On Thursday, March 30, 2023 at 6:30:47 PM UTC-3 Charlie Veniot wrote:

> This works with my Chrome web browser.  I don't know about other web 
> browsers.
>
>
>
> ```
> <$select tiddler='$:/SiteTitle' tooltip='Choose a new site title'>
> A Tale of Two Cities
> 
> A New Kind of Science
> —
> The Dice Man
> 
> ```
>

-- 
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/8bd11981-1d6b-4b81-a3c6-1944f0a6caebn%40googlegroups.com.


[tw5] SelectWidget: adding separator lines

2023-03-30 Thread Charlie Veniot
This works with my Chrome web browser.  I don't know about other web 
browsers.



```
<$select tiddler='$:/SiteTitle' tooltip='Choose a new site title'>
A Tale of Two Cities

A New Kind of Science
—
The Dice Man

```

-- 
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/d13dcd33-cc0d-443e-8fe1-56093a67b7adn%40googlegroups.com.


[tw5] A benefit of using emojis in tiddler titles

2023-03-26 Thread Charlie Veniot
Although I have yet to run into any issue with the use of emojis in any of 
my TiddlyWiki instances, do keep in mind the possibility of problems with 
web browsers (desktop or mobile) that might not support one/more/any emojis 
!!!

I'm finding that they help make tiddler titles stand out in long lists, and 
that helps to quickly find/identify tiddlers.

[image: Screenshot 2023-03-26 8.07.13 PM.png]

-- 
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/db742190-2779-4fa3-a699-c61a779b0d5dn%40googlegroups.com.


[tw5] An example "means of support" tiddler for TiddlyWiki-based projects

2023-03-26 Thread Charlie Veniot

❤ Support This Project 


-- 
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/0025f8ac-725c-4844-afac-c1f15dd07444n%40googlegroups.com.


[tw5] Re: The best kind of documentation let's you try your own snippets of code

2023-03-24 Thread Charlie Veniot
Hey, thank-you much for giving that a spin!

It is  always great to know that something working on my device actually 
works on somebody else's device too !

On Saturday, March 25, 2023 at 1:14:11 AM UTC-3 Grant Parks wrote:

> It looks sharp and runs nicely.
>
> On Friday, March 24, 2023 at 9:38:01 PM UTC-6 Charlie Veniot wrote:
>
>> As I'm in the process of rejigging the navigation setup for the BASIC 
>> Anywhere Machine documentation, I'm creating some introductory info to 
>> describe this ability to run sample code and try out your own.
>>
>> See the Demonstration Programs and Runs 
>> <https://basicanywheremachine.neocities.org/BAM_ProgReference?target=Introduction%3A%3ADemonstration%20Programs%20and%20Runs#Home>
>>  topic.
>>
>> Although TiddlyWiki does a good job at creating static sites, the loss of 
>> dynamic features can be a real bummer.
>>
>> I think this TiddlyWiki instance does a decent job at keeping the dynamic 
>> goodness of TiddlyWiki while presenting the content in a somewhat 
>> traditional website look and feel
>>
>> Mind you, quick performance with a low footprint, one can't beat a static 
>> website.
>>
>>
>>
>> On Saturday, February 11, 2023 at 5:00:46 PM UTC-4 Charlie Veniot wrote:
>>
>>> This feature in BASIC Anywhere Machine's Programming Reference only 
>>> because TiddlyWiki makes it so easy to setup.
>>>
>>> 🆕 Programming Reference: feature to try your own code next to code 
>>> snippets 
>>> <https://basicanywheremachine-news.blogspot.com/2023/02/programming-reference-feature-to-try.html>
>>>
>>

-- 
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/bf723185-3a2c-47b2-9f03-44eb18842c47n%40googlegroups.com.


[tw5] Re: The best kind of documentation let's you try your own snippets of code

2023-03-24 Thread Charlie Veniot
As I'm in the process of rejigging the navigation setup for the BASIC 
Anywhere Machine documentation, I'm creating some introductory info to 
describe this ability to run sample code and try out your own.

See the Demonstration Programs and Runs 
<https://basicanywheremachine.neocities.org/BAM_ProgReference?target=Introduction%3A%3ADemonstration%20Programs%20and%20Runs#Home>
 topic.

Although TiddlyWiki does a good job at creating static sites, the loss of 
dynamic features can be a real bummer.

I think this TiddlyWiki instance does a decent job at keeping the dynamic 
goodness of TiddlyWiki while presenting the content in a somewhat 
traditional website look and feel

Mind you, quick performance with a low footprint, one can't beat a static 
website.



On Saturday, February 11, 2023 at 5:00:46 PM UTC-4 Charlie Veniot wrote:

> This feature in BASIC Anywhere Machine's Programming Reference only 
> because TiddlyWiki makes it so easy to setup.
>
> 🆕 Programming Reference: feature to try your own code next to code 
> snippets 
> <https://basicanywheremachine-news.blogspot.com/2023/02/programming-reference-feature-to-try.html>
>

-- 
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/c1030a07-002c-4b16-ac72-6d6606346798n%40googlegroups.com.


[tw5] BAM Documentation: generating, grabbing, sharing a subject-topic

2023-03-23 Thread Charlie Veniot
About BASIC Anywhere Machine: Description of BASIC Anywhere Machine 


Clicking on the link above will open the specific subject and topic in the 
BAM documentation.

That link is generated when you pick any subject and topic.

You copy the link to your clipboard by pressing the little button on the 
right side of the topic select widget.

On startup, the TiddlyWiki checks the url for parameters that specify 
subject and topic.

In the works: setting up more subjects and topics.

[image: Screenshot 2023-03-24 12.27.59 AM - Display 1.png]

-- 
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/ffc199ad-8abc-43a9-b08c-46714a74afccn%40googlegroups.com.


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-22 Thread Charlie Veniot
It would seem that the GraphViz plugin only supports the "dot" layout 
engine.

Any graph specified with a layout engine 
<https://graphviz.org/docs/layouts/> other than dot will not be rendered by 
the GraphViz plugin?

Too bad, but I don't think that's a deal breaker.



On Wednesday, March 22, 2023 at 12:28:54 AM UTC-3 Charlie Veniot wrote:

> Duh.
>
> If you just want to click and view diagrams ...
>
> What I'm suddenly finding quite neat: I can have a private TiddlyWiki 
> generate these URL's, and the graphs are displayed by the public GraphViz 
> uTWility.
>
> Graphviz Gallery <https://graphviz.org/gallery/>
>
> Bazel Build System 
> <https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?digraph%20mygraph%20%7B%0A%20%20fontname=%22Helvetica,Arial,sans-serif%22%0A%20%20node%20%5Bfontname=%22Helvetica,Arial,sans-serif%22%5D%0A%20%20edge%20%5Bfontname=%22Helvetica,Arial,sans-serif%22%5D%0A%20%20node%20%5Bshape=box%5D;%0A%20%20%22//absl/random:random%22%0A%20%20%22//absl/random:random%22%20-%3E%20%22//absl/random:distributions%22%0A%20%20%22//absl/random:random%22%20-%3E%20%22//absl/random:seed_sequences%22%0A%20%20%22//absl/random:random%22%20-%3E%20%22//absl/random/internal:pool_urbg%22%0A%20%20%22//absl/random:random%22%20-%3E%20%22//absl/random/internal:nonsecure_base%22%0A%20%20%22//absl/random:distributions%22%0A%20%20%22//absl/random:distributions%22%20-%3E%20%22//absl/strings:strings%22%0A%20%20%22//absl/random:seed_sequences%22%0A%20%20%22//absl/random:seed_sequences%22%20-%3E%20%22//absl/random/internal:seed_material%22%0A%20%20%22//absl/random:seed_sequences%22%20-%3E%20%22//absl/random/internal:salted_seed_seq%22%0A%20%20%22//absl/random:seed_sequences%22%20-%3E%20%22//absl/random/internal:pool_urbg%22%0A%20%20%22//absl/random:seed_sequences%22%20-%3E%20%22//absl/random/internal:nonsecure_base%22%0A%20%20%22//absl/random/internal:nonsecure_base%22%0A%20%20%22//absl/random/internal:nonsecure_base%22%20-%3E%20%22//absl/random/internal:pool_urbg%22%0A%20%20%22//absl/random/internal:nonsecure_base%22%20-%3E%20%22//absl/random/internal:salted_seed_seq%22%0A%20%20%22//absl/random/internal:nonsecure_base%22%20-%3E%20%22//absl/random/internal:seed_material%22%0A%20%20%22//absl/random/internal:pool_urbg%22%0A%20%20%22//absl/random/internal:pool_urbg%22%20-%3E%20%22//absl/random/internal:seed_material%22%0A%20%20%22//absl/random/internal:salted_seed_seq%22%0A%20%20%22//absl/random/internal:salted_seed_seq%22%20-%3E%20%22//absl/random/internal:seed_material%22%0A%20%20%22//absl/random/internal:seed_material%22%0A%20%20%22//absl/random/internal:seed_material%22%20-%3E%20%22//absl/strings:strings%22%0A%20%20%22//absl/strings:strings%22%0A%7D#GraphURL>
> Data Structures 
> <https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?digraph%20g%20%7B%0Afontname=%22Helvetica,Arial,sans-serif%22%0Anode%20%5Bfontname=%22Helvetica,Arial,sans-serif%22%5D%0Aedge%20%5Bfontname=%22Helvetica,Arial,sans-serif%22%5D%0Agraph%20%5B%0Arankdir%20=%20%22LR%22%0A%5D;%0Anode%20%5B%0Afontsize%20=%20%2216%22%0Ashape%20=%20%22ellipse%22%0A%5D;%0Aedge%20%5B%0A%5D;%0A%22node0%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200x10ba8%7C%20%3Cf1%3E%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node1%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc4380%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node2%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc44b8%7C%20%7C%20%7C2%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node3%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%203.43322790286038071e-06%7C44.79998779296875%7C0%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node4%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc4380%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C2%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node5%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%20(nil)%7C%20%7C%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node6%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc4380%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node7%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc4380%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C2%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node8%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%20(nil)%7C%20%7C%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node9%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%20(nil)%7C%20%7C%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node10%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%20(nil)%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node11%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%20(nil)%7C%20%3Cf1%3E%20%7C%20%3Cf2%3E%20%7C-1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node12%22%20%5B%0Alabel%20=%20%22%3Cf0%3E%200xf7fc43e0%7C%20%7C%20%7C1%22%0Ashape%20=%20%22record%22%0A%5D;%0A%22node0%22:f0%20-%3E%20%22node1%22:f0%20%5B%0Aid%20=%200%0A%5D;%0A%22node0%22:f1%20-%3E%20%22node2%22:f0%20%5B%0Aid%20=%201%0A%5D;%0A%22node1%22:f0%20-%3E%20%22node3%22:f0%20

[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-21 Thread Charlie Veniot
Duh.

If you just want to click and view diagrams ...

What I'm suddenly finding quite neat: I can have a private TiddlyWiki 
generate these URL's, and the graphs are displayed by the public GraphViz 
uTWility.

Graphviz Gallery 

Bazel Build System 

Data Structures 


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-21 Thread Charlie Veniot
Trying out all of the examples in the Graphviz Gallery 
<https://graphviz.org/gallery/>

Although the Graphviz uTWility is unable to render many of them (I've got a 
bug somewhere I need to fix), there are still some interesting ones that 
work out of the box.

The bug: although it could be a bug/incompatibility/??? issue with the 
GraphViz plugin, I really suspect there are some characters tripping up 
generation of a proper URL for the GraphViz uTWility.

I'll be rolling up my sleeves and investigating later.

For now, if you are interested in trying out the new examples, download the 
attached, and drag into any TiddlyWiki instance for import.

Open the "Sample Graphs" tiddler and click away.


On Saturday, March 18, 2023 at 6:34:49 PM UTC-3 Charlie Veniot wrote:

> BTW, adding the GraphViz plugin to a TiddlyWiki instance increases the 
> size of that TiddlyWiki instance by 1.1 MB
>
> Adding that to one TiddlyWiki instance is a problem if you only view 
> graphs occasionally, and is a significant problem if you are opening and 
> saving edits to that TiddlyWiki many times in a session.  Every open and 
> every save has that 1.1 MB overhead.
>
> Even more so a problem if you need occasional graphing in many TiddlyWiki 
> instances.
>
> However, if a TiddlyWiki instance relies heavily on displaying graphs 
> everywhere, then much better to include the GraphViz plugin in that 
> TiddlyWiki instance so that it is not loading a GraphViz uTWility (i.e. a 
> whole TiddlyWiki and GraphViz plugin) for every single graph displayed in 
> that TiddlyWiki.
>
> For my use case, I prefer my TiddlyWiki's showing graph links to click on 
> when I want to view a graph.  Embedding in an iframe like above, I'd be 
> careful with that to make sure the host tiddler only pops up in the story 
> river (or anywhere) when I want the graph displayed.
>
> All kinds of design considerations no matter what ...
>
> On Saturday, March 18, 2023 at 6:24:20 PM UTC-3 Charlie Veniot wrote:
>
>> All of my TiddlWiki instances are single file.
>>
>> Yup, any local TiddlyWiki can show any other local TiddlWiki in an iframe 
>> or open it in another browser window/tab via a link.
>>
>> In the screenshot below, I have a local copy (older version) of the 
>> GraphViz uTWility on a local drive, and another TiddlyWiki showing the 
>> GraphViz uTWility in an iframe, embedding a graph specification in the URL 
>> so see that graph in the iframe.
>>
>> [image: Screenshot 2023-03-18 6.18.44 PM.png]
>>
>> On Saturday, March 18, 2023 at 5:57:36 PM UTC-3 scott@gmail.com 
>> wrote:
>>
>>> > The problem with an online GraphViz server: you have to be online and 
>>> > have access to a server.
>>>
>>> Oh, do your wikis have access to one another when offline?  I don't have
>>> anything set up like that.  I run them either as single-file wikis or in
>>> standalone Node processes.  But this makes sense in that case.  I am 
>>> going
>>> to raise an issue regarding a possible https://kroki.io/ extension, but
>>> that would require being online to do the initial rendering.
>>>
>>> The rest of this, I did understand.  And I'm impressed.
>>>
>>>   -- Scott 
>>>
>>

-- 
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/b3cbb65d-6002-4b53-9c6c-07be00a0d4d5n%40googlegroups.com.


Graphviz_uTWility_Testing.json
Description: application/json


[tw5] Re: Modifying the TiddlyWiki save button for different abilities

2023-03-19 Thread Charlie Veniot
BTW, the point here is not to provide you with my preference for look/feel 
of the TiddlyWiki save button.

The point is to provide you with one possible starting point to customise 
the Save button to accommodate varied abilities.

To see how the sample CSS works as-is, click on the following link to open 
the BASIC Anywhere IDE (then just tap a couple of characters into the 
editor) : https://basicanywheremachine.neocities.org/BAM_IDE

Animation is the best way to get anybody's attention.  There are all kinds 
of options other than blinking to get the attention of somebody with any 
kind of disability (attention-regulation, colour-blindness, seizures, etc.).

A visual cue that something needs to be done, it has to be easily 
noticeable yet not annoyingly distracting.  So easily customised is key !

On Sunday, March 19, 2023 at 3:34:36 PM UTC-3 Charlie Veniot wrote:

> It is really easy to modify the  current save button's appearance to that 
> it works for various abilities.
>
> The attached JSON file contains one small CSS tiddler.  Download that and 
> drag into any TiddlyWiki to try it out.
>
> As-is, the CSS is setup to accommodate my disability and a friend's 
> disability.
>
>- My friend is colour blind (challenge distinguishing between black 
>and red.  So this CSS eliminates the red in favour of blinking
>- I have an attention-regulation disability (challenge staying 
>focused, as in easily distracted, and challenge with hyper-focus, as in 
>impossible to get my attention; I'm always dealing with either one or the 
>other; a hyper-focused state is when I feel in a peaceful state), so 
> subtle 
>colours and blinking are the right mix for me.
>
> For those of us hampered by disabilities, what works for the majority of 
> the world can make some of us very dysfunctional.
>
> And for those of us who are rendered dysfunctional, the needed 
> accommodations can vary wildly.
>
> Creating helpful accommodations can be pretty quick and easy, as the 
> attached CSS demonstrates.
>
> Whatever annoys you interface-wise, even if only slightly annoying, know 
> that relief can be really quick and really easy. 
>

-- 
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/356e0f14-1a3b-4725-a037-c6624bc5a56bn%40googlegroups.com.


[tw5] Modifying the TiddlyWiki save button for different abilities

2023-03-19 Thread Charlie Veniot
It is really easy to modify the  current save button's appearance to that 
it works for various abilities.

The attached JSON file contains one small CSS tiddler.  Download that and 
drag into any TiddlyWiki to try it out.

As-is, the CSS is setup to accommodate my disability and a friend's 
disability.

   - My friend is colour blind (challenge distinguishing between black and 
   red.  So this CSS eliminates the red in favour of blinking
   - I have an attention-regulation disability (challenge staying focused, 
   as in easily distracted, and challenge with hyper-focus, as in impossible 
   to get my attention; I'm always dealing with either one or the other; a 
   hyper-focused state is when I feel in a peaceful state), so subtle colours 
   and blinking are the right mix for me.

For those of us hampered by disabilities, what works for the majority of 
the world can make some of us very dysfunctional.

And for those of us who are rendered dysfunctional, the needed 
accommodations can vary wildly.

Creating helpful accommodations can be pretty quick and easy, as the 
attached CSS demonstrates.

Whatever annoys you interface-wise, even if only slightly annoying, know 
that relief can be really quick and really easy. 

-- 
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/71101c0e-db6d-4fbe-a70d-6fcabdfd5479n%40googlegroups.com.


Save Button CSS.json
Description: application/json


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-18 Thread Charlie Veniot
BTW, adding the GraphViz plugin to a TiddlyWiki instance increases the size 
of that TiddlyWiki instance by 1.1 MB

Adding that to one TiddlyWiki instance is a problem if you only view graphs 
occasionally, and is a significant problem if you are opening and saving 
edits to that TiddlyWiki many times in a session.  Every open and every 
save has that 1.1 MB overhead.

Even more so a problem if you need occasional graphing in many TiddlyWiki 
instances.

However, if a TiddlyWiki instance relies heavily on displaying graphs 
everywhere, then much better to include the GraphViz plugin in that 
TiddlyWiki instance so that it is not loading a GraphViz uTWility (i.e. a 
whole TiddlyWiki and GraphViz plugin) for every single graph displayed in 
that TiddlyWiki.

For my use case, I prefer my TiddlyWiki's showing graph links to click on 
when I want to view a graph.  Embedding in an iframe like above, I'd be 
careful with that to make sure the host tiddler only pops up in the story 
river (or anywhere) when I want the graph displayed.

All kinds of design considerations no matter what ...

On Saturday, March 18, 2023 at 6:24:20 PM UTC-3 Charlie Veniot wrote:

> All of my TiddlWiki instances are single file.
>
> Yup, any local TiddlyWiki can show any other local TiddlWiki in an iframe 
> or open it in another browser window/tab via a link.
>
> In the screenshot below, I have a local copy (older version) of the 
> GraphViz uTWility on a local drive, and another TiddlyWiki showing the 
> GraphViz uTWility in an iframe, embedding a graph specification in the URL 
> so see that graph in the iframe.
>
> [image: Screenshot 2023-03-18 6.18.44 PM.png]
>
> On Saturday, March 18, 2023 at 5:57:36 PM UTC-3 scott@gmail.com wrote:
>
>> > The problem with an online GraphViz server: you have to be online and 
>> > have access to a server.
>>
>> Oh, do your wikis have access to one another when offline?  I don't have
>> anything set up like that.  I run them either as single-file wikis or in
>> standalone Node processes.  But this makes sense in that case.  I am going
>> to raise an issue regarding a possible https://kroki.io/ extension, but
>> that would require being online to do the initial rendering.
>>
>> The rest of this, I did understand.  And I'm impressed.
>>
>>   -- Scott 
>>
>

-- 
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/7ce7e39a-7f82-4c4f-acbb-d1545f1768d0n%40googlegroups.com.


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-18 Thread Charlie Veniot
I know that's a real groaner, but I need to change "GraphViz Server" to 
something else so that folk realize this isn't a "server."  It is more a 
"utility" or "appliance."

The GraphViz plugin can be added to any TiddlyWiki instance.

The purpose of this project is to have one TiddlyWiki dedicated to the job 
of having the plugin and generating graphs.

So if you have any number of TiddlyWiki instances (so a dozen) for which 
you'd like to have GraphViz capability, have just one TiddlyWiki instance 
doing the job for all of them.

Ideally a very lean TiddlyWiki instance that does nothing but generate 
graphs for all the "clients".

The beauty of this is: download your own instance of the GraphViz uTWility, 
locate it and modify it as you like.  So you have your own appliance.

And if you want to do offline stuff, you can.

The problem with an online GraphViz server: you have to be online and have 
access to a server.

Not only is this good for offline graphing, it is also good for graphing 
behind your firewall which might block access to a GraphViz server.


I have a whole bunch of TiddlyWiki instances, and GraphViz increases the 
size of a TiddlyWiki too much for my liking.  I will not have GraphViz 
saved over and over again every time I save a TiddlyWiki instance.

For a TiddlyWiki instance that is heavily reliant on many graphs, it might 
be better to include the GraphViz plugin at the cost of that much more 
getting saved every time.

The measure of a TiddlyWiki instance's performance depends on the usage of 
that TiddlyWiki.  For me, better to have GraphViz in one dedicated 
TiddlyWiki instance acting as an appliance to all of my other TiddlyWiki 
instances.

A copy of that GraphViz uTWility online for access anywhere on any device, 
and a copy locally for better performance and offline access.



On Saturday, March 18, 2023 at 4:15:09 PM UTC-3 scott@gmail.com wrote:

> I wasn't around the TW community when you started discussing this.
>
> I'm fascinated by the work.  It looks quite useful.
>
> But I also wonder what TW adds in this case to any other server 
> implementation of GraphViz.  If you're going to create these diagrams
> on a server of yours or someone else's, rather than in your single-page
> wiki, why not just use one of the online servers?  https://kroki.io/ 
> looks amazing.
>
> But mostly I replied so I could groan at this:
>
> > Instead of "server", and just because I like cutesy/comical 
> portemanteaux :
> > 
> > A GraphViz u*TW*ility ?
>
> It may be common in the community already, but I hadn't seen "utwility".
>
> I'm sure I'll be stealing borrowing that!
>
> Cheers,
>
>   -- Scott
>

-- 
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/276e40a5-b9a3-4fee-9597-ddb9aae3a7f6n%40googlegroups.com.


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-18 Thread Charlie Veniot
Drag the attached into TiddlyWiki.com for import.

Tiddlers:

   - Sample Graphs *(URL's  generated to render GraphViz images with the 
   GraphViz uTWility)*
   - gViz *(macro for generating URL's to GraphViz uTWility with graph 
   specification embedded in the URL)*
   - a bunch of example graphs with graphs specified in the "DOT" language

Open the Sample Graphs tiddler and try the links.

More samples pending ...


-- 
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/d00cdfec-e464-47c6-9e81-2670887c9c2cn%40googlegroups.com.


gViz_Samples.json
Description: application/json


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-18 Thread Charlie Veniot
"Server" might not be the right word.  Kind of like saying almond beverage 
is "milk".  (Digression: then why is "milk of magnesia" okay???)

Instead of "server", and just because I like cutesy/comical portemanteaux 
<https://en.wikipedia.org/wiki/Portmanteau>:

A GraphViz u*TW*ility ?

On Friday, March 17, 2023 at 8:46:30 PM UTC-3 Charlie Veniot wrote:

>  
> https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20{%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;}#GraphURL
>  
> <https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20%7B%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;%7D#GraphURL>
>
> I just added a RangeWidget to increase the size of the GraphViz image.  So 
> a large elements with a lot of elements, which might render too small to 
> read, we can now zoom in to see the details.
>
> [image: Screenshot 2023-03-17 8.43.30 PM.png]
>
> On Friday, August 26, 2022 at 12:08:34 AM UTC-3 Charlie Veniot wrote:
>
>> "Phase 1" done:  
>> https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20{%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;}#GraphURL
>>  
>> <https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20%7B%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;%7D#GraphURL>
>>
>> For now, cobbled together manually by concatenating in the web browser's 
>> URL the following pieces:
>>
>>- 
>>https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html
>>- graph { a -- b [color=green]; a -- z; b -- c; a -- c;  d -- c;  e 
>>-- c;  e -- a;}
>>- #GraphURL
>>
>> *(Try cobbling together some test URL's with different middles to that 
>> URL sandwich.  I haven't tried any others, and I'm betting that I'll need 
>> to handle some GraphViz syntax that will break URL's.)*
>>
>> Without knowing for sure what I want to tackle next, I know I will need:
>>
>>- A tiddler with the goodies to automagically put that URL together 
>>and provide a link to click on and/or embed things "right there" in an 
>>iframe.
>>- Show the "TW GraphViz Server" "GraphURL" tiddler full screen (i.e. 
>>hide the TiddlyWiki interface), with a button to display the TiddlyWiki 
>>interface
>>- Start going back in time to see if I can find an older version of 
>>TiddlyWiki that still works as TW GraphViz Server but is a little bit 
>>lighter: 3.8 MB for the current TiddlyWiki is heavy, and I'd like to make 
>>it reasonably lighter
>>
>> On Thursday, August 25, 2022 at 7:45:38 PM UTC-3 Charlie Veniot wrote:
>>
>>> The GraphViz plugin is pretty awesome, but it does increase the size of 
>>> a TiddlyWiki instance by about 1.5 Mb's.
>>>
>>> Not something I want in every TiddlyWiki instance of mine.
>>>
>>> Which got me thinking: what if I had one TiddlyWiki instance that acted 
>>> as the "GraphViz Server" to all my other TiddlyWiki instances?
>>>
>>> That's my latest TiddlyWiki interest.
>>>
>>> A TiddlyWiki that get generate a GraphViz diagram based on input from 
>>> some other TiddlyWiki, and that can be used for creating/editing ad-hoc and 
>>> stand-alone GraphViz diagrams.
>>>
>>> "Server" first.  Then a simple tiddler that can be added to any 
>>> TiddlyWiki for sending graph requests to the "server".  (Maybe "embedded 
>>> graph generator" makes more sense than "server".)
>>>
>>> Mash-up prototype of GraphVizServer and GraphVizEditor:
>>> [image: Screenshot 2022-08-25 7.35.08 PM.png]
>>>
>>

-- 
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/76a96e41-7df4-49a7-8c0f-3b159116e8fcn%40googlegroups.com.


[tw5] Re: A TiddlyWiki "GraphViz Server" (?)

2023-03-17 Thread Charlie Veniot
 
https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20{%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;}#GraphURL
 
<https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20%7B%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;%7D#GraphURL>

I just added a RangeWidget to increase the size of the GraphViz image.  So 
a large elements with a lot of elements, which might render too small to 
read, we can now zoom in to see the details.

[image: Screenshot 2023-03-17 8.43.30 PM.png]

On Friday, August 26, 2022 at 12:08:34 AM UTC-3 Charlie Veniot wrote:

> "Phase 1" done:  
> https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20{%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;}#GraphURL
>  
> <https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html?graph%20%7B%20a%20--%20b%20[color=green];%20a%20--%20z;%20b%20--%20c;%20a%20--%20c;%20%20d%20--%20c;%20%20e%20--%20c;%20%20e%20--%20a;%7D#GraphURL>
>
> For now, cobbled together manually by concatenating in the web browser's 
> URL the following pieces:
>
>- 
>https://cjveniot.neocities.org/TiddlyWiki%20Projects/TwGraphVizServer.html
>- graph { a -- b [color=green]; a -- z; b -- c; a -- c;  d -- c;  e -- 
>c;  e -- a;}
>- #GraphURL
>
> *(Try cobbling together some test URL's with different middles to that URL 
> sandwich.  I haven't tried any others, and I'm betting that I'll need to 
> handle some GraphViz syntax that will break URL's.)*
>
> Without knowing for sure what I want to tackle next, I know I will need:
>
>- A tiddler with the goodies to automagically put that URL together 
>and provide a link to click on and/or embed things "right there" in an 
>iframe.
>- Show the "TW GraphViz Server" "GraphURL" tiddler full screen (i.e. 
>hide the TiddlyWiki interface), with a button to display the TiddlyWiki 
>interface
>- Start going back in time to see if I can find an older version of 
>TiddlyWiki that still works as TW GraphViz Server but is a little bit 
>lighter: 3.8 MB for the current TiddlyWiki is heavy, and I'd like to make 
>it reasonably lighter
>
> On Thursday, August 25, 2022 at 7:45:38 PM UTC-3 Charlie Veniot wrote:
>
>> The GraphViz plugin is pretty awesome, but it does increase the size of a 
>> TiddlyWiki instance by about 1.5 Mb's.
>>
>> Not something I want in every TiddlyWiki instance of mine.
>>
>> Which got me thinking: what if I had one TiddlyWiki instance that acted 
>> as the "GraphViz Server" to all my other TiddlyWiki instances?
>>
>> That's my latest TiddlyWiki interest.
>>
>> A TiddlyWiki that get generate a GraphViz diagram based on input from 
>> some other TiddlyWiki, and that can be used for creating/editing ad-hoc and 
>> stand-alone GraphViz diagrams.
>>
>> "Server" first.  Then a simple tiddler that can be added to any 
>> TiddlyWiki for sending graph requests to the "server".  (Maybe "embedded 
>> graph generator" makes more sense than "server".)
>>
>> Mash-up prototype of GraphVizServer and GraphVizEditor:
>> [image: Screenshot 2022-08-25 7.35.08 PM.png]
>>
>

-- 
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/b34fad5f-c962-417a-8f19-a86eb0eaaf22n%40googlegroups.com.


[tw5] Re: TiddlyWiki use case: generation of source code

2023-03-11 Thread Charlie Veniot
Maybe a little bit out there, but all of this has me thinking about 
"Blockly" : https://developers.google.com/blockly

This is a neat example of programming in a non-technical way and having 
that generate code in any number of programming language.

(aside: A model doesn't necessarily need to be graphical in nature.  It can 
be a text model.)

-- 
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/0cc614a0-a4af-4b03-8d70-e6ac97aac8c0n%40googlegroups.com.


  1   2   3   4   5   6   7   8   9   10   >