[tw5] Re: External links on usb

2021-10-19 Thread strikke...@gmail.com
Some years ago, I did as Charlie, explains. I am using several different 
laptops, they all run the same version of Linux Mint. Each of the laptops 
has 3 usb portsand find my tiddlywiki usb - and the images and more, 
using the usb label.  finding it at /media/user/label

On Tuesday, October 19, 2021 at 9:04:37 PM UTC+2 cj.v...@gmail.com wrote:

> Something I've never tried, and just tried for fun.
>
> I set my _canonical_uri for an image tiddler with a relative path, 
> relative to the location of the TiddlyWiki file.
>
> So wherever my TiddlyWiki file is, the _canonical_uri  
> = ./CjVeniot/PatrioticMe.jpg seems to work A-1 for that jpeg file.
>
> Same thing for a PDF file I just tested (tiddler's "Type" = 
> applicaton/pdf).
>
>
>
>
> On Tuesday, October 19, 2021 at 2:10:22 PM UTC-3 maruadv...@gmail.com 
> wrote:
>
>> Is there a way to have external links that are in a sense 'portable'? 
>>
>> I want to store the TW file and the external reference material on a usb 
>> drive for access.
>>
>> Thanks.
>>
>

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


[tw5] Re: External links on usb

2021-10-19 Thread 'Mark S.' via TiddlyWiki
There are different ways to handle this. If we're talking images, for 
instance, the path to your USB might be different on different machines. So 
being able to change the path in just one place is handy. And being able 
specify different types of image sources is also handy. For instance, you 
might have some sources that are on a remote url, some on a usb, and some 
on CDROM.

Here's one possible macro 

\define img(devtype basename)
<$vars devpath={{{[prefix[ImagePath]suffix[-$devtype$]limit[1]get[text]]}}}>
<$image source={{{[addsuffix<__basename__>]}}} />

\end

Then if you have your configuration tiddlers in the format ImagePath- 
where the text has a path like (example ImagePath-files):

./files/

Then you can invoke your image like this

<>

Or, back to your usb, you might have a config tiddler ImagePath-usb with 
text D:\mydirectory\myimages\ and invoke like

<>

Then when on a different machine, you can change the contents of 
ImagePath-usb to Z:\mydirectory\myimages\ .

I have an idea for using image tiddlers (e.g. with _canonical_uri) . The 
advantage of image tiddlers is that if you change the name of a tiddler, 
you can use relink to change tiddler transclusion automatically. But that's 
all for now.


On Tuesday, October 19, 2021 at 10:10:22 AM UTC-7 maruadv...@gmail.com 
wrote:

> Is there a way to have external links that are in a sense 'portable'? 
>
> I want to store the TW file and the external reference material on a usb 
> drive for access.
>
> Thanks.
>

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


[tw5] Re: How make TW appear alive?

2021-10-19 Thread Cade Roux
I wish I could share the TWs we generate for our cardiovascular Data Mart 
product here.  We generate the data dictionary/manual in a TW and all our 
test outputs are in a few TWs organized by test groupings.  It definitely 
satisfies 2 and 3, as far as 1, I am still tweaking it to be more and more 
attractive and useful all the time.  We started off very simply because we 
didn't want to commit too deeply down a path which would limit us from 
retargeting our documentation to HTML or Word later.  However, as we 
progressed, it was more and more accepted to start using TW features more 
heavily as stakeholders started to get the hang of it, and there are some 
fundamental aspects of TW which we have taken advantage of to solve 
traditional problems in code/document generation:

Transclusion means that we can have parts of the TW that are manually 
edited and parts that are generated and that work can go along 
independently with each feeding off the other, without requiring 
significant synchronization between engineering staff and informatics staff 
- changes to the code/rules can be done independent of editing the TW 
template file independent of the data that is going to be imported from 
JSON to fill out many lookup tables and generate necessary tiddlers and 
indexes.  Normally with code/document generation, you have to decide 
whether the template or the content is driving the design and what we've 
found with TW is both are on pretty equal footing compared to past 
techniques like in Excel or Word where areas have to be labeled and then 
only designated labeled areas can be filled in and there really isn't 
referencing back and forth.  And you have to decide where longer narratives 
are stored and how they get combined in the document. And you have to 
decide how to handle multiple passes so that you can embed generated 
content in user content inside the generated content.  That is simple for 
us, they are always in a tiddler, potentially itself transcluding generated 
data, and it's all seamlessly handled by transclusion.

