[tw] Re: Issue: Twitter #hashtags to TiddlyWiki Tags -- HOW, safely

2017-08-22 Thread 'Mark S.' via TiddlyWiki
You can try this. Import. Save. Reload. Now you can can add tolower[] to 
each of your filters.

Good luck,
Mark

On Sunday, August 20, 2017 at 5:30:46 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao tutti,
>
> I have an issue I can't solve. It may be I'm looking at the problem the 
> wrong way because of my dearth of technical understanding. Below are notes 
> laying out my understanding to date. I hope they are clear. Please ask if 
> not ...
>
> *  Use Case*: I write lots of Twitter posts in TiddlyWiki. Twitter is a 
> plain text format so they are always written in that Type in TW. Twitter 
> uses #hashtags. To use TW optimally as a partner for Twitter the #hashtags 
> I write in a "tweet" tagged Tiddler I want to automatically add as Tiddler 
> TW Tags.
>
> *  Background*: Riz, some many months back, devised a way to do this that 
> hooks into the save system--though it was meant more as a 
> "proof-of-concept" than a finished workable solution. It can be found here 
> .
>
> *  The Problem*: The issue is that by hooking into the fundamental save 
> mechanism Riz's solution means that ANY Tiddler with a "#" in it gets 
> processed on save and that can produce zillions of unwanted weird "tags". 
> Basically its in conflict with (1) WikiText, (2) Stylesheets, (3) and 
> anywhere else you might use a "#" / "pound" sign. The problem was 
> discussed in some detail before in this thread 
> .
>
> *  Possible Solutions*: (1) Limit the action on save (in Riz's 
> experimental saver) so that the #hashtag to Tag phase of it ONLY runs IF 
> (a) the Type is "plain/text", AND (2) the Tiddler concerned is Tagged 
> "tweet".  (2) Some other solution I'm not thinking of.
>
> *  Notes*: *It is NOT necessary that the addition of TW Tag versions of 
> the #hashtags contained in the text of the Tiddler happens on save*. It 
> would be just as functionally effective to have a macro that could be 
> periodically run (on a click) that finds ALL Tiddlers Tagged "tweet" of 
> Type "plain/text", performs the magic on them, and leaves aside all others.
>
> Any thoughts or solutions would be much appreciated.
>
> Best wishes
> Josiah  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/010df300-d123-42f3-9a5e-1206bf787a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


x$__core_modules_filters_tolower.js.json
Description: application/json


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder


On Tuesday, August 22, 2017 at 4:32:22 PM UTC-5, Jeremy Ruston wrote:
>
>
> It would be useful to find the earlier discussions. ...
>
>
This?  https://github.com/Jermolene/TiddlyWiki5/issues/2123 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/16f80721-0a9f-42c7-87fa-e823bfd0851e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Issue: Twitter #hashtags to TiddlyWiki Tags -- HOW, safely

2017-08-22 Thread @TiddlyTweeter
Ciao Mark S.

Thanks a lot for the help. I've now got something that's definitely in the 
right direction. FYI, I made some decisions ...

   *The #hashtag prefix I will keep in the TW tags* too, so it doesn't need 
to be clipped off. *I don't see any issues doing that*? It will better help 
me to know what is a Twitter related tag and what is purely for internal TW 
use. That may later also help me construct searches of Twitter.

   I decided to *"hardcode" the "#" "prefix"* as this gizmo is now so 
customised for Twitter it makes little sense to have a separate Tiddler 
holding it. It also helps the code be a more readable.

   *I looked back at my Twitter writing style* over the last year and saw 
that *there are a LOT of situations where, for TW Tags, I need to snip off 
punctuation from my Twitter #hashtaggery*. The blending of punctuation with 
hashtags is common on Twitter--mainly because you only have 140 characters 
to play with. Also Twitter knows what is the hashtag & what is punctuation 
or glyps abutting it. TiddlyWiki doesn't, so, to be real to my Twitter 
writing I'll have to do a fair amount of the "removesuffix/prefix stuff". 
Here's the current assemblage (seems to work!).

