[tw] Re: [tw5] Set a Table of Contents to show with closed nodes when the tiddler is open
Thank you for your answer, and thank you more for the examples for me to review and learn more from. On Friday, May 29, 2015 at 11:15:45 PM UTC-4, Greg Davis wrote: Hello, I think you have run into the problem that TiddlyWiki saves the current state every time you do a save. Example when you finish editing a tiddler, whatever the state of the TOC is saved to return the next time it is opened. Most users try to remember to close everything up and do a save before exiting the TiddlyWiki. Then it is in the state they want it to be when it is opened again. I thought this was addressed sometime ago and finally founded it. Remember to backup your TiddlyWiki before making any changes to the core like this. Jeremy gave an example of doing this in the thread: https://groups.google.com/forum/#!topic/TiddlyWiki/CgmcRls_mkE Tobias also has a reference to this in his tb5 — a pocket full of tips at http://tobibeer.github.io/tb5/#States%20And%20Temporary%20Tiddlers Hope that is what you are looking for. Greg -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/94c3a7fb-eade-4cf8-9cec-78542c47b39e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] nodejs TiddlyWiki consuming lots of mem comparing to my small wiki
Hi all, I'm trying the nodejs server on my humble little virtual host, and it's costing 252.828 MB of total 512MB of its memory, while the dumped whole site is only 2MB. Did I do something wrong? 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/32de24a7-949b-451f-8062-80aaeef7cf26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: @Danielo - TiddlyDrive, pouchdb...
El domingo, 31 de mayo de 2015, 23:57:49 (UTC+2), Mat escribió: Danielo, thank you for your replies! Thank you for your interest. Now, if it would help *you *to have a guinea pig That would be nice :D but it would not make sense for me to try to set this up for actual personal use because I would depend on others even for the slightest of problems. Everyone depends on someone else at some point. My way to understand what the hell couchdb is and how it works was a very frustrating journey: everyone at everyplace talked about very advanced topics. Even the official site jumped from very basic explanation to in-deep topics. After feeling like it was too much for me I left the topic apart. Then my brain started his own adventure of gathering knowledge without my consent, and someday I felt like I should check the project again, and then I understood it. So, my advise is: don't worry if you don't understand something at a first try, that is the normal thing! just read it, and leave it in your mind like a wild animal, and someday you will be capable of hunt it. And, for this particular thing you have someone who wants to help you with it. My plans are to create a special edition of tiddly-wiki with detailed instructions about how to do this. I would love to count with your creativity and your point of view for the project, which are points that I feel very valuable. I want to be clear that my goal is to create some kind of blogging tool based on tiddlywiki, and not a new way to share tiddlywikis. But once it is setup, it should not be hard to maintain or update, specially when you understand the flow So, do I understand there are three main components to this: - the TW (hosted anywhere) The tiddlywiki html file hosted anywhere with the couch adaptor plugin installed. - the database - as hosted by Cloudant. Why, BTW, do you propose a couchdb service rather than a pouchdb service - or maybe there are no pouchdb services? Let's throw some light on this. CouchDB is a database, like Mongo or SQL can be (but very different). Cloudant is a service that allows you to have a database, they have databases as a service. PouchDB is a JS library that is aimed in having a couch-like database directly inside your browser, so it's not what we need for this purpose. It can also sync to a couch database, but we don't want this neither for this project. So what we need is just a single online database, and Cloudant gives you this for free. - an adaptor - that translates a TW file into the database file format... or is it perhaps that it translates tiddlers so they can be stored in the database... meaning then that we're really talking TW on node.js? - And it is the adaptor thing that you're working on, yes? The adaptor is the responsible of talking with the database. It can load tiddlers and save tiddlers from the database. The adaptor is the core of the plugin, and it works in any tiddlywiki. TW_File --- save tiddler --- adaptor --- couchDB TW_File ---loadTiddler- adaptor couchDB Again, sorry for my basic questions, but what does repo (-sitory) mean in this context? Ask as many questions as you want. On this context the repo means where the code of the plugin is published. The needed tools and the instructions for installing it are there. I hope this is more clear by now. If not, don't hesitate to ask! You are able to understand whatever you want. Regards -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/63e81dfb-edc7-417a-afa2-59663b82a920%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TiddlyDesktop] Does not open
Hi Thomas That's strange. It may be worth trying clearing out TiddlyDesktop's configuration data. Quit the application, and then open your library folder by holding alt while opening the Finder's Go menu. Then navigate to Application Support and delete the TiddlyWiki folder. Then try re-opening TiddlyDesktop. Best wishes Jeremy. On Mon, Jun 1, 2015 at 11:01 AM, Thomas Schröder reds...@gmail.com wrote: Hi, I downloaded and unpacked TiddlyDesktop in my Download folder. And the app was working. Then I thought of moving it to Applications/Utilities but then there is the window open for a flash and then it is closed again. There is now no way to open a Window. Is there somewhere a log file to give more information? At the moment TiddlyDesktop is not working at all. I even tried to unpack a fresh version, but with the same effect. MacOS X 10.10.3 TiddlyDesktop 0.0.4 Cheers, Thomas -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/311ccdca-7546-493f-bcd8-c405d086b9b0%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/311ccdca-7546-493f-bcd8-c405d086b9b0%40googlegroups.com?utm_medium=emailutm_source=footer . 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbOoOnJBW0iOJvsRGR%2BR-AXoXHHvAenLVNiws2JgLu6pQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: @Danielo - TiddlyDrive, pouchdb...
Hi Danielo, I hope I'm getting this right - the point of using a database to store the tiddlers is to be able to keep multiple devices/instances in sync. and you can also have different tiddlywiki 'views' onto the store - ie; one for editing and one that's a 'live' webpage, for example. And, although you suggest cloudant, the couch db could be anywhere, right? On an AWS instance or on my own hardware. I'd certainly be interested in helping you test it, if that would be useful. Does it perform 'lazy loading' from the database? (I understand this to mean that it would only fetch tiddlers that it actually needs for the current view) It seems it should be possible to publish material to different blogs, from a central database by adding tags etc. do you see that happening? 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/09d78663-59e8-4f21-8b38-d39f371791a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TiddlyMap Tutorial Videos
Yes. There are already some great examples already and I'm sure many others will be forthcoming. I know of Daniel's MedNotes which is great but I am not aware of other examples that exist. But when there is a fair amount of showcases, I'll definitely mention them at the demo site and it probably also makes sense to have them summarized in a short video. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/865cb189-3108-45be-abbf-cafc021688eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] [TiddlyDesktop] Does not open
Hi, I downloaded and unpacked TiddlyDesktop in my Download folder. And the app was working. Then I thought of moving it to Applications/Utilities but then there is the window open for a flash and then it is closed again. There is now no way to open a Window. Is there somewhere a log file to give more information? At the moment TiddlyDesktop is not working at all. I even tried to unpack a fresh version, but with the same effect. MacOS X 10.10.3 TiddlyDesktop 0.0.4 Cheers, Thomas -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/311ccdca-7546-493f-bcd8-c405d086b9b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki
Hi Charlie, If you ssh into your instance and try: # top -n 1 you may see something similar to this, if your host runs a unix system. My instance here is an almost empty ubuntu system. pmario@ubuntu:~$ top -n1 top - 18:33:02 up 0 min, 1 user, load average: 0,31, 0,08, 0,03 Aufgaben: 232 total, 1 running, 231 sleeping, 0 stopped, 0 zombie %Cpu(s): 4,9 be, 6,2 sy, 0,0 ni, 73,3 un, 14,9 wa, 0,7 hi, 0,0 si, 0,0 st KiB Mem: 2040208 total, 272652 used, 1767556 free,23816 buffers KiB Swap: 2097148 total,0 used, 2097148 free. 152248 cached Mem PID BENUTZER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND What you see here is the OS only. If you start your node server and do the command again. You'll see the difference. That's what node and TW server command actually need. hope that helps. -mario -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] TW5 - Can't open my encrypted wiki due to error in tiddler
I have all my project notes in TW5, say 50 tiddlers or so. Encryption is turned on for this wiki, so when it is closed, I need to enter a password to open it. I usually leave the wiki open on my desktop, but we had a power outage this weekend so I had to restart Firefox. When I went to open my tiddly wiki and entered the encryption password, a dialog box eventually popped up warning about an unresponsive script and asking me to click either Stop script or Continue. At the same time in the background, I can see the Table of Contents tiddler that I tried to set up as my default tiddler. If I scroll down, I can see that I made some sort of mistake in this tiddler such that when it tries to display the titles of all tiddlers with tag notes, one tiddler's name is reflected over and over off to infinity. So it's not able to finish displaying my Table of Contents tiddler, and if I click Continue in the Warning dialog, it eventually gives me the same warning again, then next time I click Continue, it quits trying and leaves the encryption password dialog displayed. Likewise, if I click Stop script in the warning dialog, it immediately returns to the encryption password dialog. Is there any way I can get it to skip trying to display the default Table of Contents tiddler and go ahead and finish decrypting the file? Thanks, Dave G. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c7d9f0c-c0a5-4bdb-8893-4bea1976d526%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: @Danielo - TiddlyDrive, pouchdb...
Hello Richard, El lunes, 1 de junio de 2015, 11:44:05 (UTC+2), RichardWilliamSmith escribió: Hi Danielo, I hope I'm getting this right - the point of using a database to store the tiddlers is to be able to keep multiple devices/instances in sync. That applies more to my PouchDB plugin rather than the couchdb one, but yes, that is correct. and you can also have different tiddlywiki 'views' onto the store - ie; one for editing and one that's a 'live' webpage, for example. Correct. CouchDB has different access levels that allows us to do this. And, although you suggest cloudant, the couch db could be anywhere, right? On an AWS instance or on my own hardware. Absolutely. It is an open source project. I'd certainly be interested in helping you test it, if that would be useful. Yes, it is. In which scenario are you interested the most? Does it perform 'lazy loading' from the database? (I understand this to mean that it would only fetch tiddlers that it actually needs for the current view) Exactly. It seems it should be possible to publish material to different blogs, from a central database by adding tags etc. do you see that happening? That is a bit more complex configuration if you compare with the basic one, but it is certainly easy. The best way to do this would be to have a central DB and a separate DB per blog/page. Then we can sync to each DB from the central one those tiddlers that matches a criteria. CouchDB allows us to define filtered replication, so we can make the filter as complex or simple as we want. Don't get scared about having multiple DBs, in couchdb a DB is like a table in SQL. In fact having a DB per user in other applications is very common. If you are interested in trying the basic setup, take a look at this repo https://github.com/wshallum/couchadaptor Let me know if you need help making it work. For those interested this is being discussed also in this thread: https://groups.google.com/forum/#!topic/tiddlywiki/pZzttVrh5Kg -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d3a6a5cf-984a-40a1-a71c-045322d03c77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 - Can't open my encrypted wiki due to error in tiddler
Try navigating to a different tiddler - it should work even with a missing tiddler: file:///mydir/file.html#HelloThere That should skip displaying the TOC tiddler. Then you can overwrite it with a new tiddler of the same name. Best wishes Jeremy — jeremy.rus...@gmail.com On Mon, Jun 1, 2015 at 2:48 PM, Dave Gantose goo...@daveware.org wrote: I have all my project notes in TW5, say 50 tiddlers or so. Encryption is turned on for this wiki, so when it is closed, I need to enter a password to open it. I usually leave the wiki open on my desktop, but we had a power outage this weekend so I had to restart Firefox. When I went to open my tiddly wiki and entered the encryption password, a dialog box eventually popped up warning about an unresponsive script and asking me to click either Stop script or Continue. At the same time in the background, I can see the Table of Contents tiddler that I tried to set up as my default tiddler. If I scroll down, I can see that I made some sort of mistake in this tiddler such that when it tries to display the titles of all tiddlers with tag notes, one tiddler's name is reflected over and over off to infinity. So it's not able to finish displaying my Table of Contents tiddler, and if I click Continue in the Warning dialog, it eventually gives me the same warning again, then next time I click Continue, it quits trying and leaves the encryption password dialog displayed. Likewise, if I click Stop script in the warning dialog, it immediately returns to the encryption password dialog. Is there any way I can get it to skip trying to display the default Table of Contents tiddler and go ahead and finish decrypting the file? Thanks, Dave G. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c7d9f0c-c0a5-4bdb-8893-4bea1976d526%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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1433167154517.606b2fce%40Nodemailer. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 - Can't open my encrypted wiki due to error in tiddler
Thank you, Jeremy, that did it. Obviously I am still learning as I go... Dave G. On Monday, June 1, 2015 at 9:48:55 AM UTC-4, Dave Gantose wrote: I have all my project notes in TW5, say 50 tiddlers or so. Encryption is turned on for this wiki, so when it is closed, I need to enter a password to open it. I usually leave the wiki open on my desktop, but we had a power outage this weekend so I had to restart Firefox. When I went to open my tiddly wiki and entered the encryption password, a dialog box eventually popped up warning about an unresponsive script and asking me to click either Stop script or Continue. At the same time in the background, I can see the Table of Contents tiddler that I tried to set up as my default tiddler. If I scroll down, I can see that I made some sort of mistake in this tiddler such that when it tries to display the titles of all tiddlers with tag notes, one tiddler's name is reflected over and over off to infinity. So it's not able to finish displaying my Table of Contents tiddler, and if I click Continue in the Warning dialog, it eventually gives me the same warning again, then next time I click Continue, it quits trying and leaves the encryption password dialog displayed. Likewise, if I click Stop script in the warning dialog, it immediately returns to the encryption password dialog. Is there any way I can get it to skip trying to display the default Table of Contents tiddler and go ahead and finish decrypting the file? Thanks, Dave G. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/04d6b672-f9d7-47f0-b675-accbc9a4540d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 CodeMirror bug when using Vim emulation
Hi Jeremy and others, Any progress on this? Alternatively, can anyone tell me how to invoke an external editor for a tiddler. I'd rather be working with a fully-functional version of Vim than the cutdown version as implemented by CodeMirror. Thanks On Monday, May 18, 2015 at 11:02:40 PM UTC+1, R Ax wrote: Hi Jeremy, Thanks for the response. I can't reproduce the bug on the tiddlywiki site because I can't save changes there. To reproduce the bug yourself, do the following; 1. Create a new tiddler titled $:/config/CodeMirror. 2. Paste the following code into this new tiddler; { require: [ $:/plugins/tiddlywiki/codemirror/mode/javascript/javascript.js, $:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.js, $:/plugins/tiddlywiki/codemirror/addon/search/searchcursor.js, $:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js, $:/plugins/tiddlywiki/codemirror/keymap/vim.js, ], configuration: { keyMap: vim, matchBrackets:true, showCursorWhenSelecting: true } } 3. Set the type field of this tiddler to application/json. 4. Refresh for the changes to take effect. 5. If you now attempt to edit any tiddler, you will see a block cursor. Vim is a modal editor and starts off in command mode. 6. Press the 'i' key. This will switch to insert mode. You can now type as for a normal editor. 7. Entering the '#' or '~' key however should reproduce the error I described. Further details on configuring CodeMirror (which is where I got the information on setting it up from) are to be found in $:/plugins/tiddlywiki/codemirror/usage. Thank you so much for your help. On Monday, May 18, 2015 at 7:13:36 PM UTC+1, Jeremy Ruston wrote: Hi R Ax My apologies for the late reply. I'm not familiar with vim; could you kindly list the step-by-step instructions that will reproduce the bug on http://tiddlywiki.com/plugins/tiddlywiki/codemirror/ http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Fsa=Dsntz=1usg=AFQjCNEG9hARuVPZYVYFqrjxcTi-wVMMtQ ? Many thanks, Jeremy, On Thu, May 7, 2015 at 7:16 PM, R Ax rax@gmail.com wrote: Hi guys, I get the following error message whenever I type the characters '#' or '~' in insert mode of vim emulation for CodeMirror. TypeError: keyName.indexOf is not a function I noticed a similar bug reported a year ago which was triggered by the '=' character and which since appears to have been fixed. Any ideas? regards -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0eff4a6c-3dee-4c61-8207-25e37d2c231f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] What to use for a site header, $:/tags/PageTemplate or $:/tags/AboveStory ?
Hello I can remember that in the good old days we usually use $:/tags/PageTemplate to position a tiddler out of the story river. It would need position fixed aditionally. Recently I saw that $:/tags/AboveStory is used for site headers. The problem with this setup is that I can not get rid of the top margin,padding or whatever it is. This only happens on thin windows. On normal ones I can use a css with top: -20 but that does not work when the breakpoint is reached, even if the sidebar is hidden. I would be grateful by any advice. 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7b96b44f-4b6b-443a-b874-004ac878ac66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Wikitext for tags?
Just thinking out loud. The hashtag is the new CamelCase, it adds a Tag inline rather than creating a link.. Perhaps rendering hashtags as tag pills would make sense... A search for the hashtag would provide a list of similarly tagged tiddlers, as in Twitter, but hashtags in a text could be added to a hashtag field too- if it would be helpful to internals 1. This would make TiddlyWiki interface more with Twitter and emphasise the similarities in philosophy. 2. The tag pill could have a new here type button, a new tid is created with the tag and a field recoding the name of the tiddler. I think that hashtags have surpassed CamelCase: the [[Square brackets]] do it for me. Looking at Ward's Wiki, it's the camel case which dates it The status of hashtags is now such that they are widely understood - they are not a passing fad The dot prefix proposed by Jeremy coud would in a similar way, buttons for refactoring long tiddlers. Best wishes Alex On Friday, 29 May 2015, Jeremy Ruston jeremy.rus...@gmail.com wrote: Hi Mario, Mat, Alex, To Mario's point, this stuff wouldn't be parsed by the usual wikitext parser. We'll need a new pre-parser that processes this markup. Let's imagine that we added support for the following way to add tags to the current tiddler: .#tag .#another tag That markup needs to end up with the creation of an actual tag field so that the tag mechanisms can work on it. We can't just use the markup above as the record of the tags applied to the tiddler. Retaining that markup within the tiddler would lead to duplication of data, which may not be a massive problem for a tag, but doesn't look sensible with operations like exploding a tiddler into subtiddlers; the whole point of that operation is to split the original tiddler up; retaining the wikitext with the markup would negate that. So, that's why the way that I think about this is more like a shorthand command line syntax for typing tiddlers, which is expanded at the point that the tiddler is confirmed. Best wishes Jeremy. On Wed, May 27, 2015 at 10:23 PM, Alex Hough r.a.ho...@gmail.com javascript:_e(%7B%7D,'cvml','r.a.ho...@gmail.com'); wrote: yes Mario, I like that... thanks! Alex On 27 May 2015 at 15:00, PMario pmari...@gmail.com javascript:_e(%7B%7D,'cvml','pmari...@gmail.com'); wrote: I'd suggest, to use this special syntax, which is already part of the core. tag Productivity, tag Larry Elliot or *tag Productivity **tag test *tag Larry Elliot so you can create nice outlines for your ideas. -mario -- 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 javascript:_e(%7B%7D,'cvml','tiddlywiki%2bunsubscr...@googlegroups.com'); . To post to this group, send email to tiddlywiki@googlegroups.com javascript:_e(%7B%7D,'cvml','tiddlywiki@googlegroups.com');. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/973ae393-2a8e-4a1f-928d-6f1afa84ed35%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/973ae393-2a8e-4a1f-928d-6f1afa84ed35%40googlegroups.com?utm_medium=emailutm_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 javascript:_e(%7B%7D,'cvml','tiddlywiki%2bunsubscr...@googlegroups.com'); . To post to this group, send email to tiddlywiki@googlegroups.com javascript:_e(%7B%7D,'cvml','tiddlywiki@googlegroups.com');. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CALc1hYeQACsWQAYvnveQaNoripCxGot1daKZNsXzb9v%2BnUpWjA%40mail.gmail.com https://groups.google.com/d/msgid/tiddlywiki/CALc1hYeQACsWQAYvnveQaNoripCxGot1daKZNsXzb9v%2BnUpWjA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com javascript:_e(%7B%7D,'cvml','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 javascript:_e(%7B%7D,'cvml','tiddlywiki%2bunsubscr...@googlegroups.com'); . To post to this group, send email to tiddlywiki@googlegroups.com javascript:_e(%7B%7D,'cvml','tiddlywiki@googlegroups.com');. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit
[tw] Re: @Danielo - TiddlyDrive, pouchdb...
@Danielo - thanks again for your kind replies! My hesitation to learn is not really about being afraid of it. It is more a matter of picking my fights. I have a zillion TW ideas (not to mention outside of TW) and this makes me think twice before engaging in things I barely understand because it means I don't have time for the things that I do understand and hope to create. But, admittedly, I've come to a point in my life when I find myself sometimes concluding that Ok, this is just not my area... but kick a$$ in another and that's how it is even if our parents told us we can become anything. However, you create really cool stuff and if my virgin mind is of actual use to help your development then what do I do to start? I have signed up for a Cloudant account. Is the next step to [try to] follow the instructions given in your couchadaptor git repo https://github.com/danielo515/couchadaptor? And, for this particular thing you have someone who wants to help you with it. My plans are to create a special edition of tiddly-wiki with detailed instructions about how to do this. I would love to count with your creativity and your point of view for the project, which are points that I feel very valuable. I want to be clear that my goal is to create some kind of blogging tool based on tiddlywiki, and not a new way to share tiddlywikis. But once it is setup, it should not be hard to maintain or update, specially when you understand the flow I like what I hear and after your explanations I understand the concept better. Ok. Now night. Tomorrow I will present a cool new thing to everyone! :-) TWaddle.tiddlyspot -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/33c40242-486e-4548-ae79-73a7ef1b32e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TWC] Help Sorting a treeview
Looking at things store.getTaggedTiddlers() = store.reverseLookup(tags...etc) Which sorts it's output by the titles titles using sortTiddlers(). So it looks like the actual problem is somewhere in this part of the core: Which looks like a basic sort function so I just have to figure out how to turn it into a natural sort function. // Sort a list of tiddlers TiddlyWiki.prototype.sortTiddlers = function(tiddlers,field) { var asc = +1; switch(field.substr(0,1)) { case -: asc = -1; field = field.substr(1); break; case +: field = field.substr(1); break; } if(TiddlyWiki.standardFieldAccess[field]) { if(field==title) { tiddlers.sort(function(a,b) {return a[field].toLowerCase() b[field].toLowerCase() ? -asc : (a[field].toLowerCase() == b[field].toLowerCase() ? 0 : asc);}); } else { tiddlers.sort(function(a,b) {return a[field] b[field] ? -asc : (a[field] == b[field] ? 0 : asc);}); } } else { tiddlers.sort(function(a,b) {return a.fields[field] b.fields[field] ? -asc : (a.fields[field] == b.fields[field] ? 0 : +asc);}); } return tiddlers; }; On Saturday, May 30, 2015 at 7:22:54 AM UTC-7, Arc Acorn wrote: The more I tinker with this the more I think that this may require a core modification. Since it seems like the core issues is how: store.getTaggedTiddlers(); gathers it's list of tiddlers. On Wednesday, May 27, 2015 at 3:08:07 PM UTC-7, Arc Acorn wrote: This is the plugin I'm using: http://dots.tiddlyspace.com/TreeviewPluginPlugin2 As of now trees with leading numbers sort like: 1 10 100 11 12 13 2 3 4 5... I know the reason is how strings are sorted and a naturalsort function needs to be worked in: eg: function naturalSort(ar, index){ var L= ar.length, i, who, next, isi= typeof index== 'number', rx= /(\.\d+)|(\d+(\.\d+)?)|([^\d.]+)|(\.(\D+|$))/g; function nSort(aa, bb){ var a= aa[0], b= bb[0], a1, b1, i= 0, n, L= a.length; while(iL){ if(!b[i]) return 1; a1= a[i]; b1= b[i++]; if(a1!== b1){ n= a1-b1; if(!isNaN(n)) return n; return a1b1? 1: -1; } } return b[i]!= undefined? -1: 0; } for(i= 0; iL; i++){ who= ar[i]; next= isi? ar[i][index] || '': who; ar[i]= [String(next).toLowerCase().match(rx), who]; } ar.sort(nSort); for(i= 0; iL; i++){ ar[i]= ar[i][1]; } } However I can't for the life of me figure out how to incorporate the natural sort function into the treeview plugin Any help would be greatly appreciated. . -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c41b16f1-ca86-4a54-8e25-172c388043c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki
God I pressed some key and sent the email mistakenly. So I will start again with the measure. As you can see from the above, I upgraded my vhost yesterday, so now I have more memory, but I'm still interested. Basicly the measure shows that the nodejs wiki server takes about 209M memory. Here's how I started the server: /usr/lib/node_modules/tiddlywiki/tiddlywiki.js /var/www/tiddly --server 9000 Please tell me if I'm doing it wrong. By the way, I'm using pm2 to manage the process. The parameter's are the same. And the memory usage are about the same, too. 2015年6月2日 上午12:38于 PMario pmari...@gmail.com写道: Hi Charlie, If you ssh into your instance and try: # top -n 1 you may see something similar to this, if your host runs a unix system. My instance here is an almost empty ubuntu system. pmario@ubuntu:~$ top -n1 top - 18:33:02 up 0 min, 1 user, load average: 0,31, 0,08, 0,03 Aufgaben: 232 total, 1 running, 231 sleeping, 0 stopped, 0 zombie %Cpu(s): 4,9 be, 6,2 sy, 0,0 ni, 73,3 un, 14,9 wa, 0,7 hi, 0,0 si, 0,0 st KiB Mem: 2040208 total, 272652 used, 1767556 free,23816 buffers KiB Swap: 2097148 total,0 used, 2097148 free. 152248 cached Mem PID BENUTZER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND What you see here is the OS only. If you start your node server and do the command again. You'll see the difference. That's what node and TW server command actually need. hope that helps. -mario -- 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/UYutj8ieh6k/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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com?utm_medium=emailutm_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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPF%2BgF8SaMgtW8xp_heWWbp_%2B9BqhmzN0akJuCEayj_cjE6sVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Wikitext for tags?
... And the tag pill in the preview section would be handy for creating new tiddlers from... I creating new tiddlers from preview, it's good for flow to got quickly from edit mode to create new tiddler.. Alex On Monday, 1 June 2015, Alex Hough r.a.ho...@gmail.com wrote: Just thinking out loud. The hashtag is the new CamelCase, it adds a Tag inline rather than creating a link.. Perhaps rendering hashtags as tag pills would make sense... A search for the hashtag would provide a list of similarly tagged tiddlers, as in Twitter, but hashtags in a text could be added to a hashtag field too- if it would be helpful to internals 1. This would make TiddlyWiki interface more with Twitter and emphasise the similarities in philosophy. 2. The tag pill could have a new here type button, a new tid is created with the tag and a field recoding the name of the tiddler. I think that hashtags have surpassed CamelCase: the [[Square brackets]] do it for me. Looking at Ward's Wiki, it's the camel case which dates it The status of hashtags is now such that they are widely understood - they are not a passing fad The dot prefix proposed by Jeremy coud would in a similar way, buttons for refactoring long tiddlers. Best wishes Alex On Friday, 29 May 2015, Jeremy Ruston jeremy.rus...@gmail.com javascript:_e(%7B%7D,'cvml','jeremy.rus...@gmail.com'); wrote: Hi Mario, Mat, Alex, To Mario's point, this stuff wouldn't be parsed by the usual wikitext parser. We'll need a new pre-parser that processes this markup. Let's imagine that we added support for the following way to add tags to the current tiddler: .#tag .#another tag That markup needs to end up with the creation of an actual tag field so that the tag mechanisms can work on it. We can't just use the markup above as the record of the tags applied to the tiddler. Retaining that markup within the tiddler would lead to duplication of data, which may not be a massive problem for a tag, but doesn't look sensible with operations like exploding a tiddler into subtiddlers; the whole point of that operation is to split the original tiddler up; retaining the wikitext with the markup would negate that. So, that's why the way that I think about this is more like a shorthand command line syntax for typing tiddlers, which is expanded at the point that the tiddler is confirmed. Best wishes Jeremy. On Wed, May 27, 2015 at 10:23 PM, Alex Hough r.a.ho...@gmail.com wrote: yes Mario, I like that... thanks! Alex On 27 May 2015 at 15:00, PMario pmari...@gmail.com wrote: I'd suggest, to use this special syntax, which is already part of the core. tag Productivity, tag Larry Elliot or *tag Productivity **tag test *tag Larry Elliot so you can create nice outlines for your ideas. -mario -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/973ae393-2a8e-4a1f-928d-6f1afa84ed35%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/973ae393-2a8e-4a1f-928d-6f1afa84ed35%40googlegroups.com?utm_medium=emailutm_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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CALc1hYeQACsWQAYvnveQaNoripCxGot1daKZNsXzb9v%2BnUpWjA%40mail.gmail.com https://groups.google.com/d/msgid/tiddlywiki/CALc1hYeQACsWQAYvnveQaNoripCxGot1daKZNsXzb9v%2BnUpWjA%40mail.gmail.com?utm_medium=emailutm_source=footer . 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJa7Bc6CKyL5HKj6ywgiN2Jcdy6mNcS6dthW5%2BFPEuKVew%40mail.gmail.com https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJa7Bc6CKyL5HKj6ywgiN2Jcdy6mNcS6dthW5%2BFPEuKVew%40mail.gmail.com?utm_medium=emailutm_source=footer . For more
Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki
Yeah. I mean, I'm not that dumb:) I use free instead of top: When I'm running the nodejs wiki server: charlie@www:~$ free -h total used free sharedbuffers cached Mem: 997M 819M 177M32M 116M 189M -/+ buffers/cache: 513M 483M Swap: 511M 444K 511M charlie@www:~$ free -h total used free sharedbuffers cached Mem: 997M 611M 386M32M 116M 189M -/+ buffers/cache: 304M 692M Swap: 511M 444K 511M Hi Charlie, If you ssh into your instance and try: # top -n 1 you may see something similar to this, if your host runs a unix system. My instance here is an almost empty ubuntu system. pmario@ubuntu:~$ top -n1 top - 18:33:02 up 0 min, 1 user, load average: 0,31, 0,08, 0,03 Aufgaben: 232 total, 1 running, 231 sleeping, 0 stopped, 0 zombie %Cpu(s): 4,9 be, 6,2 sy, 0,0 ni, 73,3 un, 14,9 wa, 0,7 hi, 0,0 si, 0,0 st KiB Mem: 2040208 total, 272652 used, 1767556 free,23816 buffers KiB Swap: 2097148 total,0 used, 2097148 free. 152248 cached Mem PID BENUTZER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND What you see here is the OS only. If you start your node server and do the command again. You'll see the difference. That's what node and TW server command actually need. hope that helps. -mario -- 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/UYutj8ieh6k/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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com?utm_medium=emailutm_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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPF%2BgF8HqREd7-Zdf4Lr-Y3RSwyLUvTFqw9K-0opU%2BQJ-3N-7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.