Macros/filters mean that the document in many cases is data driven on its 
own using TW features.  Typically in a Word or HTML document generation, 
you would have to generate the index, often our indexes are not even 
generated - they are tiddler list macros on tiddlers with dedicated 
transclusion points for including manual edited tiddlers in appropriate 
places.  Sure Word can generate a table of contents based on the heading 
structure in your document.  That is nothing compared to what TW does for 
us because of how we tag everything in custom fields and then can have all 
kinds of options for organizing and displaying indexes of the same data.

Tiddler grain - do everything at a small meaningful grain and tag/label 
data fully in custom fields.  A lot of this could be done with an HTML site 
generator, but TW has really saved a lot of work for us by us buying into 
the TW philosophy of fine-grained tiddlers.  So we use custom fields and 
tags and filters and generate tiddlers appropriately tagged for every 
element of our Data Mart and then they merge seamlessly with manually 
created tiddlers and index tiddlers which know how to group up different 
tags.

I know there are other tools we could have looked at, but based on what we 
did with TW, I am not confident that we would have achieved what we did, or 
as well, or as flexibly accommodating the ongoing releases of our Data Mart 
as we curate more and more data, with any other product or technique.

Thanks,

Cade

On Tuesday, October 19, 2021 at 5:13:36 PM UTC-5 cj.v...@gmail.com wrote:

> I'm not clear on what exactly the problem is.
>
> What problem are we trying to solve, how will making TW appear alive solve 
> it?  Alive to who?  And alive how?
>
> Yeah, I think I'm either over-analyzing things or things are too 
> broad/unclear for me to contribute anything useful.
>
> I do look forward to seeing how this discussion thread evolves.
>
>
>
>
>
> On Tuesday, October 19, 2021 at 5:33:46 PM UTC-3 Mat wrote:
>
>> What does "nicely designed" mean?  I may find something wonderfully 
>>> designed, while 99% of normal folk find the same thing awful.  
>>>
>>
>> So I'm talking about appealing to the 99%. If we look at, say, the 
>> "clothes design industry" we should realize how incredibly narrow our 
>> tastes are if we consider that clothes really could be designed in 
>> unlimited number of ways. Most of us have similar preferences about most 
>> things. (Of course, you and I have our own distinguished tastes and free 
>> minds... and that very belief is another thing we have in common with 
>> almost all other people.)
>>
>> [...], and who cares whether it looks abandoned or not?
>>>
>>
>> Before people become full tiddlywikians, then need to decide if they want 
>> to try out TW to begin with. At that stage, impressions and feelings matter 
>> a lot. Things that look abandoned or outdated are generally less appealing 

[tw5] Re: How make TW appear alive?

2021-10-19 Thread Charlie Veniot
I'm not clear on what exactly the problem is.

What problem are we trying to solve, how will making TW appear alive solve 
it?  Alive to who?  And alive how?

Yeah, I think I'm either over-analyzing things or things are too 
broad/unclear for me to contribute anything useful.

I do look forward to seeing how this discussion thread evolves.





On Tuesday, October 19, 2021 at 5:33:46 PM UTC-3 Mat wrote:

> What does "nicely designed" mean?  I may find something wonderfully 
>> designed, while 99% of normal folk find the same thing awful.  
>>
>
> So I'm talking about appealing to the 99%. If we look at, say, the 
> "clothes design industry" we should realize how incredibly narrow our 
> tastes are if we consider that clothes really could be designed in 
> unlimited number of ways. Most of us have similar preferences about most 
> things. (Of course, you and I have our own distinguished tastes and free 
> minds... and that very belief is another thing we have in common with 
> almost all other people.)
>
> [...], and who cares whether it looks abandoned or not?
>>
>
> Before people become full tiddlywikians, then need to decide if they want 
> to try out TW to begin with. At that stage, impressions and feelings matter 
> a lot. Things that look abandoned or outdated are generally less appealing 
> than things that look up to date and alive. I'm pretty sure people are more 
> interested in a software where it says "October 19, 2021" instead of , say, 
> "May 7, 2018".
>
> [...] the best thing is to continously/regularly update it. 
>>
>
> Of course, but that means responsibility and effort...
>  
>
>> An alternative/complimentary approach might involve having the wiki 
>> acting a bit like a portal, showing some dynamic content from somewhere 
>> else so it looks like the TiddlyWiki has a pulse ?
>>
>
> Yes, that is a good idea. Any good examples of how this can be done? 
>
> <:-)
>

