[twdev] Re: What causes the slowness?

2017-12-10 Thread Mat
Thanks everyone for replies. Interesting reads, in deed!

About the Recent list - does this idea make sense: 

The list from "24 hours and older" is almost static... and maybe it could 
be! Instead of having the whole Recent expensively rendered live with a 
listwidget, it is - behind the scenes - split up into two lists;one for 
"within 24 hours" and another list for "24hours and older". The latter is 
stored somewhere and just presented statically. Clicking on a title in it 
removes that title (and opens the tiddler) and re-renders the live "within 
24 hours" list.

Note: I say "24hours and older" rather than "yesterday and older" because 
"yesterday" can be one minute ago.

<:-)

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/4ed883c1-31ad-4cea-8e8c-7f4769c6621d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Slow On Merging...

2017-12-10 Thread Mat
Big thumbs up!

<:-)

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/8cf8a524-8aac-4ec9-9563-11b606f53878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: What causes the slowness?

2017-12-10 Thread PMario
There are several other x.render() functions, but they are not called so 
often. 
-m

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/cea7751f-8ae4-4926-95e6-731c11306576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: What causes the slowness?

2017-12-10 Thread PMario
On Sunday, December 10, 2017 at 4:59:49 PM UTC+1, Tobias Beer wrote:
>
> In fact, recent should not operate on wikitext, it should be plain js to 
> stop this performance drain.
>

The problem of the recent tab / More:Tags / MoreShadows / ... imo is within 
element.js 
Especially:
 
this.assignAttributes(domNode,{excludeEventAttributes: true}); is called 
very often and is slow, since it works directly with the DOM. Element is 
very low in the widget hirarchy, so it is called very very often. 

I did some tests and most of the time it only handles class="" assignments. 
So if we can make this function faster, we would win a lot. 

have fun!
mario


-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/6254ed2c-5a4e-45a4-a421-5c74ed76a711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: [TWX] tiddler = filter

2017-12-10 Thread Tobias Beer
Hi Mat,

TLDR, and correct me if I'm wrong, but could it be that all it takes is a 
conditional ViewTemplate and a filter field?

All the rest remains as is. Ok, you may need a special template for your 
"filtered transclusion". No need for a different types of stories though or 
alternate link styles ...just "named filters" and you're set.

http://nested.tiddlyspot.com

best -tb

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/f658aa73-ddb8-4f0a-80ef-350ab6028671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Slow On Merging...

2017-12-10 Thread Hans Wobbe
Congratulations !!

I understand how much work that must have been and how rare this result 
actually is.

Thanks a lot, to one and all, for this and indeed all of your contributions!

Cheers,
Hans


On Sunday, December 10, 2017 at 2:02:19 AM UTC-5, Tobias Beer wrote:
>
> Just wanted to share this rare sight and point out that it takes quite 
> some time to get down to this starting from some 600+ notifcations, that 
> may just pile up after a wee time off.
>
> Now, off to actually doing more stuff, I mean: creating more stuff for 
> Jeremy to get off his notification list. ;-)
>
>
> 
>
>

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/ee2d9dbb-1894-48d9-a231-9cde318010d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Small RSS feed of possible interest

2017-12-10 Thread Mat

>
> Written any plugin just yet? ;-)
>

It's the first thing on my list after solving managing to get world peace.

Joking aside, I occasionally post "of possible interest" links, like this 
one, that I think may be of relevance in a TW context - and that are 
typically beyond my own skillset to do something about.

Would love to see an (easy to set up + use) RSS feed plugin. I'm thinking 
it could both serve for serving tiddlers (like you do!) but also possibly 
for communication! I.e TWederation and people could use their favourite 
reader, e.g Feedly, instead of the google groups.

<:-)

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/877f68da-9005-4766-b643-c5c37120d5ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: What causes the slowness?

2017-12-10 Thread Tobias Beer
Hi Mat,

As my main wiki grew I disabled a bunch of conditional viewtemplates, or 
rather, I added a button to only display/toggle them on demand. That 
definitely seemed to speed things up.

Then again, the recent tab becomes quite the slow down after a while, it 
really shouldn't.
>
>
In fact, recent should not operate on wikitext, it should be plain js to 
stop this performance drain.

-tb

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/9f04134c-ec88-4823-83c3-0793403591d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Build Process for TiddlyWiki Classic

2017-12-10 Thread Yakov
Hi Jeremy,

my bad, I thought that the update you mentioned was done some time ago and 
haven't updated TWc core repo; now I've done that and got much nicer 
results but there's still several issues about them.

   - now in tiddlywiki.com_and_builders in cooked/2.9.1/ subfolder there's 
   index.html and in test/ there's index.2.9.1.html which is the same file 
   namely classic.tiddlywiki.com's index.html with updated core
   - still, there's no empty.2.9.1.html in both subfolders
   - the output of bld.bat still has an error; it's a different one, though 
   (see the full output below). Looks like 
   tiddlywiki_externaljs_tiddlyspace.html.recipe was deleted 
   

 
   in TiddlyWiki repo, but building tools are not aware of it
   - when building, still phantom_driver.js is shown in browser instead of 
   anything helpful
   - there's a number of failed tests shown in cooked/2.9.1/tests.html. 
   I've rebuild with the current TWc core and can see that there's only one 
   block of tests that are failed after my changes, over 20 blocks are failed 
   with the current core. Tests are defined in TiddlyWiki/test/, right? 
   Looks it's time to rebuild them (for instance 76.15 shows that slices with 
   spaces in slice name should be ignored which is no longer the case), 
   although that requires some time.
   
Any suggestions?

Best regards,
Yakov.

