Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread @TiddlyTweeter
Ciao RichardWS

I will do a run through tomorrow as if I knew nothing. 

J, x

On Friday, 22 September 2017 23:34:56 UTC+2, RichardWilliamSmith wrote:
>
> Ah, thanks Arlen - for some reason I missed the fact that each release had 
> all those different builds. I'll tweak the instructions again in a little 
> while.
>
> Josiah - my instructions are targeting the 'bundled' version. It's still a 
> bundle of 'source code' because that's all Javascript ever is (it never 
> gets compiled). At the moment, you need to
>
> 1. Install a program (node.js)
> 2. Download and extract a zip file
> 3. Edit a file and save it with a different name (you can copy and paste a 
> working set of text for this file from my tutorial)
> 4. Run the program - hopefully by double-clicking the file 'start.cmd' (if 
> you are on Windows)
>
> You should try it. It's pretty easy.
>
> Regards,
> Richard
>

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc6fb816-5dfa-4ddb-9ff8-08895491373b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread RichardWilliamSmith
Ah, thanks Arlen - for some reason I missed the fact that each release had 
all those different builds. I'll tweak the instructions again in a little 
while.

Josiah - my instructions are targeting the 'bundled' version. It's still a 
bundle of 'source code' because that's all Javascript ever is (it never 
gets compiled). At the moment, you need to

1. Install a program (node.js)
2. Download and extract a zip file
3. Edit a file and save it with a different name (you can copy and paste a 
working set of text for this file from my tutorial)
4. Run the program - hopefully by double-clicking the file 'start.cmd' (if 
you are on Windows)

You should try it. It's pretty easy.

Regards,
Richard

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e059013-0be3-491e-bc71-eebd3169e1c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread @TiddlyTweeter
Ciao Arlen & RichardWS

>From my perspective there is the Ordinary User Version (me) and the Other 
Thing people who like node like.

*I think some emphasis on the ease of install of the "bundled" version that 
basically gives you the ability to save your TiddlyWiki and nothing else 
would be good*. I think it likely that it will be the BUNDLED version that 
will need to be understood most during the apocalypse.

Best wishes
Josiah

Arlen Beiler wrote:
>
> There is the bundled version and there is the source code version. 
>

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73d7144e-9358-49b7-a25e-8cf78b50d909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread Arlen Beiler
There is the bundled version and there is the source code version. Both are
on the release page. The source code version is generated by GitHub, which
I then download and add the node_modules folder to. This becomes the
bundled version. I explain how to use the bundled version in the readme as
well.

Yes, start.cmd can be used to run TiddlyServer on Windows.

Arlen

On Sep 22, 2017 08:01, "RichardWilliamSmith" 
wrote:

