Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread Arlen Beiler
You could do { "tree": { "tw": "../../../tw" } } and put that in _bucket/tserver (which would make it readable from the browser -- not recommended! Or you could do { "tree": { "crusoe_or_whatever": "../../tw_crusoe" } } and so on. Remember, all paths are relative to settings.json. Sounds, good.

Re: [tw] Re: Dungeon Game in TW : The URL

2017-07-08 Thread Jan
Hi Dave, thanks for trying and for giving me the feedback that the Game needs more explanation. Use the Arrows in the navigate-sidebar-tab to navigate. The labyrint will show while moving through it, the interaction happens in Modals. You can see the level in the Dungeon-Editor...which is

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread 'Mark S.' via TiddlyWiki
I would use the uninstall through the menu so everything gets cleaned up (including paths and registry settings) Mark On Saturday, July 8, 2017 at 4:34:33 AM UTC-7, @TiddlyTweeter wrote: > > Ciao Arlen > > I copied node.exe over. Can I safely now delete the "node-v6.11.0-win-x86" > install? >

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread Jan
Hi Stephen, it is a little hidden. In the tiddler [[showpreview Window Button ]] you see how to integrate it. $:/plugins/JR/showpreviewWindow

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Thanks Mark S. for that heads up. I did not realise it was changing the registry. Perhaps not as I did the Zip route. I'll check. Josiah Mark S. wrote: > > I would use the uninstall through the menu so everything gets cleaned up > (including paths and registry settings) > -- You received

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread 'Mark S.' via TiddlyWiki
You just unzipped? No install? Not sure how that works (how does Windows find node?) but if that's how you installed then it should be OK to just delete. The regular install, according to some sources, changes the registry. And I'm pretty sure that it puts itself on the path (unless I did that

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Arlen Am i right in thinking that if you don't install the npm version you simply click on node.exe in the local directory of install and then enter... "server.js settings.json" ... to activate it? If so its doing nothing for me :(. The return message is ... Yet the files exist ...

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
TBH I don't want it needing a set path at all. I want it portable and contained. If its possible. I think it is. Buts its maybe why I'm having trouble getting it to run. At the explicit level it should run without relying on environment variables if all the running bits are together in one

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Arlen I copied node.exe over. Can I safely now delete the "node-v6.11.0-win-x86" install? Best wishes Josiah Arlen Beiler replied: > > Just node.exe is enough. > > @TiddlyTweeter wrote: > >> Mark S. wrote: >>> >>> I was wondering about that too. I think he's referring to the node >>>

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Arlen Just a small footnote before I delete the folder. Should I copy over the LICENSE file for node? Would it apply with the moved node.exe alone? Josiah I copied node.exe over. Can I safely now delete the "node-v6.11.0-win-x86" >> install? > > Arlen Beiler wrote: > Yes, the rest is

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Mark S. & Arlen The problems I am having are around what we are talking about. Opening a command prompt for node.exe (in the same directory as server.js & settings.json) and then entering "server.js" the return I get is ... I'm obviously doing something basically wrong. J. On

[tw] Re: [TW5] parse and style a tiddler content

2017-07-08 Thread 'Mark S.' via TiddlyWiki
I didn't use any stylesheet stuff with this, though I imagine there are ways to approach it that would. I created the "tip" with *span title="stuff"* If you create a data tiddler (be sure to mark it's type at the bottom of the tiddler) with this data and call it, for example, Quiz1 : tiddler:

[tw] Re: [TW5] rpn – Basic Math in Reverse Polish Notation (Prerelease)

2017-07-08 Thread Thomas Elmiger
Hi Saq You were right, that was easy and will be useful. rpn can now do % calculation as well as round upwards (Math.ceil) and downwards (Math.floor) https://tid.li/tw5/plugins.html#rpn%20%E2%80%93%20Basic%20Math%20in%20Reverse%20Polish%20Notation Have fun! Thomas Am Sonntag, 2. Juli 2017

[tw] Re: [TW5] rpn – Basic Math in Reverse Polish Notation (Prerelease)

2017-07-08 Thread Saq Imtiaz
Great thank you. Will report back once I get a chance to play with it. Saq On Saturday, July 8, 2017 at 10:37:54 PM UTC+2, Thomas Elmiger wrote: > > Hi Saq > > You were right, that was easy and will be useful. rpn can now do % > calculation as well as round upwards (Math.ceil) and downwards

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread @TiddlyTweeter
I am a bit unclear where this interesting thread comes out. What I am unclear about is whether it offers a way that the EDITOR PREVIEW can be seen in separate opened, live, window? Yes? No? I looked at stuff in the thread but couldn't figure out if someone had actually done that. peuhpeuh

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread 'Mark S.' via TiddlyWiki
There might be a way to do it through the node.js command prompt, so it's not bad thinking. It looks like you have a comma in a place it shouldn't be. Good luck, Mark On Saturday, July 8, 2017 at 12:10:07 PM UTC-7, @TiddlyTweeter wrote: > > Ciao Mark S. > > Its a step. Thankyou! > > Before I

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread Arlen Beiler
If you paste it into a JSON validator online it should tell you what the trouble is. As you can see, it says unexpected token in JSON, which means, in this case, that the settings file is not formatted correctly (JSON is a little picky). On Sat, Jul 8, 2017 at 3:17 PM, 'Mark S.' via TiddlyWiki <

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread Jan Johannpeter
Aahhh, thanks Ton I'll have to fix that when I am home. Jan @TiddlyTweeter schrieb am Sa. 8. Juli 2017 um 19:57: > I am a bit unclear where this interesting thread comes out. > > What I am unclear about is whether it offers a way that the EDITOR PREVIEW > can be seen in

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread Arlen Beiler
And the zip (binary) package will not change the registry. So you can just delete the files. The msi (installer) package may add something to the registry and does change PATH, unless you tell it not to. But Node does not use the registry for normal operation, that I know of. I could be wrong

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread 'Mark S.' via TiddlyWiki
you have to type *node server.js* Or make a batch file like I suggested. HTH Mark On Saturday, July 8, 2017 at 10:19:33 AM UTC-7, @TiddlyTweeter wrote: > > Ciao Mark S. & Arlen > > The problems I am having are around what we are talking about. > > Opening a command prompt for node.exe (in the

[tw] Re: [TW5] parse and style a tiddler content

2017-07-08 Thread 'Mark S.' via TiddlyWiki
For some reason, Google isn't let me post my response. -- 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 post to this

[tw] Re: [TW5] Extracting things from a randomly selected tiddler

2017-07-08 Thread 'Mark S.' via TiddlyWiki
Tobias <$setvar> and TW5 <$set> interpret filters differently, returning list items that internally have square brackets. My work-around was to strip them off with the removeprefix and removesuffix filter operators before looking for tags. Please excuse that I've changed the criteria to meet

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread 'Mark S.' via TiddlyWiki
After making your changes in settings.json, you just launch the server again (node server.js). The server.js script knows to check settings.json. If you want to do this in a single click you probably need a simple batch file (at least that's what I did). Mark launch.bat : node server.js

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread Ton Gerner
Hi again, There is a core image $:/core/images/open-window. Cheers, Ton -- 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

[tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Mark S. Its a step. Thankyou! Before I was trying to execute through the Node command prompt not the O/S command prompt (no one told me otherwise, I really am "tell me what to do & I will do it" :-) Using the O/S I began to get somewhere but hit other issues ... I need examine my

[tw] Re: [TW5] rpn – Basic Math in Reverse Polish Notation (Prerelease)

2017-07-08 Thread @TiddlyTweeter
i looked at your gizmo. i'm wondering (1) if you can take the result of of one calculation and feed it into another? (2) whether it allows more than one mathematical transformation at a time (like it divides then multiplies then adds)? Just asking Josiah On Saturday, 8 July 2017 22:37:54

[tw] [TW5] parse and style a tiddler content

2017-07-08 Thread paolo b
Hi I have the following problem: a tiddler has a number of lines, each containing text formatted as follows: word: definition I would like to apply a function to this tiddler so that each definition gets hidden (e.g. as a tooltip or blanked) and a definition is revealed only when

[tw] Re: TW5 View Template when displaying in tabs?

2017-07-08 Thread TonyM
Lost Admin. I just stumbled here, and wanted a good answer myself. I have just found the ad hoc macro https://tobibeer.github.io/tb5/#Ad-Hoc%20Macro The Macros name is "=" and place in any tiddler that may be referenced in a tab <<= $(currentTab)$>> This does not appear unless the tiddler is

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread Arlen Beiler
> > I copied node.exe over. Can I safely now delete the "node-v6.11.0-win-x86" > install? Yes, the rest is basically just NPM related stuff that you don't need. Everything is contained in the node executable. On Sat, Jul 8, 2017 at 7:34 AM, @TiddlyTweeter wrote: >

[tw] Editing node.js TW server through command line or linux / python scripts

2017-07-08 Thread Fidel N
Hey all! Im trying to add / edit tiddlers of my node.js TW server through python scripts in that same server. What I do right now is to create the tiddler files, then restart the TW, and after restarting the TW server it will show those new tiddlers. The objetive would be to be able to run a

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Arlen I'm on TiddlyServer 2.0.5. I need a bit of help configuring the *settings.json.*My aim is for a Portable Version. I am on Windows 7. The settings.json gives this for the core paths ... "tree": { "alias": "C:/my folder path", "alias2": {

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread Arlen Beiler
Well, that is only necessary if you are redistributing your copy to the public. In this case, you are the end user, so there is no need. Obviously if you give someone else your copy, you should let them know where they can find TiddlyServer and Node online, but that would probably be enough

Re: [tw] Re: Should TiddlyServer include TiddlyWiki and Node?

2017-07-08 Thread @TiddlyTweeter
Ciao Arlen Your license is "LICENSE.md", right? Node's is just "LICENSE". So they can co-habit. The only reason I ask is because I am very aware that open source is badly exploited and I just like to pay a bit of attention to that, the work others have done deserves some credit, even if only

[tw] Debugging in TW

2017-07-08 Thread Jan
Hi all. Is there a quick way to find out which element exactly is undefined. I t would be nice if the red screen of death told us that... Jan -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread Jan
Hi all, I hope the missing image is fixed now...I wasn't aware that the image I had chosen is not part of the regular distribution. Now you get the standart preview-eye-image to open the preview. Does anyone have an Idea how to change the title of the preview-window dynamically? yours Jan

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread Jan
Hi Josiah... Is this a live editor preview in a new window? Yeah... I haven't quite made sense of the site. Likely my fault. Josiah On Sunday, 9 July 2017 00:21:18 UTC+2, Jan wrote: Hi all, I hope the missing image is fixed now...I wasn't aware that the image I had chosen is

Re: [tw] Can we have the preview in a separete window

2017-07-08 Thread @TiddlyTweeter
Jan Is this a live editor preview in a new window? I haven't quite made sense of the site. Likely my fault. Josiah On Sunday, 9 July 2017 00:21:18 UTC+2, Jan wrote: > > Hi all, > I hope the missing image is fixed now...I wasn't aware that the image I > had chosen is not part of the regular

Re: [tw] Debugging in TW

2017-07-08 Thread Arlen Beiler
It usually the top item in the stack trace for that error (if I know which one it is). This error usually means you tried to access a property of an undefined object, which throws immediately. On Sat, Jul 8, 2017 at 8:10 PM, Jan wrote: > Hi all. > Is there a quick way to

[tw] Re: Debugging in TW

2017-07-08 Thread PMario
hi, if you open the dev console with f12 you'll get more details. -m -- 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