[tw] Re: Substring of tiddler name

2017-03-17 Thread Steven Schneider
It seems there isn't such a function in TW core. But, is it possible (for someone who knows how to do it) to write a substring js macro. The javascript is this: var str = "Hello world!"; var res = str.substring(x, y); so <$macrocall $name="substring" string="Hello,World" x="1" y="5"/> would

[tw] Re: Substring of tiddler name

2017-03-17 Thread stevesuny
hmm. Mario, thanks! This works sort of But I don't know the prefix - I have a list of 50+ tiddlers with unique digit patterns as part of the tiddler names. I need to extract the prefix. Is there a substring function in TW that can operate on a variable? Like,

[tw] Re: Firefox not Displaying pictures

2017-03-17 Thread PMario
Hi Jason, How do you include your images, and how do you display them. Some tiddler content would be nice. -m -- 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

[tw] Firefox not Displaying pictures

2017-03-17 Thread Jason Peterson
Hello all! I love TW classic and am new to TW5. I have always had an issue with Firefox not displaying any picture that I have in a tiddler. Is there an addon or something I am missing to have it come up. I displays fine in chrome and IE. Thank you all for everything you have done and

[tw] Re: Substring of tiddler name

2017-03-17 Thread PMario
global macro like this: \define myLink(prefix) <$set name="digit-pattern" value="^$prefix$"> <$list filter="[regexp:title]" emptyMessage="no match"><$link to=<> >$prefix$ \end usage: <> The only problem is, if there are several matches. ... It doesn't look good then. have fun! mario

[tw] Re: Substring of tiddler name

2017-03-17 Thread stevesuny
oops, splitBefore[W] was a placeholder; it would be splitbefore[regexp[A-Z]] On Friday, March 17, 2017 at 5:37:17 PM UTC-4, stevesuny wrote: > > Yes, number string is unique. > > I've been working with the regexp, but can't quite get it to work... > > This is what I've got: > > <$set

[tw] Re: Substring of tiddler name

2017-03-17 Thread stevesuny
Yes, number string is unique. I've been working with the regexp, but can't quite get it to work... This is what I've got: <$set name="digit-pattern" value="[0-9]{2} [0-9]{2}">||> this is the unique pattern that begins each tiddler <$list filter="[regexp:title]">

[tw] Re: Substring of tiddler name

2017-03-17 Thread PMario
Hi Steve, Is your number prefix unique? So there is only one tiddler that matches? It would be possible to create a regexp filter - list - link - macro -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and

[tw] Substring of tiddler name

2017-03-17 Thread stevesuny
Hi, this topic seems to have come up before, but without a clear answer. How do I define a substring with the first x characters of a tiddler name? If I have $tiddler$ named "01 01 Long name of tiddler" (those are spaces) I'd like to be extract "01 01" to <> so I can write <$link

[tw] Re: [TW5] Reduce vertical white space

2017-03-17 Thread Bob Flandard
Thanks Mat, Much improved layout, without it the headings float roughly midway between the paragraph that just finished and the paragraph they are heading. Regards, Bob -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Where is the NoteSelf repository anyway? @Danielo

2017-03-17 Thread Mat
I'm posting this publicly because the answer might be of interest for others also. @Danielo - https://noteself.github.io/ is clearly on github... but where is the code? The link at bottom of that page only leads to your github profile and scanning through your repositories

[tw] Re: TW5 - Another RSOD suggestion

2017-03-17 Thread @TiddlyTweeter
Ciao PMario My suggestion is this, influenced by the comments below ... DON’T PANIC. There is a problem but it’s likely not a disaster. To be safe, please ... 1 - Create a backup of your TiddliWiki using file explorer. 2 - See if you can save your TiddlyWiki in the normal way. 3 -

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread Mat
Josiah, > > I think we let ourselves down on promoting TiddlyWiki. > That's one of this projects greatest weaknesses. I've truly tried several things over the years and keep my eyes open for opportunities. Hopefully it has pulled in a few people who are now devotees but hard to tell. <:-)

[tw] Re: [TW5] Reduce vertical white space

