Re: [tw5] TW Twitter -- Computational Notebooks in TW? ...

2018-05-14 Thread Sebastian Silva
Thanks for those wonderful examples! I look forward to doing some similar 
things as the premise in my project is learning programming by playing!

Today I found the following project which is inspired in Jupyter but uses 
Javascript:

https://beta.observablehq.com/collection/introduction

It immediately made me think of TiddlyWiki - but I'm not sure how it would 
fit in. Perhaps as a way to edit tiddlers that is not split-screen.

Regards,
Sebastian

El sábado, 12 de mayo de 2018, 12:45:06 (UTC-5), Andreas Hahn escribió:
>
> Well, 
> In my opinion TW is ill-suited as a computational notebook and the 
> already established solution in the Form of Jupyter is more than up to 
> the task. The only think I can see happen is TW having an interface to 
> the Jupyter Kernels, but even then, it doesn't quite fit TW's model. 
> The main problems seem to be: 
>
> - TW has a monolithic design, whereas for a computational notebook, the 
> Jupyter kernel <-> Interface divide serves it very well as you can 
> detach computation from the code/notes and therefore scale things much 
> better and work with different languages. For TW all I could think of 
> here would be WebWorkers. 
>
> - TW has a limit on data size. Nowadays, most datasets, no matter how 
> small are already larger than what TW might be able to handle, so they 
> would have to be in an external file/files either way. 
>
> So while I can see it being nice to have TW as an interface where your 
> results get stored and commands are issued, I don't quite see it play 
> out any of its advantages in this field and think TW's architecture puts 
> both hurdles and limitations on what you would be able to do. 
>
> /Andreas 
>

-- 
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/7d938ce0-f60f-4bbd-8c1e-1e1971015209%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Minimal Python Server (was Re: Minimal Ruby Server)

2018-05-14 Thread Sebastian Silva
Yes I should've mentioned that - you can use 127.0.0.1 to just use it
yourself.

I don't remember which is the default.

Regards,

Sebastian


On 14/05/18 23:24, 'Mark S.' via TiddlyWiki wrote:
> Oh snap -- method #22.
>
> Does using 0.0.0.0 expose server to the entire local web (in which
> case there is a coffee-house danger) ?
>
> Thanks!
> Mark
>
> On Monday, May 14, 2018 at 8:16:45 PM UTC-7, Sebastian Silva wrote:
>
> That's fun! I've been experimenting with supporting Tiddlywiki and
> integrating parts of it with my Python application.
>
> I've found that in Python you can use the WsgiDAV library to serve
> single file TiddlyWikis very nicely.
>
> All you need to do is install wsgidav library:
>
> pip install wsgidav
> # or pip install --user wsgidav
>
>
> After that you can run:
>
> wsgidav --host=0.0.0.0 --server wsgiref --port=80 
> --root=/path/to/your/tiddlywiki/
>
>
> You can also use it to integrate into an existing web app or
> building something else. Here's the documentation
> <https://wsgidav.readthedocs.io/en/latest/user_guide_lib.html>.
>
> Use the latest Tiddlywiki with the fixes for WebDAV or the wsgidav
> from git to avoid 412 errors.
>
> Hope it's useful to someone.
>
> Regards,
> Sebastian
>
>
> El sábado, 12 de mayo de 2018, 9:32:45 (UTC-5), Jim escribió:
>
> I use Ruby and so always have it installed. If you do too,
> here's a minimal server using Ruby Webrick. It just serves up
> files from the same folder and handles saving.
>
> Once running, just point yor web browser at localhost:8000 to
> view the folder listing, and click on your wiki html file.
>
> https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da
> <https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da>
>
>
> -- 
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/ETot2hZNgYM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To post to this group, send email to tiddlywiki@googlegroups.com
> <mailto: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/ba13b4ca-838a-4279-813e-0ae297f05d4f%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/ba13b4ca-838a-4279-813e-0ae297f05d4f%40googlegroups.com?utm_medium=email_source=footer>.
> 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/f026a13e-125b-e7e6-5eb3-0a3f10b75a0e%40fuentelibre.org.
For more options, visit https://groups.google.com/d/optout.


[tw5] Minimal Python Server (was Re: Minimal Ruby Server)

2018-05-14 Thread Sebastian Silva
That's fun! I've been experimenting with supporting Tiddlywiki and 
integrating parts of it with my Python application.

I've found that in Python you can use the WsgiDAV library to serve single 
file TiddlyWikis very nicely.

All you need to do is install wsgidav library:

pip install wsgidav
# or pip install --user wsgidav


After that you can run:

wsgidav --host=0.0.0.0 --server wsgiref --port=80 
--root=/path/to/your/tiddlywiki/


You can also use it to integrate into an existing web app or building 
something else. Here's the documentation 
.

Use the latest Tiddlywiki with the fixes for WebDAV or the wsgidav from git 
to avoid 412 errors.

Hope it's useful to someone.

Regards,
Sebastian


El sábado, 12 de mayo de 2018, 9:32:45 (UTC-5), Jim escribió:
>
> I use Ruby and so always have it installed. If you do too, here's a 
> minimal server using Ruby Webrick. It just serves up files from the same 
> folder and handles saving. 
>
> Once running, just point yor web browser at localhost:8000 to view the 
> folder listing, and click on your wiki html file.
>
> https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da
>
>
>

-- 
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/fb532d2c-19f8-4614-a5a9-ec086809f891%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.