> Thanks Arlen,
>
>> I would tell them to run it using "node server" rather than "npm server"
>> unless you have a reason for doing it otherwise.
>>
>>
>
> That was a mistake. Fixed, thank you.
>
>
>> You only need the bookmarklet if the path to your files contains spaces.
>>
>>
>> Technically you only need it if the URL shown in the address bar once you
>> open the file contains spaces or the percent sign. This should be fixed in
>> TW5.1.15. File paths specified in settings.json are unrelated to this
>> problem. It is only the URL that the browser uses that has the problem.
>>
>> The reason for this is that the put saver URI encodes the browser
>> location string again before using it, which results in a double URI
>> encoded string.
>>
>> It's hard to know how to differentiate between the two when writing
>> instructions but I thought I'd point it out.
>>
>
> I dealt with similar double encoding problems when I was doing the static
> site stuff. I'll reword what I wrote.
>
>
>>
>> My only other question is whether you considered using the bundled
>> version and what your thoughts are on that. There are several reasons for
>> using the bundled version.
>>
>>- All the plugin tiddlers (including core) are compiled into one JSON
>>file per plugin. This drastically improves the load time for data folders,
>>especially on slower spinning disks, since it cuts down on the number of
>>files that need to be read.
>>- It does not include the editions folder -- which contains 2000+
>>files -- since none of them are needed for TiddlyServer to operate. This
>>cuts down on the file count and makes it much more portable.
>>- All node_modules dependancies are included (except dev
>>dependencies) so "npm install" is not required.
>>
>> Thanks again for your work on this. It looks nice and is well laid out.
>> If you would like to edit the README on the Github repository, you're
>> welcome to.
>>
>
> I hadn't realised that the zipped version was better in those other ways,
> but I did include instructions to download that version for people who
> aren't using git. Perhaps everyone should do it that way? I'll look. I'm
> also writing instructions for putting it on a Raspberry Pi and getting it
> there is much easier with "git clone" and "npm install".
>
> I'll look at again in the morning.
>
>
>>
>> I'll try to get to your pull request here soon.
>>
>>
> It's just a glorified shell-script launcher. Can you confirm that Windows
> users are able to launch Tiddlyserver by double-clicking start.cmd? Do they
> see the process run in a window? (if not, how do they stop it?)
>
> Regards,
> Richard
>
>
>
>> Thanks,
>> Arlen
>>
>> On Fri, Sep 22, 2017 at 6:05 AM, RichardWilliamSmith <
>> richardwi...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I wrote a short tutorial on Tiddlyserver: https://www.dida
>>> xy.com/introduction-to-tiddlyserver
>>>
>>> Tiddlyserver is awesome and I want to try and make sure as many people
>>> as possible can use it, as effortlessly as possible, so I'd really value
>>> your feedback on anything that you think can be made clearer.
>>>
>>> I'd obviously especially value Arlen's feedback and input - I hope you
>>> don't mind?
>>>
>>> Regards,
>>> Richard
>>>
>>> --
>>> 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 post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/tiddlywiki/8dd770a1-0ace-4520-8801-0a08761d738e%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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 group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/5866b68d-a629-4368-b428-e087a0c930b9%40googlegroups.com
> 

Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread RichardWilliamSmith
Thanks Arlen,

> I would tell them to run it using "node server" rather than "npm server" 
> unless you have a reason for doing it otherwise.
>  
>

That was a mistake. Fixed, thank you.
 

> You only need the bookmarklet if the path to your files contains spaces.
>
>
> Technically you only need it if the URL shown in the address bar once you 
> open the file contains spaces or the percent sign. This should be fixed in 
> TW5.1.15. File paths specified in settings.json are unrelated to this 
> problem. It is only the URL that the browser uses that has the problem. 
>
> The reason for this is that the put saver URI encodes the browser location 
> string again before using it, which results in a double URI encoded string.
>
> It's hard to know how to differentiate between the two when writing 
> instructions but I thought I'd point it out.
>

I dealt with similar double encoding problems when I was doing the static 
site stuff. I'll reword what I wrote.
 

>
> My only other question is whether you considered using the bundled version 
> and what your thoughts are on that. There are several reasons for using the 
> bundled version.
>
>- All the plugin tiddlers (including core) are compiled into one JSON 
>file per plugin. This drastically improves the load time for data folders, 
>especially on slower spinning disks, since it cuts down on the number of 
>files that need to be read. 
>- It does not include the editions folder -- which contains 2000+ 
>files -- since none of them are needed for TiddlyServer to operate. This 
>cuts down on the file count and makes it much more portable. 
>- All node_modules dependancies are included (except dev dependencies) 
>so "npm install" is not required. 
>
> Thanks again for your work on this. It looks nice and is well laid out. If 
> you would like to edit the README on the Github repository, you're welcome 
> to.
>

I hadn't realised that the zipped version was better in those other ways, 
but I did include instructions to download that version for people who 
aren't using git. Perhaps everyone should do it that way? I'll look. I'm 
also writing instructions for putting it on a Raspberry Pi and getting it 
there is much easier with "git clone" and "npm install".

I'll look at again in the morning.
 