2017-03-17 Thread Mat
As part of my TW template, i.e a TW that I've set up from which I base most of my other TWs, I have a tiddler like so: title: $:/SiteStylesheet tags: $:/tags/Stylesheet type: text/vnd.tiddlywiki text: /* Tweak headings h2, h3, 4h / !!, !!!, */ .tc-tiddler-body h2 {margin-bottom:-.2em;

Re: Re: [tw] Voicing Futures ...

2017-03-17 Thread Mat
@Danielo I'm not sure why most people ignore it or have decided to not talk about it. I agree it deserves a LOT more attention, not least on the boards. (I'll try to plug NoteSelf when it is relevant. ;-) As for using it, I can't talk for others but the FAQ

[tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2017-03-17 Thread Jed Carty
Loading all tiddlers into memory doesn't explain that sort of memory consumption. The entire html file is loaded into memory when you load it in the browser and all the tiddlers are part of the html file. And the entire wiki (which includes all the tiddlers) is pretty small anyway, nowhere near

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread Mariocco
Thanks everyone! Very reassuring. Let's start then Kind Regards, 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

Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2017-03-17 Thread Mirko Clemente
Thank you for the link. I'll definitely have a look on it. But I'm not sure if it applies to TW. Somewhere I read that it loads all tiddlers into memory. I think this strategy explains the high memory consumption. Am Freitag, 17. März 2017 17:31:06 UTC+1 schrieb PMario: > > On Friday, March 17,

Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2017-03-17 Thread PMario
On Friday, March 17, 2017 at 4:27:40 PM UTC+1, Mirko Clemente wrote: > > Same problem here. Without any tiddlers I measured 209M of memory > consumption. I created some tiddlers and added 2 or 3 images and the node > process consumed about 300M. That's a pity as my shared hosting is also >

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread @TiddlyTweeter
Ciao Mat Lacking here is the ability to "retweet", or pin, good things like that article. I think we let ourselves down on promoting TiddlyWiki. Just a side thought. Best wishes Josiah On Friday, 17 March 2017 17:06:34 UTC+1, Mat wrote: > > Welcome! Maybe this >

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread Mat
Welcome! Maybe this article will be comforting to read. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread @TiddlyTweeter
Mario wrote: I am new to TiddlyWiki and I would like to know, before investing time in adding info and data to the system, how solid is the system. That is a very good question to ask. The answer is definitely YES. It IS important to backup your TW, mainly because browser crashes do happen

Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2017-03-17 Thread Mirko de Almeida Madeira Clemente
Same problem here. Without any tiddlers I measured 209M of memory consumption. I created some tiddlers and added 2 or 3 images and the node process consumed about 300M. That's a pity as my shared hosting is also limited to 500M. I am afraid that it won't take long to hit the limit. Am

Re: Re: [tw] Voicing Futures ...

2017-03-17 Thread Danielo Rodríguez
El viernes, 17 de marzo de 2017, 15:16:50 (UTC+1), Lost Admin escribió: > > I looked at it. It looks interesting. I liked the idea. I couldn't find > any instructions on how to set-up my own server to host my own. > I want to add subtitles and some voice explanations, and add it to the main

Re: Re: [tw] Voicing Futures ...

2017-03-17 Thread Lost Admin
I looked at it. It looks interesting. I liked the idea. I couldn't find any instructions on how to set-up my own server to host my own. On Friday, March 17, 2017 at 4:28:32 AM UTC-4, Danielo Rodríguez wrote: > > Thank you Josiah for mentioning NoteSelf. > I'm not sure why most people ignore it

Re: Re: [tw] Voicing Futures ...

2017-03-17 Thread Lost Admin
I posted the link. It turns out it stopped working on current versions of Chrome because Google altered functionality for security reasons. I'm using an older version of Chrome (because my employer hasn't upgraded yet, so it works for me). The link is

[tw] Re: [TW5] Introducing a simple BarChart plugin

2017-03-17 Thread @TiddlyTweeter
Ciao Jed First: Let me say that is brilliant! Why? Because it both generates the code one needs AND helps people like me understand it. I think its a good tool that balances needed coding well whilst enabling one to get things done. Thanks for clarifying on the VERTICAL. I too did not not

Re: [tw] Re: Like TiddlySpot but using https.