PS after I wrote this reply and tried to submit it to the group, it got 
deleted (I haven't even got a mail notification about it), so I had to 
rewrite it again. Any ideas why could that happen?

Full bld.bat output:

BUILD: clearing target folder: "cooked/2.9.1"
- - - - - - - - - - - - - - -
BUILD: assembling INDEX.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ./index.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/index.html 
text/plain
- - - - - - - - - - - - - - -
BUILD: assembling TESTS.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/test/recipes/tests.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tests.html 
text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywiki_externaljs.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tiddlywiki_externaljs.html
 
text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS_TIDDLYSPACE.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load 
../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe
Error: No tiddlers found in file 
"../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe"
- - - - - - - - - - - - - - -
BUILD: creating TWCORE.JS (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywikinosaver.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.externaljs.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/twcore.js 
text/plain
- - - - - - - - - - - - - - -
BUILD: copying TIDDLYSAVER.JAR
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.JS
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.TWSTYLESHEET.JS
- - - - - - - - - - - - - - -
BUILD: creating EMPTY.HTML and INDEX.XML from INDEX.HTML
- - - - - - - - - - - - - - -
BUILD: copying INDEX.HTML to TEST/INDEX.2.9.1.HTML
BUILD: copying EMPTY.HTML to TEST/EMPTY.2.9.1.HTML
- - - - - - - - - - - - - - -
BUILD: done

суббота, 11 ноября 2017 г., 21:12:18 UTC+3 пользователь Yakov написал:
>
> Hello Jeremy,
>
> I've played a bit with these tools and got a number of questions (and 

Re: [twdev] Build Process for TiddlyWiki Classic

2017-12-10 Thread Yakov
Hi Jeremy,

my bad, I thought that the update you were talking about was some time ago 
and haven't checked the repo. Now I've updated my forks and tried bld.bat 
and got much nicer results but still somewhat incomplete.

So what's nice is that in somedir\tiddlywiki.com_and_builders\test I now 
got cooked index.2.9.1.html which is classic.tiddlywiki.com file with the 
new core. Same file is inside the 
somedir\tiddlywiki.com_and_builders\cooked\2.9.1\ folder (named index.html; 
I've compared them, texts are identical).

What's not that nice:

   - empty.2.9.1.html is not cooked (no present in both cooked/2.9.1/ and 
   test/ subfolders of somedir\tiddlywiki.com_and_builders\
   - bld.bat output still contains an error; it's another one, though: now 
   in the 4th block, see the log below. Looks like the 
   tiddlywiki_externaljs_tiddlyspace.html.recipe was deleted 
   

 
   but the building tools still try to use it (I've made git fetch origin 
   master and have checked git status for them, looks like I'm up-to-date).
   - there are many errors in tests.html. I've tried to build both current 
   TWc core and my updated core 
   , I've got only one new 
   test failed and over 10 others are failed with the current core. There's 
   definitely a number of tests which should be rewritten (for instance, slice 
   names no longer can't have space in their name), they are located (defined) 
   in TiddlyWiki/test/ , right?
   - when I run building, still phantom_driver.js is opened in browser 
   instead of anything helpful. Any ideas?

Best regards,
Yakov.

The full output:
BUILD: clearing target folder: "cooked/2.9.1"
- - - - - - - - - - - - - - -
BUILD: assembling INDEX.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ./index.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/index.html 
text/plain
- - - - - - - - - - - - - - -
BUILD: assembling TESTS.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/test/recipes/tests.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tests.html 
text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywiki_externaljs.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tiddlywiki_externaljs.html
 
text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS_TIDDLYSPACE.HTML (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load 
../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe
Error: No tiddlers found in file 
"../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe"
- - - - - - - - - - - - - - -
BUILD: creating TWCORE.JS (v2.9.1)
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywikinosaver.html.recipe
Executing command: rendertiddler 
$:/core/templates/tiddlywiki2.externaljs.template.html 
D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/twcore.js 
text/plain
- - - - - - - - - - - - - - -
BUILD: copying TIDDLYSAVER.JAR
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.JS
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.TWSTYLESHEET.JS
- - - - - - - - - - - - - - -
BUILD: creating EMPTY.HTML and INDEX.XML from INDEX.HTML
- - - - - - - - - - - - - - -
BUILD: copying INDEX.HTML to TEST/INDEX.2.9.1.HTML
BUILD: copying EMPTY.HTML to TEST/EMPTY.2.9.1.HTML
- - - - - - - - - - - - - - -
BUILD: done

суббота, 11 ноября 2017 г., 21:12:18 UTC+3 пользователь Yakov 

[twdev] Re: How to regularly keep my tiddlywiki updated to the content on GitHub?

2017-12-10 Thread Tobias Beer
Hi Matt,

Working on the bleeding edge build may not be a recommendable practice.

Here's how you do it though:

To run TiddlyWiki on node with your fork of the repo, you simply open a 
command prompt in the repo folder and do:

npm link

>From now on, node will use your local fork running any tiddlywiki commands 
like:

tiddlywiki --server

If you want to switch back to using the latest release, you simply run this 
in the console:

npm install -g tiddlywiki

I use the last release as the build env for my plugin repo and the latest 
build, of course, when doing core development and making pull requests 
against any feature branches I created based on master.

Hope that helped.

best wishes

-tb

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/4f00c0cd-f520-4247-9824-95b0e131e66a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Open new-or-existing Tiddler, in View mode if new?

2017-12-10 Thread Tobias Beer
@David,

Interesting. What would you be doing this for?

-tb

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/e2041fa6-fa8d-49ad-bdbf-e2e7a7e70fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Small RSS feed of possible interest

2017-12-10 Thread Tobias Beer
Hi @twMat,

Written any plugin just yet? ;-)

Greets,

-tb

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/448d934b-0b62-4526-ae2a-9f6a759fb245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.