>
> I'll try to get to your pull request here soon.
>
>
It's just a glorified shell-script launcher. Can you confirm that Windows 
users are able to launch Tiddlyserver by double-clicking start.cmd? Do they 
see the process run in a window? (if not, how do they stop it?)

Regards,
Richard

 

> Thanks,
> Arlen
>
> On Fri, Sep 22, 2017 at 6:05 AM, RichardWilliamSmith <
> richardwi...@gmail.com > wrote:
>
>> Hi all,
>>
>> I wrote a short tutorial on Tiddlyserver: 
>> https://www.didaxy.com/introduction-to-tiddlyserver
>>
>> Tiddlyserver is awesome and I want to try and make sure as many people as 
>> possible can use it, as effortlessly as possible, so I'd really value your 
>> feedback on anything that you think can be made clearer.
>>
>> I'd obviously especially value Arlen's feedback and input - I hope you 
>> don't mind?
>>
>> Regards,
>> Richard
>>
>> -- 
>> 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 post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/8dd770a1-0ace-4520-8801-0a08761d738e%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5866b68d-a629-4368-b428-e087a0c930b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Introduction to Tiddlyserver

2017-09-22 Thread Arlen Beiler
Hello Richard,
Looks great. I was thinking of doing this recently but hadn't taken the
time to do it. This is great. I do have a few comments.

I would tell them to run it using "node server" rather than "npm server"
unless you have a reason for doing it otherwise.


> You only need the bookmarklet if the path to your files contains spaces.


Technically you only need it if the URL shown in the address bar once you
open the file contains spaces or the percent sign. This should be fixed in
TW5.1.15. File paths specified in settings.json are unrelated to this
problem. It is only the URL that the browser uses that has the problem.

The reason for this is that the put saver URI encodes the browser location
string again before using it, which results in a double URI encoded string.

It's hard to know how to differentiate between the two when writing
instructions but I thought I'd point it out.

My only other question is whether you considered using the bundled version
and what your thoughts are on that. There are several reasons for using the
bundled version.

   - All the plugin tiddlers (including core) are compiled into one JSON
   file per plugin. This drastically improves the load time for data folders,
   especially on slower spinning disks, since it cuts down on the number of
   files that need to be read.
   - It does not include the editions folder -- which contains 2000+ files
   -- since none of them are needed for TiddlyServer to operate. This cuts
   down on the file count and makes it much more portable.
   - All node_modules dependancies are included (except dev dependencies)
   so "npm install" is not required.

Thanks again for your work on this. It looks nice and is well laid out. If
you would like to edit the README on the Github repository, you're welcome
to.

I'll try to get to your pull request here soon.

Thanks,
Arlen

On Fri, Sep 22, 2017 at 6:05 AM, RichardWilliamSmith <
richardwilliamsm...@gmail.com> wrote:

> Hi all,
>
> I wrote a short tutorial on Tiddlyserver: https://www.
> didaxy.com/introduction-to-tiddlyserver
>
> Tiddlyserver is awesome and I want to try and make sure as many people as
> possible can use it, as effortlessly as possible, so I'd really value your
> feedback on anything that you think can be made clearer.
>
> I'd obviously especially value Arlen's feedback and input - I hope you
> don't mind?
>
> Regards,
> Richard
>
> --
> 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 group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/8dd770a1-0ace-4520-8801-0a08761d738e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQqEfRmXEHO-zyj0Bee7abCJZmb9KduNBbXka%3DJHzJJag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Introduction to Tiddlyserver

2017-09-22 Thread RichardWilliamSmith
Hi all,

I wrote a short tutorial on 
Tiddlyserver: https://www.didaxy.com/introduction-to-tiddlyserver

Tiddlyserver is awesome and I want to try and make sure as many people as 
possible can use it, as effortlessly as possible, so I'd really value your 
feedback on anything that you think can be made clearer.

I'd obviously especially value Arlen's feedback and input - I hope you 
don't mind?

Regards,
Richard

-- 
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 group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8dd770a1-0ace-4520-8801-0a08761d738e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.