[twdev] Backend protocol in TW5

2018-02-18 Thread joearms
Hello, I'm running the node backend downloaded from https://github.com/Jermolene/TiddlyWiki5 and was wondering exactly what the protocol between the browser and backend was. At a guess it's JSON over HTTP (I might be wrong) - is the protocol *specified* somewhere or do I have to read the code

Re: [twdev] Backend protocol in TW5

2018-02-19 Thread joearms
Thanks Jeremy - Actually I did some experiments I set up a relay server to log all messages between the Tiddly wiki and the node backend. This is what happened (Messages always start from the TW - these are the HTTP messages involved) 1) "OPTIONS /" response 404 Not found (I had to look up wha

[twdev] Re: Backend protocol in TW5

2018-02-20 Thread joearms
smaller subset of TW5 (ie smaller than empty.html) which gets you to the point where only get/put tiddler requests can be processed??? Cheers /Joe On Sunday, 18 February 2018 16:07:47 UTC+1, joearms wrote: > > Hello, > > I'm running the node backend downloaded from >

[twdev] Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread joearms
I'm using the node server version of TW5 As an experiment I thought I could just drop new .tid files into the tiddlers sub-directory but the system does not seem to find these files. 1) I made a tiddler called Hello This gets saved in the tiddlers directory in a file Hello.tid 2) I copi

[twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread joearms
On Friday, 2 March 2018 18:16:55 UTC+1, Simon Huber wrote: > > > I'm using the node server version of TW5 >> >> >> As an experiment I thought I could just drop new .tid files into the >> tiddlers sub-directory but the system does not seem to find these files. >> >> >> 1) I made a tiddler called

[twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread joearms
On Friday, 2 March 2018 18:20:04 UTC+1, Simon Huber wrote: > > my last guess: the node process should be restarted > Yes - silly me - I should have thought of that. I guess the node server assumes that nobody else will muck around with the tiddlers sub directory while it is running - a restar

[twdev] Keeping all old versions of a tiddler TW5 server

2018-03-02 Thread joearms
Can I keep all old versions of a tiddler in TW5? Would this be a good idea? (Why? because I made a Wiki a few years ago that did this - and the overheads were quite small - if you diff and compress the files) /Joe -- You received this message because you are subscribed to the Google Groups "

[twdev] Size of a wiki and namespace philosophy

2018-03-02 Thread joearms
Do you 1) Put all your tiddlers in one name space (ie one TW) 2) Put them into different namespaces (one TW per project) Tiddlers should be small (in order to make them reusable) If they are (say) on average c. 300 bytes we could get 3 tiddlers per KB of 3K tiddlers / MB or 3M tiddlers per GB So

Re: [twdev] Keeping all old versions of a tiddler TW5 server

2018-03-02 Thread joearms
On Friday, 2 March 2018 18:52:22 UTC+1, Jeremy Ruston wrote: > > Hi Joe > > Can I keep all old versions of a tiddler in TW5? > > > It isn’t supported at the moment. (The TiddlyWeb API does support > revisions, but the TW5 client and server just implement minimalist change > count tracking to su

Re: [twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread joearms
On Friday, 2 March 2018 18:45:31 UTC+1, Jeremy Ruston wrote: > > Hi Joe > > Yes - silly me - I should have thought of that. > > I guess the node server assumes that nobody else will muck around with the > tiddlers sub directory while it is running - a restart did the job. > > > The original plan

[twdev] Large Attachments TW5

2018-03-02 Thread joearms
I was wondering about attachments in the node/server version of TW5 It might be me but I find the act of attaching a file to TW5 overly complicated, and I still haven't figured out how to do this :-( What I'd like: In the TW file system there is a directory called 'attachments' (parallel to ti

[twdev] Re: Size of a wiki and namespace philosophy

2018-03-03 Thread joearms
Goodness - In front of your there are many doors leading to twisty passages - you pluck up your courage and press on "core" - your brain explodes ... Thanks /Joe On Friday, 2 March 2018 23:14:34 UTC+1, PMario wrote: > > As I wrote: Everything is a tiddler: > > You can explore the core structur

[twdev] Serving external resources from TW5 node server

2018-03-03 Thread joearms
I'm using TW5 node server. In order to add a local image from an external (ie not the node server) server I did this : 1) create a tiddler image.jpg 2) set the mime type to image/jpg 3) set _canonical_uri to the correct address in this case http://localhost:9000/image.jpgwhich is where

[twdev] Understanding TW code

2018-03-04 Thread joearms
Hello, I'm trying to understand how to program the TW - right now what I'm doing is reading the source of individual tiddlers and guessing what the code means. This is a rather time consuming process, and unsatisfactory, to the extent that if something works, I'm not sure if it works because I ac

[twdev] Total confusion

2018-03-04 Thread joearms
Hello, I'm *very* confused - using TW5 node server In my Recent tab I have a tiddler called "Draft of 'My test tiddler'" If I click on them I get a tiddler in an open editor And the top Left hand corner says Draft of 'My test tiddler' (so I'm editing the draft) If I click on the Dustbin it s

[twdev] Re: Understanding TW code

2018-03-04 Thread joearms
On Sunday, 4 March 2018 19:11:43 UTC+1, Mat wrote: > > Hi Joe. > > You have much, and good, documentation at tiddlywiki.com > (I'm curious, for constructive purposes: How come you have not seen this?) > I have and I keep a local copy and search in it. > > Some specific questions of yours: >

[twdev] Re: Understanding TW code

2018-03-04 Thread joearms
On Sunday, 4 March 2018 20:10:33 UTC+1, Simon Huber wrote: > > >> And a followup question.- I searched for semantics evaluation etc. but no >> hits. >> >> Is there a description of how a tiddler gets turned into HTML? >> >> If I were to implement this I'd be thinking >> >> tokenize -> parse -> t

[twdev] Re: Total confusion

2018-03-05 Thread joearms
On Monday, 5 March 2018 11:26:53 UTC+1, PMario wrote: > > Hi Joe, > > That's intentional. The "Draft of" tiddler is a "clone" of the tiddler you > want to edit. > Using the draf to edit a tiddler is the only way to implement a "canceling > system", which reverts back to the original. > > If

[twdev] Big list of TWs

2018-09-30 Thread joearms
I'm trying to gather a large number of tiddlers for some experiments - I've used the list at the end of this mail this was cut-and paste from various web sites and is by no means exhaustive. From this I found 7075 tiddlers Is their (somewhere) a "big list" of TW5's - or a web site where one coul

[twdev] Deriving a TW

2018-09-30 Thread joearms
Has anybody written any code to derive a TW from - a set of postings to a forum - postings to a mailing list - a set of HTML documents It occurs to me that h1 tags could be used to split HTML into tiddlers and things like TF*IDF algorithms could be used to derive keywords One would als

[twdev] Re: Big list of TWs

2018-09-30 Thread joearms
Thanks - I didn't know about this. This is brilliant - now I have to see if I can recover all the tiddlers :-) Thanks /Joe On Sunday, 30 September 2018 15:38:08 UTC+2, @TiddlyTweeter wrote: > > joearms wrote: >> >> Is their (somewhere) a "big list" o

Re: [twdev] Deriving a TW

2018-09-30 Thread joearms
create transclusions :-) Cheers /Joe On Sunday, 30 September 2018 15:29:44 UTC+2, Jeremy Ruston wrote: > > Hi Joe > > On 30 Sep 2018, at 09:24, joearms > wrote: > > h1 tags could be used to split HTML into tiddlers > > > You can use the “text-slicer” plugin fo

[twdev] Re: [TWX] syntax for supertransclusion and filter evaluation

2018-10-01 Thread joearms
It would be nice to add one more layer of indirection if necessary -- here are some examples {{foo.jpg}} -- transclude an image {{foo.jpg | width:100, height:35} -- translude a image with size {{TiddlerLink}} -- transclude a tiddler {{my_local_file.txt | type:text, start:200,

[twdev] Special formatting of a tiddler with a specific tag

2018-12-09 Thread joearms
I want to format tiddlers with a specific tag in a particular way. I have made two tiddlers 1) called mod:lists:reverse:2 With tag 'erlang_code' and content %% reverse a list reverse([], L) -> L; reverse([H|T], L) -> reverse(T, [H|L]). 2) a tiddler called test_formatting wit

[twdev] Re: Special formatting of a tiddler with a specific tag

2018-12-09 Thread joearms
esult of the > view template. So you see it twice. > > Have you tripped over yourself? > > Regards > Tony > > On Sunday, December 9, 2018 at 9:27:51 PM UTC+11, joearms wrote: >> >> I want to format tiddlers with a specific tag in a particular way. >> >

[twdev] Is there an english high level description of how wiki text ends up as HTML?

2018-12-09 Thread joearms
I'd like an overview of how wikitext ends up as HTML 1) macros are expanded ?) html is output or is it 1) wikitext is parsed etc. I have no idea - is this documented somewhere? In particular, how is the interaction with 'magically named tiddlers' managed. I am aware that giving

[twdev] Re: Special formatting of a tiddler with a specific tag

2018-12-09 Thread joearms
Thank you very much Eric, comments in-line Cheers /Joe On Sunday, 9 December 2018 17:05:02 UTC+1, Eric Shulman wrote: > > On Sunday, December 9, 2018 at 2:27:51 AM UTC-8, joearms wrote: >> >> I want to format tiddlers with a specific tag in a particular way. >> &g

[twdev] Understanding state

2018-12-14 Thread joearms
Hello I'm trying to understand the state mechanism. I'm beginning to get a clue so I thought I'd write it down before I forgot. In the "tabs" example there is the following code: ``` <> ``` I made a tiddler called StateWatcher with the following code ``` <$list filter="[prefix[$:/state/tab1]]

[twdev] Silent and Noisy errors

2018-12-14 Thread joearms
I just spent a good half an hour scratching my head. I made the following error I wrote: `<>` Instead of: `<>` (I know it should be a small "p" and not a big "P" - but errors like this (silent errors) are extremely difficult to spot. I call errors like this `quiet errors`. I have no idea h

[twdev] Tiddler in live edit preview mode behaves differently to in view mode

2018-12-15 Thread joearms
The code makes two buttons. One to add a tag to the current widget another to remove the tag Works fine in edit mode with live preview. Stops working when I save the tiddler. What's happening here? Cheers /Joe <$button> <$action-sendmessage $message="tm-add-tag" $param="example"/> add ex

[twdev] Re: Tiddler in live edit preview mode behaves differently to in view mode

2018-12-15 Thread joearms
Solved - but I'm still worried by the fact that live preview and view mode work differently. Solution: Wrap the button code in a fieldmanger like this: ie: <$fieldmangler> <$button ...> ... as below ... <$/fieldmangler> On Saturday, 15 December 2018 10:42:

[twdev] Is the code or the documentation correct???

2018-12-15 Thread joearms
I wanted to list all core images so I wrote <> I saw nothing - Am I going nuts? this worked <> This did what I expected - what does the "documentation" say (by that mean https://tiddlywiki.com/#list-links%20Macro%20(Examples)) (I assume this is the definitive version) This example lists all

[twdev] Re: Tiddler in live edit preview mode behaves differently to in view mode

2018-12-15 Thread joearms
nline JS I'm torn between the joy of what I can create with the TW since I've seen all these amazing examples and the peculiarities of the syntax. Cheers /Joe > J, x > > joearms wrote: >> >> Solution: >> > Wrap the button code in a fieldmanger ... >

[twdev] Hoe can I see all core images?

2018-12-15 Thread joearms
This makes a tag with a drop down of all core images <> But this does not list them <> Any ideas why? /Joe -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [twdev] Hoe can I see all core images?

2018-12-15 Thread joearms
> > > "Shadow tiddlers" are the payload tiddlers within plugins. They are hidden > from most operations because they are not "real" tiddlers; this is done to > reduce clutter. > > Best wishes > > Jeremy > > -- > Jeremy Ruston > jer...@jermo

Re: [twdev] Hoe can I see all core images?

2018-12-15 Thread joearms
iddlers. The "tag" macro looks for shadow tiddlers by default. The >> list-links macro will only look for shadow tiddlers if you provide an >> appropriate filter that includes them: >> >> <> >> >> "Shadow tiddlers" are the payload tid

[twdev] Re: Is the code or the documentation correct???

2018-12-15 Thread joearms
s are NOT listed So for example to list all core images (which are shadow tiddlers) we use the following syntax <> Or similar Cheers /Joe On Saturday, 15 December 2018 13:22:00 UTC+1, PMario wrote: > > > On Saturday, December 15, 2018 at 11:38:52 AM UTC+1, joearms wrote:

[twdev] Re: Understanding state

2018-12-15 Thread joearms
On Saturday, 15 December 2018 13:47:23 UTC+1, PMario wrote: > > Hi Joe, > > That <> macro internally uses the <$reveal> widget. The reveal > widget stores it's state in a state-tiddler, as you found out. The strange > number at the end is a hash to make the state tiddler name unique. Unique >

[twdev] adding a remote tiddler from github

2018-12-16 Thread joearms
I'd like some feedback on some tiddlers I've been writing. If I publish the tidders on github (ie the individual tiddlers and NOT an entire TW) is there a syntax that can be used that can yank in and view the tiddler from any other TW?) I realise this breaks security - but would be very conveni

[twdev] Re: adding a remote tiddler from github

2018-12-16 Thread joearms
/Joe On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote: > > I'd like some feedback on some tiddlers I've been writing. > > If I publish the tidders on github (ie the individual tiddlers and NOT an > entire TW) > is there a syntax that can be used that can yan

[twdev] Re: adding a remote tiddler from github

2018-12-16 Thread joearms
On Sunday, 16 December 2018 15:30:02 UTC+1, @TiddlyTweeter wrote: > > Do you have an address? > > On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote: >> >> I'd like some feedback on some tiddlers I've been writing. >> >> If I publish the tid

[twdev] Re: adding a remote tiddler from github

2018-12-16 Thread joearms
: > > Do you have an address? > > On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote: >> >> I'd like some feedback on some tiddlers I've been writing. >> >> If I publish the tidders on github (ie the individual tiddlers and NOT an >> entire

[twdev] Re: adding a remote tiddler from github

2018-12-16 Thread joearms
I made a couple of tiddlers here: - https://joearms.github.io/tiddlers/SharedTiddlers.tid - https://joearms.github.io/tiddlers/A programmers introduction to the TiddlyWiki.tid These pages are made automatically when I push to https://github.com/joearms/joearms.github.io/tree/master

Re: [twdev] adding a remote tiddler from github

2018-12-16 Thread joearms
On Sunday, 16 December 2018 18:18:50 UTC+1, Jeremy Ruston wrote: > > Hi Joe > > I'd like some feedback on some tiddlers I've been writing. > > If I publish the tidders on github (ie the individual tiddlers and NOT an > entire TW) > is there a syntax that can be used that can yank in and view the

Re: [twdev] adding a remote tiddler from github

2018-12-16 Thread joearms
A couple of comments 1) I like the idea of collaborating at the level of "single tiddlers" All I have to do is put a single tiddler on github and publish the address and off we go. 2) Bundles of related tiddlers could be published with names like Tiddler.tid.zip (or something) 3) I suspect

[twdev] Scope of macros

2018-12-17 Thread joearms
I was wondering about the scope of macro definitions ... The scope of a macro appears to be 'in the current tiddler where it was defined or any tiddler transcluded from the current tiddler' Here are two tiddlers Tiddler1Test is \define foo() say bar \end in tiddler 1 foo=<> {{

[twdev] Re: Is there an english high level description of how wiki text ends up as HTML?

2018-12-17 Thread joearms
; > On Sunday, December 9, 2018 at 2:12:06 PM UTC+1, joearms wrote: > > In particular, how is the interaction with 'magically named tiddlers' >> managed. >> > > We call them templates: (list is sorted "simple" to complex) > > - ViewTemplate >

[twdev] Re: Scope of macros

2018-12-17 Thread joearms
On Monday, 17 December 2018 14:28:03 UTC+1, PMario wrote: > > Hi Joe, > > In TW macros are internally handled as variables, similar how the <$set > widget defines them. <$set variables only work within <$set> x . > macros do have a "tiddler-scope" > > If you want to use macros defined in ot

[twdev] Relation of filter expressions to boolean logic

2018-12-19 Thread joearms
I'm trying to understand filters by comparing them to boolean logic. Given three tags A B and C Then a filter that finds A is "[tag[A]]" B OR C is "[tag[B]] [tag[C]]" A AND B is "[tag[A]tag[B]]" A and (B or C) has to be rewritten as (A and B) or (A and C) and is "[tag[A]tag[B]] [tag[A]tag[C

[twdev] Adding images and packing / unpacking a TW with embedded images

2018-12-19 Thread joearms
I'm a tad confused about how to add images to the TW - what I'm doing is making a TW by programmatically (outside the TW and in another programming language :-) creating all the necessary tiddlers. (I'm using the node TW implementation) I have discovered by trial and error and the help of Mr Goo

Re: [twdev] Relation of filter expressions to boolean logic

2018-12-20 Thread joearms
On Wednesday, 19 December 2018 23:21:15 UTC+1, Jeremy Ruston wrote: > > Hi Joe > > Then a filter that finds A is "[tag[A]]" > > B OR C is "[tag[B]] [tag[C]]" > > A AND B is "[tag[A]tag[B]]" > > A and (B or C) has to be rewritten as > (A and B) or (A and C) and is > > "[tag[A]tag[B]] [tag[A]tag[C

Re: [twdev] Relation of filter expressions to boolean logic

2018-12-20 Thread joearms
It also strikes me that rewriting A AND (B OR C) as B C +A is pretty neat - it eliminates the parentheses OR becomes whitespace and AND becomes + It's a Reverse Polish Monad Filter (RPMF) /Joe On Thursday, 20 December 2018 10:38:37 UTC+1, joearms wrote: > > >

[twdev] Top level template

2018-12-20 Thread joearms
When I start a TW I see a certain page layout - I assume that this layout is determined by a template, with transclusions in it. Where do I start reading the code - what's the name of the top-level tiddler ie the template that (or tiddler) that determines how the first thing I see looks on screen?

Re: [twdev] Relation of filter expressions to boolean logic

2018-12-20 Thread joearms
ot; I understand. > > This thread is interesting for highlighting, I think, how an explanandum > can clarify the variety of explanans. > > josiah > > joearms wrote: >> >>B C +A >> >> is pretty neat - it eliminates the parentheses OR becomes whitespace an

[twdev] Looking for the Rosetta Stone

2018-12-20 Thread joearms
You'll have to skip to the bottom to read about the Rosetta stone :-) I hope you won't mind me pointing out the obvious The list widget is a for loop that is: <$list filter=" ...> <> means: output = ""; for(i in ) output += ... $i ... end insert output into t

Re: [twdev] Relation of filter expressions to boolean logic

2018-12-20 Thread joearms
#x27;m not really sure if this is by accident or design. Does it do something by accident or because it was designed to do exactly this Cheers /Joe > > Just thoughts > Josiah > > > joearms wrote: > There is method in my madness :-) > > I'm trying to relate stuff I

Re: [twdev] Top level template

2018-12-20 Thread joearms
On Thursday, 20 December 2018 12:42:15 UTC+1, Jeremy Ruston wrote: > > Hi Joe > > On 20 Dec 2018, at 11:19, joearms > wrote: > > When I start a TW I see a certain page layout - I assume that this layout > is determined by a template, with transclusions in it. > > &g

[twdev] What are 5 most important widgets to learn?

2018-12-20 Thread joearms
I think I know what $set and $list do. So what are 5 most important widgets to learn?- ranked in order of importance. I'd really appreciate some feedback /Joe -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group a

[twdev] Re: Looking for the Rosetta Stone

2018-12-20 Thread joearms
On Thursday, 20 December 2018 14:57:39 UTC+1, Mohammad Rahmani wrote: > > Joe, > > have you seen: > https://tiddlywiki.com/#Widgets > Yes - I wanted to know the most important :-) > > These are list of widgets in TW core: > > The below five widgets are my choice for programming TW and I th

[twdev] My new blog (pre release)

2018-12-20 Thread joearms
Hello, For a while now I have been working on turning my Blog into a single file TW - I now have a pre-release it's not perfect and there are still a few problems to be fixed. The Prerelease is at https://joearms.github.io/tw/share/output/index.html If anybody could help with the outstanding pr

[twdev] Re: Relation of filter expressions to boolean logic

2018-12-20 Thread joearms
On Thursday, 20 December 2018 15:11:30 UTC+1, Mohammad Rahmani wrote: > > Joe, > Look at these two amazing resources: > > >1. https://ooktech.com/jed/ExampleWikis/FilterLogicExamples/ >2. http://tobibeer.github.io/tw/filters/#Filter%20Examples > > Brilliant /Joe > >1. > > >

[twdev] Re: Looking for the Rosetta Stone

2018-12-20 Thread joearms
ondition" Plugin: > Goodness - I haven't got to reveal yet. I wouldn't have guessed it was an IF statement :-) /Joe > > http://evanbalster.com/tiddlywiki/formulas.html#Condition%20Plugin > > which exposes <$if>, <$else-if> and <$else> widgets

[twdev] Re: Looking for the Rosetta Stone

2018-12-20 Thread joearms
ype="match" default=<> text=<> > > This content is shown if variable1 and variable2 match > > > On Thursday, December 20, 2018 at 12:03:06 PM UTC-6, joearms wrote: >> >> >> >> On Thursday, 20 December 2018 18:59:56 UTC+1, Di

[twdev] How to write a widget

2018-12-21 Thread joearms
Has anybody written a "How to write a widget" guide? I'm looking for a guide that starts with the simplest possible widget (zero args) and explains in gruesome detail exactly what each line of code does. Following this I'd like to see how arguments get added .. Any suggestions? Cheers /Joe --

[twdev] How would I go about adding Recent Searches to the sidebar

2018-12-21 Thread joearms
Every day I go into the sidebar and search for the names of some widget that I want to read. These widgets do not show up in the recent tab (which I assume is derived from the last modified date in the tiddler (is that right)) Many programs (twitter) example remember your last few searches. How c

Re: [twdev] How to write a widget

2018-12-21 Thread joearms
t.js > > Finally, the “keyboard” widget is a simple example of a widget with an > event handler: > > > https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/keyboard.js > > Best wishes > > Jeremy > > > On 21 Dec 2018, at 09:07, joearms > wrote

[twdev] How can I get the layout to change depending upon the mode

2018-12-21 Thread joearms
My Blog has two modes (with the righthand sidebar expanded or not) It's here: https://joearms.github.io/tw/share/output/index.html and the source is at:https://github.com/joearms/joearms.github.io/tree/master/tw When I click on the "show sidebar" chevron the sidebar is shown b

[twdev] Re: Looking for the Rosetta Stone

2018-12-24 Thread joearms
g copyright. Probably an easier issue. Plugins often carry > copyright/usage terms. I never seen one that was restrictive. Its more > likely it doesn't occur to most users to put terms on each tiddler. How > about a general TW flag "you can use it" covering all usage unless at &

[twdev] Re: My new blog (pre release)

2018-12-24 Thread joearms
The tiddler to add a tweet link at the bottom of every tiddler is here: https://github.com/joearms/joearms.github.io/blob/master/tw/share/tiddlers/My%20Footer.tid Or in plain text created: 20181224191135261 list-after: $:/core/ui/ViewTemplate/body modified: 20181224191445492 tags: $:/tags

[twdev] Hiding the TW (at first)

2018-12-25 Thread joearms
I want to turn off most of the advanced features of the TW - Imagine two modes. "safe" - only opening tiddlers, searching and closing tiddlers remain "normal" - the standard version. Then I imagine a "do not press this" button - which when pressed causes some very fancy fireworks and swaps from

[twdev] My Blog is now a TW

2018-12-26 Thread joearms
It's at https://joearms.github.io/ Thanks to everybody for your patience in answering my stream of questions. Pull requests will be gratefully received :-) Is this how to do it? (all comments on the structure of the TW are very welcome) Cheers and Happy Everything to everybody /Joe -- You r

[twdev] Re: Looking for the Rosetta Stone

2018-12-26 Thread joearms
Thanks Mario, that was good to know. What concerns me more are TWs I've found "in the wild" - can I quote from them if I can't get permission from the author and if there are no apparent rights in the TW file Cheers /Joe On Tuesday, 25 December 2018 15:14:32 UTC+1, PMario wrote: > > Hi J

[twdev] Re: Hiding the TW (at first)

2018-12-26 Thread joearms
What I want is to programmatically create a TW from the following: A large amount of documentation in XML A large amount of code Basically one XML file per code file. This I want to turn into a TW and add a lot of fancy stuff (code Xref, annotations etc.) With some back-end support I could (I

[twdev] Re: My Blog is now a TW

2018-12-26 Thread joearms
I'm a bit unsure about version -- I did this $ git clone https://github.com/Jermolene/TiddlyWiki5.git Cloning into 'TiddlyWiki5'... $ cd ~/experiments/TiddlyWiki5 $ ./tiddlywiki.js --version 5.1.20-prerelease But you're right my current version is 5.1.19pre I don't know how to fetch 5.1.19fin

[twdev] Re: My Blog is now a TW

2019-01-04 Thread joearms
On Thursday, 27 December 2018 09:39:16 UTC+1, Riz wrote: > > Hi Joe, > > I see you are enjoying your TW5 quite well. Here is a thought for your > consideration. The basic TW5 you download from GitHub or tiddlywiki.com > is a good fit for several things. Unfortunately the idea of using > Tiddly

[twdev] Re: My Blog is now a TW

2019-01-04 Thread joearms
On Thursday, 27 December 2018 12:47:48 UTC+1, @TiddlyTweeter wrote: > > Ciao Riz & Joe > > 1 - Riz. Great practical comment. Some time ago you did some really neat > experiments for static output that was more "integrative" looking than > https://tiddlywiki.com/static/. Tw.com static can come o

Re: [twdev] What are 5 most important widgets to learn?

2019-01-04 Thread joearms
Interesting - I notice checkbox was not in any of your lists. My one-liner was very instructive: <$checkbox tag="welcome"> welcome? Playing with this in live preview mode showed the symmetric nature of the data binding. When I toggled the checkbox the tag "welcome" came and went. The *exciti

Re: [twdev] Relation of filter expressions to boolean logic

2019-01-04 Thread joearms
nt, because this is a platform of almost infinite possibilities. > It's great > > Welcome to the community, I see by your questions, you are likely to be a > productive member. > Thanks for those kind words :-) /Joe > > Regards > Tony > > > On Th

Re: [twdev] What are 5 most important widgets to learn?

2019-01-05 Thread joearms
onal content. > > To me these are the most obviouse examples, are you looking for something > more specific? > That's fine for starters - thank you. /Joe > > Regards > tony > > > On Saturday, 5 January 2019 08:50:48 UTC+11, joearms wrote: >> >>

[twdev] On the formatting and readability of plugins

2019-01-06 Thread joearms
I've been reading some plugin code. The code is not helped by having extremely long lines with no whitespace and by being unindented. Some of the worse culprits are extremely long filter expressions which I can't even print reasonably since they have no line feeds and are very wide. It seems l

[twdev] How do I do printf debugging?

2019-01-08 Thread joearms
How do I do printf debugging? In all programming langauages I know I stick print statements all over the place to see what's going on - then I remove them when the program works. What's the equivalent in developing TW plugins? Specifically I've made a button like this: <$button actions={{Commen

[twdev] Re: How do I do printf debugging?

2019-01-10 Thread joearms
In general, what do you do when something goes wrong. On several occasions, I've written some code (an action to be performed when something happens) but I see nothing - I expect some output but there is none. A typical case is an incorrect filter which returns nothing but I'd expected it to r

[twdev] Where is the source code that implements the "tm-new-tiddler" message?

2019-01-12 Thread joearms
I want to find the source code that implements the "tm-new-tiddler" message? Why do I want it? I've been looking at the documentation for tm_new_tiddler at https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler Having read this I could not understand what the paramObject was so I experime

[twdev] Re: Where is the source code that implements the "tm-new-tiddler" message?

2019-01-12 Thread joearms
s/navigator.js > > Regards > > FrD > > Le samedi 12 janvier 2019 10:40:47 UTC+1, joearms a écrit : >> >> >> >> I want to find the source code that implements the "tm-new-tiddler" >> message? >> >> Why do I want it? >> >> I&

[twdev] Looking for a tutorial on how to write a plugin

2019-01-15 Thread joearms
Can anybody recommend a tutorial on how to write a plugin? Failing a tutorial can anybody point me to the simplest possible plugin(s) that I can study? Possible several examples - with and without javascript etc. Nothing fancy - I just want to see the essentials and the structure Thanks /Joe

Re: [twdev] Looking for a tutorial on how to write a plugin

2019-01-17 Thread joearms
Node.js >>> * >>> https://tiddlywiki.com/dev/#How%20to%20create%20plugins%20in%20the%20browser >>> >>> <https://tiddlywiki.com/dev/#How+to+create+plugins+in+the+browser> is a >>> brief guide to creating plugins in the browser >>> * &

[twdev] Re: I'm Serious - We need Check in and Check Out

2019-01-31 Thread joearms
An alternative might be some form of transaction memory. When a tiddler is served over a network it has last-modified time (this is the time when the server last stored a modification) If a user edits a tiddler and sends it back it should include this time. Call this Told. When the server recei

[twdev] noisy errors

2019-02-01 Thread joearms
Hello, I'm a great fan of what I call "noisy" errors - a noisy error is when the systems tells you in no uncertain terms that something is wrong My view is that anything that smells bad should be brought to the attention of the programmer in a way they cannot miss. Recently I've been hit in th