2017-03-17 Thread Lost Admin
Re: WebDAV I looked into that. My initial plan was to run my own personal 'cloud storage' server with WebDAV but by the time I got all the bits and pieces I wanted together I had blown out the memory limits on my very inexpensive VPS (at 7.50 euros per quarter, it's hard to beat). I may look

Re: [tw] New home for TiddlyWiki Five saver for Dropbox

2017-03-17 Thread Jeremy Ruston
Hi Arlen Would you like to make a PR for adding a link to tw.com? Many thanks, Jeremy > On 17 Mar 2017, at 08:36, Danielo Rodríguez wrote: > > You can upload images to GitHub without any problem. I do exactly that for > Noteself > > -- > You received this message

Re: [tw] Re: Like TiddlySpot but using https.

2017-03-17 Thread Jeremy Ruston
Hi Lost Admin Terrific, very pleased that you’re doing this. The idea of doing something for yourself but making the spare capacity available for others is pretty sweet. Your ideas for extending TiddlySpot make good sense, and I’m sure would meet the needs of many people. One radical

[tw] Re: Like TiddlySpot but using https.

2017-03-17 Thread Lost Admin
Hi Mat, I can't say it will be exactly like TiddlySpot. I don't know what all they do in the back-end. I would hope it turns out as reliable as TiddlySpot, but I'm not sure I can live up to their proven track record. Plus, wikis will be at https://wiki./wikiname What I am planning is that it

[tw] Re: Global Macros

2017-03-17 Thread FrD
Hi Jan, Have a look at http://tiddlywiki.com/#ImportVariablesWidget I've done a test with a TW of mine : - Put all the "steps" (macros you don't intend to share at the global level) in a tiddler named for instance "StepsMacros" (don't tag it with $:/tags/Macro

[tw] Re: Global Macros

2017-03-17 Thread Jed Carty
I am not aware of a way to do this. It may not be appropriate for your situation, but my method of getting around this is to prefix the names for all of the macros that aren't mean to be globally available with the name of the global macro. So if I have a global macro CurrentInvoiceTitle that

[tw] Re: New user evaluating TW5: risks of data lost?

2017-03-17 Thread Jed Carty
You can be confident of both aspects with the understanding that you are responsible for both. The data is in a single html file that you should always be able to open in a browser, and we have multiple export methods for moving data somewhere else. The way it is stored it is only slightly

[tw] New user evaluating TW5: risks of data lost?

2017-03-17 Thread Mariocco
Dear All, I am new to TiddlyWiki and I would like to know, before investing time in adding info and data to the system, how solid is the system. Can I rely on it for long term availability of information? In the past I used different system and soon or later you need to migrate (unless you use

[tw] Re: [TW5] Introducing a simple BarChart plugin

2017-03-17 Thread Jed Carty
Yeah, the vertical part is a problem, the height needs to be set to a height using a unit other than % for it to display. That is one reason that this is an experimental version. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw] Global Macros

2017-03-17 Thread Jan Johannpeter
Hello, I got a question regarding global macros: I learned he way make a macro work throughout the hole wiki is tagging the containing Tiddler $:/tags/Macro, which means that all macros defined there will be global. I most cases I just need one expression to work in other tiddlers but

[tw] [TW5] Reduce vertical white space

2017-03-17 Thread Bob Flandard
Hello, How do I reduce the amount of vertical white space between headings (! !! !!!) and the text below them? Preferable without interfering with the spacing of the table of contents menu. I did search here and look at theme tweaks, but found nowt. Thanks, Bob -- You received this message

Re: [tw] Re: New home for TiddlyWiki Five saver for Dropbox

2017-03-17 Thread Danielo Rodríguez
You can upload images to GitHub without any problem. I do exactly that for Noteself -- 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

[tw] Re: [TW5] Introducing a simple BarChart plugin

2017-03-17 Thread Danielo Rodríguez
For some reason vertical does not work on my phone. Only a black small bar is shown. Everything else works fine. By the way, I do like the original colors. At the end , colors were made for the different likings ! -- You received this message because you are subscribed to the Google Groups

Re: Re: [tw] Voicing Futures ...

2017-03-17 Thread Danielo Rodríguez
Thank you Josiah for mentioning NoteSelf. I'm not sure why most people ignore it or have decided to not talk about it. It has all the three ootions: autosave on your local browser , manual download option and automatic synchronization to a remote databases. I use it daily both at my work and