-- 
You received this message because you are subscribed to the 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/ec0cb11f-3633-4bfe-826b-2dd1e1a6fd05n%40googlegroups.com.


[tw5] Re: How make TW appear alive?

2021-10-19 Thread TiddlyTweeter
Ciao Mat

I think the whole *Showcase *thing is central to getting TW used more.

It is not so much about shiny wiki as about "*fit for purpose*". 
*IF I am an anthropologist which version should I use? *

Early comment
TT

On Tuesday, 19 October 2021 at 18:22:29 UTC+2 Mat wrote:

> Just throwing out a problem I've thought about:
>
> It would be good for the TW project to have more demo use cases: Real 
> wikis that 
>
>1. are nicely designed
>2. take advantage the TW features
>3. don't appear abandoned
>
> It is tricky to come across public wikis that fulfil these, BUT I'd think 
> that many people here would be willing to share a *copy* of their 
> personal wiki, anonymized and with sensitive data cleansed out. 
>
> But the problem that remains is #3, preventing "appearance decay" because 
> things age and feel dead. What ways are there to prevent visitors from 
> getting this impression? 
>
> <:-)
>

-- 
You received this message because you are subscribed to the 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/7bf4e749-dc0d-44da-a975-82230db4f757n%40googlegroups.com.


[tw5] Re: How make TW appear alive?

2021-10-19 Thread Mat

>
> What does "nicely designed" mean?  I may find something wonderfully 
> designed, while 99% of normal folk find the same thing awful.  
>

So I'm talking about appealing to the 99%. If we look at, say, the "clothes 
design industry" we should realize how incredibly narrow our tastes are if 
we consider that clothes really could be designed in unlimited number of 
ways. Most of us have similar preferences about most things. (Of course, 
you and I have our own distinguished tastes and free minds... and that very 
belief is another thing we have in common with almost all other people.)

[...], and who cares whether it looks abandoned or not?
>

Before people become full tiddlywikians, then need to decide if they want 
to try out TW to begin with. At that stage, impressions and feelings matter 
a lot. Things that look abandoned or outdated are generally less appealing 
than things that look up to date and alive. I'm pretty sure people are more 
interested in a software where it says "October 19, 2021" instead of , say, 
"May 7, 2018".

[...] the best thing is to continously/regularly update it. 
>

Of course, but that means responsibility and effort...
 

> An alternative/complimentary approach might involve having the wiki acting 
> a bit like a portal, showing some dynamic content from somewhere else so it 
> looks like the TiddlyWiki has a pulse ?
>

Yes, that is a good idea. Any good examples of how this can be done? 

<:-)

-- 
You received this message because you are subscribed to the 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/4dbb2d41-dd54-4903-8532-959ca5364247n%40googlegroups.com.


[tw5] Re: Getting to know regular expressions

2021-10-19 Thread Charlie Veniot
Rats.  I forgot to mention: I'll be studying the regular expression stuff 
from grep that is common with javascript.

(I want to learn common grep/javascript stuff first because it is useful 
for both things I'm doing with the GNU nano text editor and applying in 
TiddlyWiki.)

At some point, I'll get into the javascript-specific regular expression 
stuff.

On Tuesday, October 19, 2021 at 4:52:07 PM UTC-3 PMario wrote:

> Hi,
> That's the source where I do get my info about regular expressions for 
> javascript: https://www.regular-expressions.info/javascript.html
> -mario
>

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


[tw5] Re: Getting to know regular expressions

2021-10-19 Thread PMario
Hi,
That's the source where I do get my info about regular expressions for 
javascript: https://www.regular-expressions.info/javascript.html
-mario

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


[tw5] Re: External links on usb

2021-10-19 Thread Charlie Veniot
Something I've never tried, and just tried for fun.

I set my _canonical_uri for an image tiddler with a relative path, relative 
to the location of the TiddlyWiki file.

So wherever my TiddlyWiki file is, the _canonical_uri  
= ./CjVeniot/PatrioticMe.jpg seems to work A-1 for that jpeg file.