<$set name=test filter="
[list[!!text]prefix[#]]
[list[!!text]prefix[#]removesuffix['s]] +[!suffix['s]]
[list[!!text]prefix[#]removesuffix[.]] +[!suffix[.]]
[list[!!text]prefix[#]removesuffix[...]] +[!suffix[...]]
[list[!!text]prefix[#]removesuffix[,]] +[!suffix[,]]
[list[!!text]prefix[#]removesuffix[;]] +[!suffix[;]]
[list[!!text]prefix[#]removesuffix[:]] +[!suffix[:]]
[list[!!text]prefix[#]removesuffix[!]] +[!suffix[!]]
[list[!!text]prefix[#]removesuffix[?]] +[!suffix[?]]
[list[!!text]prefix[#]removesuffix[--]] +[!suffix[--]]
[list[!!text]prefix[...#]removeprefix[...]] +[!prefix[...]]
[list[!!text]prefix[--#]removeprefix[--]] +[!prefix[--]]
">

   Test data for the above ...


This is about #buddha1 #buddha1 #buddha1 who went to #Buddha2's 
concerning #buddha3. who spoke to #buddha4, about the state of 
#buddha5; #buddha6: and questioned #buddha7! and #buddha8? whether
#buddha9-- had a clear conscience about #BUDDHA10... and 
--#Buddha11 as well as ...#Buddha12 #BuddhaDANGER "


It worked! But I haven't learnt yet *how to deal with ... #BuddhaDANGER"*. 
Double quotes look dangerous if they get assessed for a Tag. But I haven't 
worked out yet if you can escape them in "removesuffix". They break the 
script if you use double-quotes straight. Solving that is a bit of finesse 
I'd like to get to.

But, essentially, its all working pretty well so far. What all this brought 
up for me was how convoluted it is though. A normal JavaScript regular 
expression could suck out the exact string you need to transfer to a TW tag 
without have to think about loads of cases you have to individually 
address. 

Now the next step is for me to work out how to force all the TW tags 
created to be LOWERCASE :-). 

Best wishes
Josiah

Mark S. wrote:
>
> Unfortunately, the "removesuffix" filter does 2 things, rather than just 
> the convenient one thing I wanted. It removes the suffix AND it filters. So 
> though it would work great with #Buddha's it would fail with "#Buddha" . 
>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d41325d-292c-44c5-aa5d-d078e56f63c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Russ, Mark,

> On Tuesday, August 22, 2017 at 3:05:13 PM UTC-5, Mark S. wrote:
> Wouldn't a prefilter=none option turn off de-duplication for the entire 
> filter?

Whatever mechanism we choose has to be usable everywhere that filters are used; 
that’s not just the list widget, but also commands like 
rendertiddlers/savetiddlers.

> Likely.  Why I also mentioned some kind of pragma approach or even a new kind 
> of list widget.  But without knowing at what level of granularity it's best 
> to address/apply the solution, it's hard to say what might be the better 
> approach (from a core perspective, I mean).

I think it’s best to move away from the idea of a replacement list widget. The 
list widget calls wiki.filterTiddlers() to get the list of items, and it’s 
there that the de-duplication happens.

> Jeremy, before posting a wish on github,..  attr? filterop? new freelist 
> widget? something else?  does any of this grab you?

It would be useful to find the earlier discussions. In particular, somebody 
suggested a new parameter for $tw.utils.parseStringArray() that would control 
whether or not duplicates are removed. That’s the easy part; the hard part is 
figuring out where we can exercise that option, particularly with regard to 
backwards compatibility.

My own perspective is that the automatic, silent de-duplication was a mistake 
in the original design of TW5. Instead, in those situations where we need to, 
the core should explicitly de-duplicate. As I say, it’s hard to figure out a 
backwards compatible way of fixing it; perhaps it’s something that we’ll need 
to defer until TiddlyWiki X (aka the next version that is explicitly not 
backwards compatible).

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 https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/45312428-eae3-4ae8-9bb0-5ed26a45c393%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/58045630-FB74-48D2-A575-C8D06F02E5C1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder


On Tuesday, August 22, 2017 at 3:05:13 PM UTC-5, Mark S. wrote:
>
> Wouldn't a prefilter=none option turn off de-duplication for the entire 
> filter?
>


Likely.  Why I also mentioned some kind of pragma approach or even a new 
kind of list widget.  But without knowing at what level of granularity it's 
best to address/apply the solution, it's hard to say what might be the 
better approach (from a core perspective, I mean).

Jeremy, before posting a wish on github,..  attr? filterop? new freelist 
widget? something else?  does any of this grab you?


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45312428-eae3-4ae8-9bb0-5ed26a45c393%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Wouldn't a prefilter=none option turn off de-duplication for the entire 
filter? What if you had a filter with multiple runs? You might not want all 
the runs to be affected. Seems like a custom enlist (maybe with a suffix 
like "enlist:dupes" would be simpler and safer to implement and would only 
impact the exact portions of the filter that mattered.

Mark

On Tuesday, August 22, 2017 at 12:15:05 PM UTC-7, Mat wrote:
>
> Seems the conclusion is that there is no direct way to accomplish this. 
> (BTW, this probably also means an idea 
>  I had 
> for Graphs will not work.)
>
> Switching over to wish-mode:
>
>
> codacoder suggested a listwidget attribute
>  
>
>> <$list filter="blah" prefilter=none> ...
>>
>
>
> I like this idea. And it could perhaps be generalized into something like 
> Tobias' filter plugin  so 
> that 
>
> [quote]
>
>>
>>- to avoid having to nest list widgets in list widgets
>>
>>
>>- - that may not even allow to retrieve the same aggregated results
>>
>>
>>- to avail nested filters to a single SetWidget 
>> or setvars 
>> widget instance
>>
>>
>
> <:-)
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b76e20e0-f668-499b-a368-3cf376136519%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Serving TW5 on remote Node.js server. When access tiddlywiki from browser, tw5 script fails with error: The header content contains invalid characters

2017-08-22 Thread Shareda
вторник, 22 августа 2017 г., 15:03:02 UTC+6 пользователь 
RichardWilliamSmith написал:
>
> Does it work locally, if you run the same server on your own machine?
>


Yes! It works locally, if i run server with the same prms. I can set any 
usernames, passwords, ports, and access from any browser, tw5 is ok!

Thanks, RichardWilliamSmith!  
As I see now, the problem is on my VPS/CentOS6/Node.js installation. Is it 
correct? And what i should try first?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b992fc78-4955-482c-bfc0-acc37c0d3c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] NoteSelf Android APP

2017-08-22 Thread Jan

Hi Danielo,
Great to have an App for mobiles. Do you (or does anyone else) plan to 
implement something similar for IOS ?


Yours Jan


Am 22.08.2017 um 16:52 schrieb Eneko Gotzon:
On Tue, Aug 22, 2017 at 8:37 AM, Danielo Rodríguez >wrote:


I promise you that it is useful…


​ You ​are so wonderful Byte Guys…

--
Eneko Gotzon Ares
enekogot...@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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEV4i4V%2BFcqsOOuMy%2B_ECxPFqHq0i77ga2U5AAm_qRFvNJ%2Bv1g%40mail.gmail.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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/599C83B6.1070208%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Mat
Seems the conclusion is that there is no direct way to accomplish this. 
(BTW, this probably also means an idea 
 I had 
for Graphs will not work.)

Switching over to wish-mode:


codacoder suggested a listwidget attribute
 

> <$list filter="blah" prefilter=none> ...
>


I like this idea. And it could perhaps be generalized into something like 
Tobias' filter plugin  so 
that 

[quote]

>
>- to avoid having to nest list widgets in list widgets
>
>
>- - that may not even allow to retrieve the same aggregated results
>
>
>- to avail nested filters to a single SetWidget 
> or setvars 
> widget instance
>
>

<:-)


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d74f2414-2922-429b-b6ee-7f547126e2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder
Methinks there's mileage in this... kudos!

On Tuesday, August 22, 2017 at 2:05:31 PM UTC-5, Mark S. wrote:
>
> It's pretty easy to make a "cheater" filter "enlist2" that splits at space 
> boundaries.  Then code like this:
>
> <$list filter="[enlist2[2 2 3 2]]" >
> <$view field="title"/> - 
> 
>
>  Will enumerate like 2 - 2 - 3 - 2 - 
>
> It's a cheater because it doesn't do a full parse for titles like [[My 
> Real Tiddler]]. That would take longer (have to look at existing parse 
> code) but this might be good enough to test if it gets you towards your 
> goal. Backup, of course ;-)
>
> HTH
> Mark
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/313f5d26-9675-4f34-bb29-49993a135b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
It's pretty easy to make a "cheater" filter "enlist2" that splits at space 
boundaries.  Then code like this:

<$list filter="[enlist2[2 2 3 2]]" >
<$view field="title"/> - 


 Will enumerate like 2 - 2 - 3 - 2 - 

It's a cheater because it doesn't do a full parse for titles like [[My Real 
Tiddler]]. That would take longer (have to look at existing parse code) but 
this might be good enough to test if it gets you towards your goal. Backup, 
of course ;-)

HTH
Mark




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f7d7aab4-52cf-418e-ac62-872c79539701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


x$__core_modules_filters_enlist2.js.json
Description: application/json


[tw] Re: Serving TW5 on remote Node.js server. When access tiddlywiki from browser, tw5 script fails with error: The header content contains invalid characters

2017-08-22 Thread Shareda
Hi, Tony and RichardWilliamSmith! Thanks for your answers!
Tony, yes I restarted whole VPS to exclude other test instances of 
TiddlyWiki, but behaviour just the same: as I request : from 
browser, password-protected TW5 server fails with that error. 

I tried oter ports - the same result. Also I tried different simple 
usernames and passwords:  & , user & pass, "uu" & "pp",  "" & "" , 
but only the last combination works. 

Yet I did not try to find, learn and start server my own local machine.

Single file copy works fine.

вторник, 22 августа 2017 г., 15:03:02 UTC+6 пользователь 
RichardWilliamSmith написал:
>
> Could it just be an "invalid character" in your username? Have you tried 
> it with the simplest possible username/password combo? 
>
> Does it work locally, if you run the same server on your own machine?
>
>
 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7022ff60-4834-4bf0-8a6e-1301aa24c5b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Thanks Jeremy,

Finally got it. So there's no way to feed nth a list that hasn't been 
already squashed.  

Thanks!
Mark



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49c5cc14-541e-4d3d-97ef-311c9917f300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Como Curar Las Hemorroides

2017-08-22 Thread Como Curar Las Hemorroides


*Deseas saber cómo curar las hemorroides?*  Cómo curar las hemorroides y 
que es lo más importante en la mente de millones de personas que ha sido 
afectadas por ella. Las hemorroides es una condición muy desagradable, ya 
que no sólo es incómodo, sino que también puede ser doloroso y peligroso. 

Mi  estimado hermano en este sitio, lo que deseo es contarte y compartirte 
parte de mi historia,  ya que yo he sido una persona que ha tenido que 
vivir y sufrir todo los inconvenientes  que involucra el llegar a padecer 
de Las Horribles hemorroides.

Para saber mas acerca de este tema visitar mi sitio Como Curar Las 
Hemorroides 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61207cbf-79fd-4acd-9a5d-34d9fcf7c298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Mark

> How does it flatten it, when [enlistnth] is being called one at 
> a time for each  value and only generates one value? How can the 
> *filter* be flattening it, when the filter should be generating exactly *one* 
> item each time it is called? That is [enlist[1 2 3 4 5]nth[3] should only 
> generate "3". So there is nothing to flatten.  I even wrapped the render in a 
> Wikify widget to try make sure there was no optimization cheating going on. 
> It sure seems like flattening is occurring at the <$list>contents 
> level rather than at the filter level, though it may be occurring at both 
> levels.

It is the “enlist” filter operator itself that is doing the duplicate removal 
here. [enlist[2 3 2 2]] yields 2 3, as you can verify in the advanced search 
filter page.

Best wishes

Jeremy.


> 
> Thanks,
> Mark
> 
> On Tuesday, August 22, 2017 at 10:02:52 AM UTC-7, Jeremy Ruston wrote:
> Hi Mark
> 
>> BUT there are NO duplicate entries. Take a look at the code again. I 
>> enumerate a unique set of values (1 2 3 4 5) with enlist. There are no 
>> duplicates. THEN I call wikify on a sub-list. The results get crushed 
>> anyways.
> 
> I think the problem is that [enlistnth] in the nested list 
> widget will flatten myList from 2 3 2 2 to 2 3.
> 
> Best wishes
> 
> Jeremy.
> 
> 
>> 
>> Thanks,
>> Mark
>> 
>> On Tuesday, August 22, 2017 at 9:38:45 AM UTC-7, Jeremy Ruston wrote:
>> Hi Mark
>> 
>>> On 22 Aug 2017, at 17:12, 'Mark S.' via TiddlyWiki 
>>> > wrote:
>>> 
>>> Then why doesn't this work?
>> 
>> The problem here is that the [enlist[]] filter operator reads the list using 
>> $tw.utils.parseStringArray(), which throws away duplicate entries:
>> 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L270-L292 
>> 
>> 
>> 
>> 
>> -- 
>> 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 https://groups.google.com/group/tiddlywiki 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/896268d7-afbb-4007-b572-a31c9a678eff%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 https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f078bfb8-f9dd-43f5-89e4-a1e819b5f3d9%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91EED38D-A5AB-42EA-90C5-9D8F5B10E33A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Hi Jeremy,

How does it flatten it, when [enlistnth] is being called one 
at a time for each  value and only generates one value? How can the 
*filter* be flattening it, when the filter should be generating exactly 
*one* item each time it is called? That is [enlist[1 2 3 4 5]nth[3] should 
only generate "3". So there is nothing to flatten.  I even wrapped the 
render in a Wikify widget to try make sure there was no optimization 
cheating going on. It sure seems like flattening is occurring at the 
<$list>contents level rather than at the filter level, though it 
may be occurring at both levels.

Thanks,
Mark

On Tuesday, August 22, 2017 at 10:02:52 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Mark
>
> BUT there are NO duplicate entries. Take a look at the code again. I 
> enumerate a unique set of values (1 2 3 4 5) with enlist. There are no 
> duplicates. THEN I call wikify on a sub-list. The results get crushed 
> anyways.
>
>
> I think the problem is that [enlistnth] in the nested list 
> widget will flatten myList from 2 3 2 2 to 2 3.
>
> Best wishes
>
> Jeremy.
>
>
>
> Thanks,
> Mark
>
> On Tuesday, August 22, 2017 at 9:38:45 AM UTC-7, Jeremy Ruston wrote:
>>
>> Hi Mark
>>
>> On 22 Aug 2017, at 17:12, 'Mark S.' via TiddlyWiki <
>> tiddl...@googlegroups.com> wrote:
>>
>> Then why doesn't this work?
>>
>>
>> The problem here is that the [enlist[]] filter operator reads the list 
>> using $tw.utils.parseStringArray(), which throws away duplicate entries:
>>
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L270-L292
>>
>>
>>
> -- 
> 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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/896268d7-afbb-4007-b572-a31c9a678eff%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f078bfb8-f9dd-43f5-89e4-a1e819b5f3d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Issue: Twitter #hashtags to TiddlyWiki Tags -- HOW, safely

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Unfortunately, the "removesuffix" filter does 2 things, rather than just 
the convenient one thing I wanted. It removes the suffix AND it filters. So 
though it would work great with #Buddha's it would fail with "#Buddha" .  
Correcting for this results in a more complicated filter. Now the logic 
results in this ginormous filter:

[list[!!text]prefix{$:/_state/tesseract/hashtag2tag}removeprefix{$:/_state/tesseract/hashtag2tag}]
 
[list[!!text]prefix{$:/_state/tesseract/hashtag2tag}removeprefix{$:/_state/tesseract/hashtag2tag}removesuffix['s]]
 
+[!suffix['s]]

Test with caution,
Mark

On Tuesday, August 22, 2017 at 8:06:37 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao Mark
>
> Thanks for letting me know. Not to worry. I haven't done anything yet. FYI 
> I have been looking through the "back catalogue" of TW trying to find any 
> extensions people may have made around regular expressions to see if there 
> is anything that could make the code for the processing of the "hashtags" 
> into TW tags less cumbersome. 
>
> Best wishes
> Josiah 
>
> Mark S. wrote:
>>
>> Darn. There's a logic error in the prefix technique I suggested. Don't 
>> use it (if you've started). 
>>
>> Mark
>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2247b9a3-e85f-4f0d-a398-8844e26800e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Mark

> BUT there are NO duplicate entries. Take a look at the code again. I 
> enumerate a unique set of values (1 2 3 4 5) with enlist. There are no 
> duplicates. THEN I call wikify on a sub-list. The results get crushed anyways.

I think the problem is that [enlistnth] in the nested list widget 
will flatten myList from 2 3 2 2 to 2 3.

Best wishes

Jeremy.


> 
> Thanks,
> Mark
> 
> On Tuesday, August 22, 2017 at 9:38:45 AM UTC-7, Jeremy Ruston wrote:
> Hi Mark
> 
>> On 22 Aug 2017, at 17:12, 'Mark S.' via TiddlyWiki 
>>  wrote:
>> 
>> Then why doesn't this work?
> 
> The problem here is that the [enlist[]] filter operator reads the list using 
> $tw.utils.parseStringArray(), which throws away duplicate entries:
> 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L270-L292 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/896268d7-afbb-4007-b572-a31c9a678eff%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43F38683-7F34-44AC-965D-E48D4B49A8C8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Hi Jeremy,

BUT there are NO duplicate entries. Take a look at the code again. I 
enumerate a unique set of values (1 2 3 4 5) with enlist. There are no 
duplicates. THEN I call wikify on a sub-list. The results get crushed 
anyways.

Thanks,
Mark

On Tuesday, August 22, 2017 at 9:38:45 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Mark
>
> On 22 Aug 2017, at 17:12, 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
> Then why doesn't this work?
>
>
> The problem here is that the [enlist[]] filter operator reads the list 
> using $tw.utils.parseStringArray(), which throws away duplicate entries:
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L270-L292
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/896268d7-afbb-4007-b572-a31c9a678eff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Russ

> All of the logic around uniquifying lists actually happens within the filter 
> mechanism, ...
> 
> 
> Which I believe is also in use when managing data entered via a field called 
> list - right?

There is indeed some special handling for the field called “list” whereby the 
content is automatically parsed into an array in the $tw.Tiddlers object. The 
same $tw.utils.parseStringArray() call is used that throws away duplicate 
entries.

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 https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/0154945b-5a8d-4cec-9203-fc2b810432e6%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F70FBFE2-4FE0-4B12-995C-7760C027D2D5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Mark

> On 22 Aug 2017, at 17:12, 'Mark S.' via TiddlyWiki 
>  wrote:
> 
> Then why doesn't this work?

The problem here is that the [enlist[]] filter operator reads the list using 
$tw.utils.parseStringArray(), which throws away duplicate entries:

https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L270-L292 


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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CE60D3DA-82F3-4409-A23F-A630C65A8900%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder


On Tuesday, August 22, 2017 at 11:02:21 AM UTC-5, Jeremy Ruston wrote:
>
> All of the logic around uniquifying lists actually happens within the 
> filter mechanism, ...
>
>
Which I believe is also in use when managing data entered via a field 
called list - right?


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0154945b-5a8d-4cec-9203-fc2b810432e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Hi Jeremy,

Then why doesn't this work?

\define nthnum() [enlistnth[$(enum)$]]
<$vars myList="2 3 2 2"  enumList="1 2 3 4 5">

<$list filter="[enlist]" variable="enum">
<$wikify name=item mode=inline text='<$list 
filter="[enlistnth]"/>'>
<>




The outer layer is generating a unique list of numbers, and so can't be 
compacted. The wikify turns a string that should yield exactly one result. 
It gets called 5 separate times. So at no point should a single filter be 
able to compact the data. Yet the output compacts (e.g. 2 3 is the result 
not 2 3 2 2). My conclusion is that the entire <$list> widget must be 
compacting the results in addition to whatever compaction goes on at the 
filter level.

Thanks,
Mark

On Tuesday, August 22, 2017 at 9:02:21 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Mat, Coda,
>
> On 22 Aug 2017, at 16:41, codacoder...@outlook.com  wrote:
>
> Yeah. If I recall, Jeremy said the listwidget is very complex and he is 
>> not in favour of introducing further complexity for it. I might have it 
>> mixed up with some other widget. Still, it is such a central widget so IMO 
>> it must either be very powerful or we need multiple niche widgets.
>>
>>
> That does not surprise me at all.  Maybe a new widget - $freelist ?
>
>
> All of the logic around uniquifying lists actually happens within the 
> filter mechanism, not the list widget, which will happily process whatever 
> list it gets out of executing the filter.
>
> I think there’s been discussion on github about it. As usual, the problem 
> is figuring out a backwards compatible workaround…
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b5f7a6f7-1a95-4c9f-9be0-97b3cc7de80d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
You probably won't like this approach any better. But you can make tiddlers 
1 2 3 each with a number field say populated with "2"

then this will work:

<$list filter="1 2 3 +[get[number]]" >
<$view field="title"/>


(Result 2 2 2 )

You of course don't have to use tiddlers 1,2,3 -- you just need unique 
tiddlers to represent each input number.

Mark


On Tuesday, August 22, 2017 at 8:29:43 AM UTC-7, Mat wrote:
>
> Mark S. wrote:
>  
>
>> <$list filter="X12 X22 X32 X43" >
>>
>  
> Again, the number of items is arbitrary. And while those prefixes would be 
> as plenty as there are items, there is apparently also not good way of 
> counting the number of items. 
>
> Still, thanks for the idea!
>
> BTW, I'm surprised we (all of us) have not had this discussion before. At 
> least not as far as I know.
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1dbbb396-8f60-4597-b458-102ec09de4fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Jeremy Ruston
Hi Mat, Coda,

> On 22 Aug 2017, at 16:41, codacodercodaco...@outlook.com wrote:
> 
> Yeah. If I recall, Jeremy said the listwidget is very complex and he is not 
> in favour of introducing further complexity for it. I might have it mixed up 
> with some other widget. Still, it is such a central widget so IMO it must 
> either be very powerful or we need multiple niche widgets.
> 
> 
> That does not surprise me at all.  Maybe a new widget - $freelist ?

All of the logic around uniquifying lists actually happens within the filter 
mechanism, not the list widget, which will happily process whatever list it 
gets out of executing the filter.

I think there’s been discussion on github about it. As usual, the problem is 
figuring out a backwards compatible workaround…

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9944551A-D82A-49E4-B513-14846A9667CB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder


On Tuesday, August 22, 2017 at 10:29:43 AM UTC-5, Mat wrote:

>
> BTW, I'm surprised we (all of us) have not had this discussion before. At 
> least not as far as I know.
>
>
Like I thought I said in my first response (but didn't, I must have edited 
out), when I first stumbled on the problem, I thought it was me being 
stupid.  Then when I learnt more about TW5, the penny started to drop.  
Then (long time after) you posted this, I copied into TW.com and played 
around and... *it all came rushing back! *:)  :(

So yeah... now we're having the discussion.  We probably need some kind of 
ungoverned, unsupervised list op/widget/tool/thingy (tm).

:)


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5202ebad-e616-4b04-892e-b2934f63f410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder


On Tuesday, August 22, 2017 at 9:40:39 AM UTC-5, Mat wrote:
>
> codacoder wrote:
>>
>> The "everything is a tiddler" philosophy doesn't always sit well with 
>> dominantly-appended lists (either list fields or the list widget itself)[1].
>>
>
> As far as I can tell, this is not a matter of the "everything is a tiddler 
> philosophy" because the arguments are deliberately omitted in the filter. 
> ...which, btw and IMO, is particularly inappropriate where the user 
> explicitly puts those arguments in the filter. 
>
>
>
Precisely *why* I said it doesn't sit well (expanded upon in my footnote 1 
about recipes) . In your case, it's *user data* input, in mine it was my 
*programmer 
supplied* input.  Again, *sometimes* treating everything as a tiddler 
(which is what the core is doing, even with your inputs 1, 2, 3, 2, 2, 2, 2 
-- they're being treated as tiddlers (or references to tiddlers) which if 
listed twice (eg in the UI) would be a problem.  So "I totally get" why it 
behaves this way, it's just that in this use case, it's a footgun.

I don't know if I'm making it any clearer or not - perhaps Jeremy can step 
in and help us out (and, perhaps, correct my thinking?).

 

>   The dominant append approach is vital for UI construction, for obvious 
>> reasons, 
>>
>
> Hm, I feel like I'm nit-picking semantics but does "dominent append 
> approach" necessarily mean it also filters out stuff?
>
>
yep.  It has to (for UI construction reasons).
 

>  
>
>> <$list filter="blah" prefilter=none> ...
>>
>
> Yeah. If I recall, Jeremy said the listwidget is very complex and he is 
> not in favour of introducing further complexity for it. I might have it 
> mixed up with some other widget. Still, it is such a central widget so IMO 
> it must either be very powerful or we need multiple niche widgets.
>
>
That does not surprise me at all.  Maybe a new widget - $freelist ?
 

> Thanks for your input, codacoder :-)
>

np. ;) 

 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/736e75a5-1545-453e-a384-0a5b49092f60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Mat
Mark S. wrote:
 

> <$list filter="X12 X22 X32 X43" >
>
 
Again, the number of items is arbitrary. And while those prefixes would be 
as plenty as there are items, there is apparently also not good way of 
counting the number of items. 

Still, thanks for the idea!

BTW, I'm surprised we (all of us) have not had this discussion before. At 
least not as far as I know.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/07458fd4-1d2b-433a-9e09-ef45c04b89b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Mat
On Tuesday, August 22, 2017 at 4:14:19 PM UTC+2, RichardWilliamSmith wrote:
>
> I think your proposal still could not handle *arbitrary* lists where the 
>> items (in this case numbers) are not predictable so it wouldn't be possible 
>> to make separate fields for them... 
>>
>
> I don't understand this, I'm afraid. Maybe you could explain a little more 
> what you really need it to do? How to the numbers get in the list? I am 
> just proposing that you have tiddlers 'val1' 'val2' etc. the names of which 
> don't change and which each have a field called 'value' that you put the 
> actual value in it. So your list is "the list containing the value field of 
> each of these tiddlers, in this order" which can be arbitrary, I think
>


Ok, this is my actual use case:

I'm dabbling with using Thomas Elmigers rpn macro so it can take an 
arbitrary list of numbers instead of the current limit with two numbers.

To achieve this, the idea is to use a listwidget and run the rpn macro for 
each number to add/deduct/multiply/divide to an accumulated result.

You can see some dabbling here , which is 
actually part of a more general project to make a "recursion macro". It is 
not official and it is not sure it ever leads anywhere.

Anyway, the macro call for the extended rpn macro would be something like 
<> or something similar. So, the numbers are 
actually explicitly stated by the user.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/308097ab-836e-43e6-9bde-fa69360f93d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: can we still create a couchdb instance on cloudant

2017-08-22 Thread Lost Admin
Thanks for letting me know I'm not alone in my experience with NoteSelf and 
Firefox.

That might also explain my issues as I was doing similar testing. It would 
also explain the different experience with different urls for the Noteself 
html file.

In my case, I used the developer tools as well. I used the Notself delete 
first (like you) but when I started experiencing issues, I used the 
developer tools to delete all the local data associated with the domain. I 
wonder if there is still some data that can't be deleted by the developer 
tools.

On Tuesday, August 22, 2017 at 11:04:52 AM UTC-4, Mark S. wrote:
>
> I've given up for the moment for NS firefox on cloudant. (posted in 
> another thread).
>
> I *think* what happened is that I deleted the NS database (to see if I 
> could). It deleted the actual database, but left cookies or something so 
> that I can't re-establish a connection to NS on cloudant. That is, the 
> delete was incomplete. I imagine if I used brand-new profile it would work 
> again. 
>
> Mark
>
> On Monday, August 21, 2017 at 11:53:43 PM UTC-7, Danielo Rodríguez wrote:
>>
>> > Then I ran into issues with Noteself reloading when using Firefox. I 
>> chased down the issue as far as I could but haven't seen anyone else reply 
>> to my post about it. So I gave up on Noteself.
>>
>> I'm sorry about that Lost Admin, I don't have much time this days and 
>> it's very easy to miss a post (or many to be honest) on the Google group. 
>> I'm also sad about you giving up on Noteself.
>>
>> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f1858e1-d264-498e-87e1-e684e41ed175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki

> Hm, I feel like I'm nit-picking semantics but does "dominent append 
approach" necessarily mean it also filters out stuff?

Yes, per the Dominant Append tiddler:


Filters  manipulate sets of titles 
>  in which no title may appear 
> more than once. Furthermore, they often need to append one such set to 
> another.
>
> This is done in such a way that, if a title would be duplicated, the 
> earlier copy of that title is discarded. The titles being appended are 
> dominant.
>
 
But I've noticed it's much more than dominant within a single filter. If a 
list is called inside of a list, the results are manipulated so that the 
results are unique, even though the compaction could not have occurred 
inside any one filter.

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a28ef44e-76ab-4071-a64b-7f02d59b586f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Issue: Twitter #hashtags to TiddlyWiki Tags -- HOW, safely

2017-08-22 Thread @TiddlyTweeter
Ciao Mark

Thanks for letting me know. Not to worry. I haven't done anything yet. FYI 
I have been looking through the "back catalogue" of TW trying to find any 
extensions people may have made around regular expressions to see if there 
is anything that could make the code for the processing of the "hashtags" 
into TW tags less cumbersome. 

Best wishes
Josiah 

Mark S. wrote:
>
> Darn. There's a logic error in the prefix technique I suggested. Don't use 
> it (if you've started). 
>
> Mark
>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b4565fbf-0fb1-44f0-837e-5bd27b0654d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: can we still create a couchdb instance on cloudant

2017-08-22 Thread 'Mark S.' via TiddlyWiki
I've given up for the moment for NS firefox on cloudant. (posted in another 
thread).

I *think* what happened is that I deleted the NS database (to see if I 
could). It deleted the actual database, but left cookies or something so 
that I can't re-establish a connection to NS on cloudant. That is, the 
delete was incomplete. I imagine if I used brand-new profile it would work 
again. 

Mark

On Monday, August 21, 2017 at 11:53:43 PM UTC-7, Danielo Rodríguez wrote:
>
> > Then I ran into issues with Noteself reloading when using Firefox. I 
> chased down the issue as far as I could but haven't seen anyone else reply 
> to my post about it. So I gave up on Noteself.
>
> I'm sorry about that Lost Admin, I don't have much time this days and it's 
> very easy to miss a post (or many to be honest) on the Google group. I'm 
> also sad about you giving up on Noteself.
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b90b402-818a-410b-ba67-5fd70aa8f627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread 'Mark S.' via TiddlyWiki
Here's a really clumsy solution, that I don't quite understand how it 
works. You start by making each entry of your first list unique (so that it 
doesn't get compacted). Then the inner list strips off the unique part 
(this the part where I don't understand the logic fully, but it seems to 
work) :

<$list filter="X12 X22 X32 X43" >
<$list filter="[!removeprefix[X1]] 
[!removeprefix[X2]] 
[!removeprefix[X3]] [!removeprefix[X4]]">
<$view field=title/>


There must be a cleaner solution. Maybe this will prompt some ideas.

Good luck,
Mark

On Tuesday, August 22, 2017 at 1:47:43 AM UTC-7, Mat wrote:
>
> I want to do something per each thing in an arbitrary list that can 
> contain multiple occurences, like so 
>
> 1 2 3 2 2 2 2
>
> I assume the *listwidget *should be used but how can I make it not filter 
> out the multiple 2's?
>
> Thanx
>
> <:-)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/10c6c086-65b5-45fd-bce1-0b74f54fbfb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] NoteSelf Android APP

2017-08-22 Thread Eneko Gotzon
On Tue, Aug 22, 2017 at 8:37 AM, Danielo Rodríguez 
wrote:

> I promise you that it is useful…
>

​You ​are so wonderful Byte Guys…

-- 
Eneko Gotzon Ares
enekogot...@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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEV4i4V%2BFcqsOOuMy%2B_ECxPFqHq0i77ga2U5AAm_qRFvNJ%2Bv1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Mat
codacoder wrote:
>
> The "everything is a tiddler" philosophy doesn't always sit well with 
> dominantly-appended lists (either list fields or the list widget itself)[1].
>

As far as I can tell, this is not a matter of the "everything is a tiddler 
philosophy" because the arguments are deliberately omitted in the filter. 
...which, btw and IMO, is particularly inappropriate where the user 
explicitly puts those arguments in the filter. 


  The dominant append approach is vital for UI construction, for obvious 
> reasons, 
>

Hm, I feel like I'm nit-picking semantics but does "dominent append 
approach" necessarily mean it also filters out stuff?

 

> but if the list widget had some kind of pragma attribute that controlled 
> its behavior in this regard, then we could stop using the pre-restricted 
> *list* field (which is also a problem) and use any other field(s) for 
> lists where the content is under user (our) control.  Something like... 
>

> <$list filter="blah" prefilter=none> ...
>

Yeah. If I recall, Jeremy said the listwidget is very complex and he is not 
in favour of introducing further complexity for it. I might have it mixed 
up with some other widget. Still, it is such a central widget so IMO it 
must either be very powerful or we need multiple niche widgets.

Thanks for your input, codacoder :-)

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4835d22f-6217-433e-91b7-7a4d59ae12fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread RichardWilliamSmith

>
> I think your proposal still could not handle *arbitrary* lists where the 
> items (in this case numbers) are not predictable so it wouldn't be possible 
> to make separate fields for them... 
>

I don't understand this, I'm afraid. Maybe you could explain a little more 
what you really need it to do? How to the numbers get in the list? I am 
just proposing that you have tiddlers 'val1' 'val2' etc. the names of which 
don't change and which each have a field called 'value' that you put the 
actual value in it. So your list is "the list containing the value field of 
each of these tiddlers, in this order" which can be arbitrary, I think

RR 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24c0571b-b3a8-47dc-8057-48f3f35b09e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Pack plugin button

2017-08-22 Thread Andrew
I am abandoning wikify because it causes all macro transclusions in all 
tiddlers to wikify.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4af06859-9274-400d-a6db-79840a85de89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: can we still create a couchdb instance on cloudant

2017-08-22 Thread Lost Admin
Danielo,

Although you made Noteself, I don't blame you for missing it. I was 
disappointed that nobody else (anyone) even tried to confirm my results.

Additionally, before giving up, I did re-download the noteself empty.html 
and re-try it. I still get those errors on Firefox, but oddly only when 
serving up from lighttpd. My instance on Apache and running from a local 
file don't mess things up. So, I haven't quite given up. I'm just not 
comfortable with not understanding the peculiar situation.

If you point  your web browser at https://wiki.suntrap.ca/noteself.html you 
will be accessing my instance. Note, this is just the empty.html (or should 
be) from noteself.github.io. I'm running my own couchdb. At the moment I 
need to manually create new users and their databases, so it's not for 
general use. 

On Tuesday, August 22, 2017 at 2:53:43 AM UTC-4, Danielo Rodríguez wrote:
>
> > Then I ran into issues with Noteself reloading when using Firefox. I 
> chased down the issue as far as I could but haven't seen anyone else reply 
> to my post about it. So I gave up on Noteself.
>
> I'm sorry about that Lost Admin, I don't have much time this days and it's 
> very easy to miss a post (or many to be honest) on the Google group. I'm 
> also sad about you giving up on Noteself.
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/394100a6-9fcf-4000-b9bd-94605628d7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread codacodercodacoder
I feel your pain, Mat.  I've been here before.  The "everything is a 
tiddler" philosophy doesn't always sit well with dominantly-appended lists 
(either list fields or the list widget itself)[1].  The dominant append 
approach is vital for UI construction, for obvious reasons, but if the list 
widget had some kind of pragma attribute that controlled its behavior in 
this regard, then we could stop using the pre-restricted *list* field 
(which is also a problem) and use any other field(s) for lists where the 
content is under user (our) control.  Something like...

<$list filter="blah" prefilter=none> ...

[1] There are many use cases where a given list might need to contain 
duplicates.  Recipes, for example, where discrete methods might be stored 
as individual tiddlers.  If you try to store *those *in a list, you can't 
build a Recipe tiddler that needs to repeat a given method (say) three 
times.


On Tuesday, August 22, 2017 at 5:14:53 AM UTC-5, Mat wrote:
>
> Richard, I appreciate your attempts. And yeah, first though "must be easy 
> - even trivial"... but no.
>
> I think your proposal still could not handle *arbitrary* lists where the 
> items (in this case numbers) are not predictable so it wouldn't be possible 
> to make separate fields for them... at least not without using a listwidget 
> and a solution that can handle repeated items... which is the problem to 
> begin with ...
>
> Futher ideas 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b834031-000e-4eac-b4ed-df9fb8818817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Challenge: Table consisting of tiddlers

2017-08-22 Thread 'Stephen Kimmel' via TiddlyWiki
Looking at your challenge again, I stumbled into what I'll refer to as the 
FlexBox solution. This may not be quite what you were looking for but you 
may find it interesting.

The listing of the tiddlers is a filtered list displaying a link to the 
individual tiddlers and a display of the tiddler itself using a template. 
What makes it look like a table is the styling. The flex-container sets the 
table to the full width allowed in the tiddler area and wraps the listing 
to the next line. The flex-item controls the basic dimensions of the 
tiddler display while the overflow:hidden limits the tiddler display to a 
thumbnail of the tiddler. I threw on the outset border style just to be 
cute. The flex-item:hover causes the thumbnail to expand to a larger 
version with the overflow set to auto so that the entire tiddler can be 
viewed.

 
.flex-container {
display: -webkit-flex;
display: flex;
width: 100%;
background-color: <>;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.flex-item {
width: 150px;
height: 200px;
margin: 10px;
overflow:hidden;
padding: 5px;
border-style: outset;
}

.flex-item:hover{background-color:black;
width: 300px;
height: 300px;
overflow:auto;
}



<$list filter="[tag[series]sort[title]limit[50]]">

<$link>
<$view field="title"}}/>

{{||Fields}}





-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd19cfbf-8b68-4c80-a51e-8cacba76f013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Issue: Twitter #hashtags to TiddlyWiki Tags -- HOW, safely

2017-08-22 Thread @TiddlyTweeter
Ciao TonyM

Thanks for the post. Because of the awful way that Google Groups work you 
are probably only dimly aware that the last 6 months have seen enormous 
developments for Twitter enthusiasts in TiddlyWiki. 

*Twitter is the one social network that is near comprehensively supported 
by TiddlyWiki now*. Jeremy Ruston made a comprehensive plugin for Twitter 
timelines. Thomas Elmiger & Riz made, between them, great posting tools. 
Thomas centred on being able to Tweet SECTIONS of text in normal Tiddlers. 
Riz centred on being able to post WHOLE Tiddlers.

The issue in this thread is over taming a neat trick Riz came up with that 
hooks into the save system, such that on-save plain text Twitter style 
#hashtags get added as TW Tags. Its still not quite perfect, but, *thanks 
to Mark S.*, its getting closer to proper functioning. And he's made it 
safe to use, which it wasn't before.

The USER issue, for me, at least, is to enable me to write in my Twitter 
fashion--straight text-- hashtags wherever I want them, no thought about 
TiddlyWiki during those moments. Just type & post. 

Its being able to do that that makes it a really good posting tool for 
Twitter. 

AND being able to organise stuff after posting, that TW enables, is a 
godsend because it can give you emergent organisation that is *impossible* 
on Twitter itself. I'm already using it, for instance, to produce lists of 
past Tweets worth repetition that I harvest from TW via filters and then 
place into inexpensive commercial auto-posting systems, fully ready 
formatted for them.



Coming back to your post ... I think the one thing of wider significance on 
the "Twitter saga" for TW is how it uses encoded URLs to DO things. 

In your case some of the "file initiations" you play with engage with that 
too? Yes? And it will remain so in the future too--even with the 
increasingly restrictive developments in browsers. I mean, its not as if 
you can stop URLs :-).

The other point is about INITIATION of actions on save that this particular 
thread touches into. I'm not techie enough to know the scope of what could 
be done, but Riz's gizmo is very suggestive of possibilities.

Best wishes
Josiah 

TonyM wrote:
>
> ... it seems to me processing/parsing a tiddlers content on closing a 
> tiddler could prove useful like detecting and [[ boxing ]] any text that 
> matches an existing tag and more would be cute.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff3f860a-c2fa-4c47-a780-fc103a85d3a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: NoteSelf Android APP

2017-08-22 Thread Sylvain Naudin
Hi Danielo,

Great to see this news ! I've just install it, test quickly QR Code tiddler 
creation, it's nice :)

I'll test configure couchdb later and synchronise this.

Cheers,
Sylvain

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/641d6bbe-35cb-4465-a6a1-ac9cf0b96d08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread Mat
Richard, I appreciate your attempts. And yeah, first though "must be easy - 
even trivial"... but no.

I think your proposal still could not handle *arbitrary* lists where the 
items (in this case numbers) are not predictable so it wouldn't be possible 
to make separate fields for them... at least not without using a listwidget 
and a solution that can handle repeated items... which is the problem to 
begin with ...

Futher ideas 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4de31fe3-0f7e-471a-90b7-bb832abc49aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Prevent filter from filtering out copies?

2017-08-22 Thread RichardWilliamSmith
Hi Mat,

At first I thought "it must be easy". But then I realised it's not. I was 
all ready to roll up my sleeves and try to give it a go, but then I found 
the tiddler called "Dominant Append" and I despaired.

Filters  manipulate sets of titles 
>  in which no title may appear 
> more than once.


Then, for a brief moment, hope rekindled when I read this "Unlike most 
other Filter Operators , the 
selection  output by get can 
contain duplicates." but sadly the get operator isn't treating the field 
like a list at all and, I don't know

I thought (this is how all my problems start) that it might be possible to 
somehow 'loop' the correct number of times and pop the front element off a 
shorter list each time, or something like that, but it seems you can't even 
get the correct length for the list to begin with (your list has a 'count' 
of 3, not 7).

One "solution" would be to have a list of unique tiddler titles and store 
the non-unique value in a different field of them. ie; 


> <$list filter="[list[!!numbers]get[value]]">
> 


with a 'numbers' field of 'val1 val2 val3 val4' (where value field of 
each equals ie; 1 2 3 2 etc.)

You'd probably then make a little widget to make it easy to change those 
values through a simple interface.

It would seem neater to keep all these val1, val2, val3 in a data tiddler 
but I can't see an operator that turns a list of keys into a list of 
values. I suppose they could all just be individual fields of one tiddler 
too but then how would you write that dunno. 

Best I've got I'm afraid. :)

Regards,
Richard


On Tuesday, August 22, 2017 at 6:47:43 PM UTC+10, Mat wrote:
>
> I want to do something per each thing in an arbitrary list that can 
> contain multiple occurences, like so 
>
> 1 2 3 2 2 2 2
>
> I assume the *listwidget *should be used but how can I make it not filter 
> out the multiple 2's?
>
> Thanx
>
> <:-)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f7fe884c-7ff2-4e02-8f99-279567cee524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Positive Assertions In One Sentence ... (aka Saying Succinctly What TW Is About ...)

2017-08-22 Thread @TiddlyTweeter
Being a #quine , 
#TiddlyWiki re-instances itself in its own (re-)making of itself.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2f58abb9-3fa6-4eb1-9cc1-e06d768a5a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Serving TW5 on remote Node.js server. When access tiddlywiki from browser, tw5 script fails with error: The header content contains invalid characters

2017-08-22 Thread RichardWilliamSmith
As far as I can tell this is Node itself crashing (storeHeader is in 
_http_outgoing.js at this memorable url - 
https://github.com/nodejs/node/blob/11a2ca29babcb35132e7d93244b69c544d52dfe4/lib/_http_outgoing.js)
 

It would seem Tiddlywiki is creating/allowing something that Node doesn't 
like.

Could it just be an "invalid character" in your username? Have you tried it 
with the simplest possible username/password combo? 

Does it work locally, if you run the same server on your own machine?

Regards,
Richard

On Monday, August 21, 2017 at 10:47:21 PM UTC+10, Shareda wrote:
>
> If I remove username & password, then everything works fine, but i need to 
> limit access.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8c3f9e9f-58bd-4936-ad24-f0f3b310cd27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Prevent filter from filtering out copies?

2017-08-22 Thread Mat
I want to do something per each thing in an arbitrary list that can contain 
multiple occurences, like so 

1 2 3 2 2 2 2

I assume the *listwidget *should be used but how can I make it not filter 
out the multiple 2's?

Thanx

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/921a2cc0-a22e-442d-897b-f5cf73541eba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: can we still create a couchdb instance on cloudant

2017-08-22 Thread Danielo Rodríguez
> Then I ran into issues with Noteself reloading when using Firefox. I chased 
> down the issue as far as I could but haven't seen anyone else reply to my 
> post about it. So I gave up on Noteself.

I'm sorry about that Lost Admin, I don't have much time this days and it's very 
easy to miss a post (or many to be honest) on the Google group. I'm also sad 
about you giving up on Noteself.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c6302cf-8c11-4f57-aea4-14199349d0ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] NoteSelf Android APP

2017-08-22 Thread Danielo Rodríguez
Hello everyone,

Welcome to the beta program of NoteSelf Android app. I will post here all the 
releases of the official Noteself Android app. New versions will be posted here 
too, both as a new post and as eddition of the first one, so make sure to 
subscribe to this thread if you are interested.

I must recall that this is our first beta release, so don't expect a polished 
app, or a perfect one. But I promise you that it is useful, I know it because I 
use it on a daily basis.

There is a previous version of the app laying around, but this is the first one 
to include features that make the Android version worth the installation. Some 
of this features are:

* QR scanner. Do you love tiddlywiki's QR plugin because it is Soo cool, but it 
lacks real application? Not anymore! With our Android app you can scan any QR 
code and it will be saved as a tiddler.
* Slider menu: it is very inconvenient on mobile screens to be forced to 
navigate to the top of the page to use the sidebar. This is now fixed with the 
addition of a menu that you can slide in with your thumb.Just drag with your 
finger from any part of the screen to the right edge and the sidebar will 
slide-in.
* It appears in the share with menu (this was already present on the previous 
version)

Known problems :

* There is no way to exit from the QR scanning screen other than scanning a QR 
code or closing the app
* The sidebar is duplicate with the one after the top of the page,including the 
closed state. I'm already working on a more mobile friendly sidebar, but the 
current status is already useful 

Please note that the minimum Android version is 5 (lollipop). Hope you enjoy it 
as much as I do, and don't hesitate to post your thoughts or problems here. 
Here is the official releases page:

https://github.com/NoteSelf/android-app/releases

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc15b286-ee5f-464f-b36b-aa5c7a042f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.