Re: [tw] Re: Anyway to improve the speed of TW5?
One question, would it be possible to temporary disable the Show Preview feature in the New Tiddler screen? I think the refresh is for the instant preview feature right? Well, the refresh cycle is how all UI updates are handled, and it's the trigger for syncing to the server. As noted above, there is definitely an opportunity to avoid doing it on every keypress, as well as opportunities to optimise the performance of the refresh cycle itself. Best wishes Jeremy Regards, Jim On Friday, 4 April 2014 01:08:00 UTC+8, Jeremy Ruston wrote: Hi Jimmy There are indeed performance issues with TW5 that I am addressing at the moment. The underlying issue is that the refresh mechanism is a bit suboptimal in the way that it processes filters, to the extent that filter processing can comprise 80% of the refresh cycle time. BJ's plugin works by deferring the expensive refresh cycle so that it doesn't occur on every keypress. Adding a variant of that mechanism is the get out of jail card for these performance issues: we know from BJ's work that it is possible to avoid running the refresh cycle on every keypress. Best wishes Jeremy. On Thu, Apr 3, 2014 at 4:34 PM, Jimmy Liew jimmy@gmail.com wrote: Hi all, I really appreciated for all the prompt response. This google group is cool. :) PMario, any idea when is the upcoming release for TW5? On Thursday, 3 April 2014 11:55:25 UTC+8, Mal wrote: You might find this discussionhttps://groups.google.com/forum/#!searchin/tiddlywiki/slow$20text$20entry/tiddlywiki/gnpnuGWofCc/TRCoXFuKG1kJuseful. It might be a good idea to try to make sure you don't have a long list of tiddlers displayed in the sidebar. Certain selections on the More tab seem to cause some of the delays during refresh. Selecting the Open tab might be a good option. Mal -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Anyway to improve the speed of TW5?
Hi BJ, your link is not working. Could you revise it? I would love to try your hacks. -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 - Way to change formatting of a link to a tiddler based on a tag that tiddler has?
How do you use task that doesn't exist as a tiddler? -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] [TWC] tagging on importing with SharedTiddlersPlugin
Hi all I use SharedTiddlersPlugin a lot to 2 ways sync tiddlers between projects. ex projA projB I would fetch projB's tiddlers of interest for projA by tagging them projA in projBtw importing them in projAtw with SharedTiddlersPlugin : include ../projB/index.html filters:[tag[projA]] import:4 I would like something in the include ... that would allow me to tag them projB so I can fetch them back to projBtw if they have been modified in proAtw. Does this exist allready ? Could consider this in SharedTiddlersPlugin's developpement ? Looking forward to read from you Julien -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TW5 and node.js on Ubuntu 13.10
Today I tried to install TiddlyWiki on Node.js on Ubuntu 13.10. Because I am not sure where to put this so it becomes part of documentation permanently, here are the steps: $ sudo apt-get update $ sudo apt-get install nodejs npm $ sudo npm install -g tiddlywiki $ sudo ln -s /usr/bin/nodejs /usr/bin/node $ tiddlywiki mynewwiki --init server How do I put this on github? It says that readme.md was generated automatically by TydlliWiki so I guess I can't just create a new pull request? -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Anyway to improve the speed of TW5?
http://bjhacks.tiddlyspot.com On 4/4/14, Danielo Rodríguez rdani...@gmail.com wrote: Hi BJ, your link is not working. Could you revise it? I would love to try your hacks. -- 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/0LIL2f0OyLI/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Concatenate fields
I did try that but that doesn't work (object data={{!!path}}{{!!filename}} type=application/pdf width=100% height=500px/). The path is defined in a field in the tiddly. The file name is also defined in a field in the same tiddly 2014-04-04 15:34 GMT+02:00 Danielo Rodríguez rdani...@gmail.com: It depends on how do you are going to use that, but you can use. {{!!path}}{{!!filename}} The question is, where is the path defined? El viernes, 4 de abril de 2014 14:52:02 UTC+2, Ulrik Stervbo escribió: Hello list, I'm trying to generate a template to link to external files (I know this defeats the purpose of a single HTML but I expect to have a lot of images, pdfs and other things). To include PDfs I use: object data={{!!filename}} type=application/pdf width=100% height=500px/ I would like to have the field 'filename' to contain just the file name and have another field 'path' which contains the (unchanging) path to a directory next to the tiddlywiki. How can I combine these two fields to generate a path with file name pointing to the data? Cheers, Ulrik -- 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/-5SPFwSesZc/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Concatenate fields
I'm sure someone else could come up with something more elegant, but I think the method in this thread https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/linkimage$20tw5/tiddlywiki/T4iAJWt4CdE/MFeao7hpvokJ would work. E.g., \define linkpdf(title) object data=file:///C:/somefolder/somotherfolder/$title$.pdf type= application/pdf width=100% height=500px/ \end $macrocall $name=linkpdf title={{!!filename}}/ cmari On Friday, April 4, 2014 6:39:24 AM UTC-7, Ulrik Stervbo wrote: I did try that but that doesn't work (object data={{!!path}}{{!!filename}} type=application/pdf width=100% height=500px/). The path is defined in a field in the tiddly. The file name is also defined in a field in the same tiddly 2014-04-04 15:34 GMT+02:00 Danielo Rodríguez rdan...@gmail.comjavascript: : It depends on how do you are going to use that, but you can use. {{!!path}}{{!!filename}} The question is, where is the path defined? El viernes, 4 de abril de 2014 14:52:02 UTC+2, Ulrik Stervbo escribió: Hello list, I'm trying to generate a template to link to external files (I know this defeats the purpose of a single HTML but I expect to have a lot of images, pdfs and other things). To include PDfs I use: object data={{!!filename}} type=application/pdf width=100% height=500px/ I would like to have the field 'filename' to contain just the file name and have another field 'path' which contains the (unchanging) path to a directory next to the tiddlywiki. How can I combine these two fields to generate a path with file name pointing to the data? Cheers, Ulrik -- 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/-5SPFwSesZc/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 $edit field=title/ results in new tiddlers
Hello Jeremy, I tried your solution and fixes some problems, but now I have to face two new issues: - *The field is, by default, empty . Here is what I tried: - $edit-text field=draft.title default={{!!title}}/ - Typing again the same name for the tiddler results in a blank tiddler - After saving the tiddler a tw-navigate event is triggered. Thank you very much. El jueves, 3 de abril de 2014 19:39:12 UTC+2, Jeremy Ruston escribió: Hi Danielo The edit widget works by rewriting the current tiddler with the new field value at every keypress. The effect of rewriting it with a different title will be to leave the tiddler with the old title intact, hence the proliferation of tiddlers that you're seeing. We should probably detect attempts to edit the title field and prevent it. Rather than editing the title field directly, the approach TiddlyWiki uses is to edit the draft.of field of draft tiddlers, and then have the tw-save-tiddler message in the navigator widget save the tiddler under that title. You can see how it's done in the core edit template. Best wishes Jeremy On Wed, Apr 2, 2014 at 9:42 PM, Danielo Rodríguez rdan...@gmail.comjavascript: wrote: Hello everyone, I don't sure about this, but I think this has been working before. Currently using this $edit field=title/ results in a new tiddler every key stroke. I'm not doing this for the tiddler where it is but for a different one. I have this tiddler: edit td$edit field=title//tdtd$edit field=user/ /tdtd$edit field=grupo//tdtd $edit field=rol/ /td Which I use in this way {{tiddlerToEdit||edit}} How can I avoid this horrible behavior? Thanks in advance. -- 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 javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Fix for TiddlyDesktop on Ubuntu and Mint
Hi Found this fix for TiddlyDesktop on Ubuntu based systems -- much easier than editing the Node Webkit runtime: If you see this error: ./nw: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory Fix this on a 64-bit system: sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0 On a 32-bit system: sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0 -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TWC] speed up large IncludeList with SharedTiddlersPlugin
Ah, I haven't noticed the thing that Eric has: пятница, 4 апреля 2014 г., 20:32:54 UTC+4 пользователь Eric Shulman написал: On Friday, April 4, 2014 3:46:25 AM UTC-7, julien23 wrote: I use SharedTiddlersPlugin 2.4.0 to sync tiddlers betwen projects. My main contact TW is very slow to start due to its large [IncludeList] include ../airbank_tw/index.html filters:[tag[AirbankBlankPackage]] import:4 include ../airbank_tw/index.html filters: [tag[AirbankCataloguePackage]] import:4 include ../airbank_tw/index.html filters: [tag[AirbankContactPackage]] import:4 include ../airbank_tw/index.html filters: [tag[AirbankProspectPackage]] import:4 ... Is there a way to speed up the process? Maybe be grouping lines with more clever filter, but I could no find the right syntax... Such a usage of the macro is not optimal. Although the TW is only loaded once, on the first macro call (it's the STP behaviour), this still makes some extra work. The most slowing factor, as I've mentioned, should be the multiple refreshing, but even if you use the noRefresh param, this syntax: include ../airbank_tw/index.html filters:[tag[AirbankBlankPackage]] [tag[AirbankCataloguePackage]] [tag[AirbankContactPackage]] [tag[AirbankProspectPackage]] import:4noParam should provide more optimal behaviour (@Eric: yes, STP does use store.filterTiddlers, and in this particular case the usage of OR is something excessive, but the regexp version looks nicely). Without usage of the noRefresh param this would increase the speed significantly (again, because of less refreshing). Best regards, Yakov. SharedTiddlersPlugin probably uses the TWCore's store.filterTiddlers() function to select the desired tiddlers by tag value. If this is the case, then you should be able to install: http://www.TiddlyTools.com/#MatchTagsPlugin which extends the TWCore filterTiddlers() handling to enable matching combinations of tag values, using *boolean* operators (AND,OR,NOT, and parentheses as needed). For example, you could write this one line: include ../airbank_tw/index.html filters:[tag[AirbankBlankPackage OR AirbankCataloguePackage OR AirbankContactPackage OR [tag[AirbankProspectPackage]] import:16 You can even use text patterns (regular expressions) within the tag values, like this: include ../airbank_tw/index.html filters:[tag[Airbank.*Package]] import:16 which will match tag values that start with Airbank and end with Package with any other text in between. By using MatchTagsPlugin to combine the filters for the same file, you should be able to save some overhead time: it won't re-read the same file contents multiple times, and there's only one loop through the tiddlers to filter them. Let me know if it helps... enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TWC] tagging on importing with SharedTiddlersPlugin
Hello Julien, this is not currently implemented. I have a use-case where this would be nice, too. But I don't want to implement this using a simple approach like addTag param or something like, because another time, it will be nice to remove some tag/tags, or add a field value or ... So, what should be implemented is something like onTiddlerLoad param that eats JavaScript that does some changes to the tiddler. Though, actually, syncing should be implemented in another way, using special import mode(s) that would set a date of syncing field to a tiddler and take into account dates of syncing and dates of modification of the tiddler versions in two TiddlyWikis. But, to be honest, this is not a top priority dev tasks for the moment. Currently, STP is in the process of core refactoring that would allow different things like consistent search through all nodes (TWs) and also better performance, clearer priority/conflicts logic and more compact code. And, unfortunatelly, STP itself isn't the top priority development for me now (I have to finish docs and publish an update of ForEachTiddlerPlugin and some cool addons for it). On the other hand, I don't get your idea about tagging. You add the projA tag to show that it's interesting for the project A. But in this case, what's the point of tagging it projB automatically? May be just tag it shared A+B or smth like that? I mean, what's the difference between tagging shared A+B at once and tagging projA and then -- autotagging projB? Does your model have something to do with multiple TWs? If that's the case, you can tag your tiddlers with both projA and projB at once, without waiting them to be imported. Or not? Best regards, Yakov. пятница, 4 апреля 2014 г., 14:55:59 UTC+4 пользователь julien23 написал: Hi all I use SharedTiddlersPlugin a lot to 2 ways sync tiddlers between projects. ex projA projB I would fetch projB's tiddlers of interest for projA by tagging them projA in projBtw importing them in projAtw with SharedTiddlersPlugin : include ../projB/index.html filters:[tag[projA]] import:4 I would like something in the include ... that would allow me to tag them projB so I can fetch them back to projBtw if they have been modified in proAtw. Does this exist allready ? Could consider this in SharedTiddlersPlugin's developpement ? Looking forward to read from you Julien -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Anyway to improve the speed of TW5?
Thank you very much! Im currently testing your editBoost plugin. Is there any related issue with non-node implementations? Is it safe to use with a local copy? thanks! El viernes, 4 de abril de 2014 14:03:48 UTC+2, BJ escribió: http://bjhacks.tiddlyspot.com On 4/4/14, Danielo Rodríguez rdan...@gmail.com javascript: wrote: Hi BJ, your link is not working. Could you revise it? I would love to try your hacks. -- 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/0LIL2f0OyLI/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript:. Visit this group at http://groups.google.com/group/tiddlywiki. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TW5 Mac-osx
Hello, I noticed that buttons that has the class btn-invisible are not displayed in mac-osx. I tried with safary, crhome and tiddlydesktop. Is anyone experimenting the same issue? -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 Mac-osx
Hi Danielo I noticed that buttons that has the class btn-invisible are not displayed in mac-osx. I tried with safary, crhome and tiddlydesktop. Is anyone experimenting the same issue? That's correct. btn-invisible is used to make the button itself be invisible, but the content of the button should still be visible. All the toolbar buttons in the core are invisible buttons; do they not appear for you? Best wishes Jeremy -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 Mac-osx
Hello Jeremy. The other buttons appears. I think this only happens with buttons inside tables. -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] imagemap plugin link opens new (named) tiddler even when same already exists
Hi, I have a tiddler [[ComplaintMap]] with this in it: [img[bodyDiagram.jpg]]imageMap ComplaintMapMap and [[ComplaintMapMap]] has this: Right Ear 58,94,53,106,66,130,73,130,75,126,74,101,65,95,58,94 When I click on the ear in the picture, the [[Right Ear]] tiddler opens, but it opens as if its a newly made tiddler, even if the real [[Right Ear]] tiddler is open. The weird thing is that the tiddlers I open and edit in the example in [[ImageMapPluginInfo]] behaves normally, i.e. links open the proper tiddlers. Any suggestions? -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 Mac-osx
As usual: Can you post examples? -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.