Same thing for a PDF file I just tested (tiddler's "Type" = applicaton/pdf).




On Tuesday, October 19, 2021 at 2:10:22 PM UTC-3 maruadv...@gmail.com wrote:

> Is there a way to have external links that are in a sense 'portable'? 
>
> I want to store the TW file and the external reference material on a usb 
> drive for access.
>
> Thanks.
>

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


[tw5] External links on usb

2021-10-19 Thread maruadv...@gmail.com
Is there a way to have external links that are in a sense 'portable'? 

I want to store the TW file and the external reference material on a usb 
drive for access.

Thanks.

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


[tw5] Re: How make TW appear alive?

2021-10-19 Thread Charlie Veniot
Silly questions from me:

What does "nicely designed" mean?  I may find something wonderfully 
designed, while 99% of normal folk find the same thing awful.  Same vice 
versa.  That is really a subjective matter.  Better to have a gallery and 
let folk be drawn to what they individually consider nicely designed, and 
let them ignore what isn't.  Unless somebody wants to run a TiddlyWiki 
beauty contest...

What folk may consider gawd awful might actually sneak up eventually and be 
considered quite nice.  Aging like fine wine...

If one is looking for uses cases for features, who cares whether it is a 
nicely designed TiddlyWiki or not, and who cares whether it looks abandoned 
or not?  If a TiddlyWiki still showcases a particular feature really well 
years down the road, then it is still a very good TiddlyWiki to have 
around.  (I regularly find value in TiddlyWikis that have not been updated 
for many many many years.

If we forget all but "don't appear abandoned" as the task at hand, then the 
best thing is to continously/regularly update it.  An 
alternative/complimentary approach might involve having the wiki acting a 
bit like a portal, showing some dynamic content from somewhere else so it 
looks like the TiddlyWiki has a pulse ?

Well, I'm having a hard time imagining why "don't appear abandoned" would 
matter.  Maybe an example would help.  The only thing I can think of is 
monetization of the TiddlyWiki, but I can't see anything other than regular 
new content keeping folk regularly visiting a TiddlyWiki.

On Tuesday, October 19, 2021 at 1:22:29 PM UTC-3 Mat wrote:

> Just throwing out a problem I've thought about:
>
> It would be good for the TW project to have more demo use cases: Real 
> wikis that 
>
>1. are nicely designed
>2. take advantage the TW features
>3. don't appear abandoned
>
> It is tricky to come across public wikis that fulfil these, BUT I'd think 
> that many people here would be willing to share a *copy* of their 
> personal wiki, anonymized and with sensitive data cleansed out. 
>
> But the problem that remains is #3, preventing "appearance decay" because 
> things age and feel dead. What ways are there to prevent visitors from 
> getting this impression? 
>
> <:-)
>

-- 
You received this message because you are subscribed to the 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/f05487e2-f4b8-45a7-a109-882efa45b17cn%40googlegroups.com.


[tw5] Getting to know regular expressions

2021-10-19 Thread Charlie Veniot
G'day all,

I've recently taken an interest in the study of regular expressions.

Tentatively, I'd like to do a series of short videos about regular 
expressions as my learning progresses.

In the meantime, I've created the attached (three-tiddler-set) which 
includes a Regular Expression Tester.  Something I'll be using in my 
"show'n tell" videos which you may find useful now:

   - just as sample code to study
   - for your own playing with regular expressions

I'll be doing my own studying, and basing my videos on what I learn, from GNU 
Grep Chapter 3 Regular Expressions 


Cheers !

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


RegularExpressionTester.json
Description: application/json


[tw5] How make TW appear alive?

2021-10-19 Thread Mat
Just throwing out a problem I've thought about:

It would be good for the TW project to have more demo use cases: Real wikis 
that 

   1. are nicely designed
   2. take advantage the TW features
   3. don't appear abandoned

It is tricky to come across public wikis that fulfil these, BUT I'd think 
that many people here would be willing to share a *copy* of their personal 
wiki, anonymized and with sensitive data cleansed out. 

But the problem that remains is #3, preventing "appearance decay" because 
things age and feel dead. What ways are there to prevent visitors from 
getting this impression? 

<:-)

-- 
You received this message because you are subscribed to the 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/4e9bc619-dc73-435b-a23e-5eb1ad855636n%40googlegroups.com.