[tw] Re: How to Filter Using Range of Field Values ((less than, greater than)

2017-10-15 Thread Berne Campbell
I was thinking that the psuedofield would only exist in the context of the 
filter (and only during the execution of the filter), it wouldn't add 
anything else using the tiddler or make changes to the tiddler. Anyway, 
it's all hypothetical until someone codes it. I'll be happy to give it a 
crack once I wrap my head around things and get the drive for more powerful 
filtering. I might go the other path and have custom Javascript callbacks.

On Sunday, 15 October 2017 02:02:26 UTC+11, Mark S. wrote:
>
> I can imagine there would be great objection to "let" -- you're not 
> supposed to modify the tiddlers generated by a filter inside of the <$list> 
> structure. 
>
> It would probably be better to create your own SQL-like parser macro or 
> widget. Now there's a project! It might even be that someone has written a 
> javascript SQL emulator library. Seems likely.
>
> Another approach that doesn't break how TW works would be a javascript 
> macro that might work like:
>
> prefix:num10[field]
> prefix:trim10[field]
>
> which would prefix the title with a padded numeric field (we would assume 
> the field was well behaved) or a trimmed (padded on the right) text field. 
> You could then use as many as these as you wanted to build up a sortable 
> title. 
>
> Then there would be a trim filter like this
>
> deprefix[] which would remove  of characters from the 
> input title, restoring the original title.
>
>  
> Something to think about --
>
> Mark
>
>
> On Friday, October 13, 2017 at 4:15:40 PM UTC-7, Berne Campbell wrote:
>>
>> I guess ultimately I want something like SQL, in SQL I can do multiple 
>> levels of sorting, and I can also run a function on input and then have 
>> that output be the input of another function. So I can do SELECT * FROM 
>> foobar WHERE (CAST(length AS NUMBER)) < 10 ORDER BY length, title DESC; <-- 
>> Probably incorrect SQL syntax but trying to illustrate what I mean.
>>
>> I was thinking something like "[tag[foobar]has[length] 
>> let:pseudolength[int(length)] lessthan:pseudolength[10] 
>> sort[pseudolength,title]"  where pseudolength is a temporary field created 
>> by the let operator, and int(length) will convert a alphanumeric field into 
>> a numberic field (e.g. "10 feet" becomes 10, and it has type int), when 
>> sort comes along it can take multiple fields, and because the pseudolength 
>> field is of type int it sort it numerically, whilst title is sorted 
>> alphabetically. Something like this, or being able to specify some custom 
>> javascript like a callback for converting or sorting, would be nice.
>>
>> On Saturday, 14 October 2017 06:31:59 UTC+11, Jed Carty wrote:
>>>
>>> I can see how we can do all of that other than the zero padding in just 
>>> wikitext, but without the zero padding the sort will break because it would 
>>> be an alphanumeric sort. Perhaps we need to make a padding filter, it 
>>> shouldn't be too difficult to implement and I think it has come up before.
>>>
>>> For anyone who doesn't know the details of the sorting, the problem is 
>>> that there are two types of sorting done in tiddlywiki, it can be numeric, 
>>> where things are ordered according to numeric values and 10 comes after 2 
>>> because the number 10 is greater than 2. The other sort is an alphanumeric 
>>> sort where 10 comes before 2 because the first character in 10 comes before 
>>> the first character in 2 when sorted in the order that the characters are 
>>> sorted in the character encoding used. If you have something that has both 
>>> numbers and letters in it than it can not be sorted using the numeric 
>>> method using built-in functions.
>>>
>>
>

-- 
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/df65808d-56d2-4fe9-8a4a-3b4861fa3ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to Filter Using Range of Field Values ((less than, greater than)

2017-10-15 Thread Berne Campbell
No problems. What you have done already has gotten me to a very usable 
state, and I'm very thankful. If all the other things are never done by 
you, me or anyone else that's the way it is.

On Saturday, 14 October 2017 18:58:23 UTC+11, Jed Carty wrote:
>
> That is at least three things that require more effort than I am willing 
> to devote to this for the foreseeable future. The edge cases from the 
> casting into a numeric form alone is enough to make we want to hide in bed, 
> and implementing an efficient stable sort for tiddlywiki may be useful but 
> it is the sort of thing that would probably make me never want to touch 
> javascript again.
>

-- 
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/69f482ed-537c-45e7-adb4-d75c0f21e4ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki in the Sky supports Classic :)

2017-10-15 Thread TonyM
Unfortunately no go on my 17Mb TWC, I will investigate further when and If 
I have more time :(

-- 
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/36798a61-61d3-4507-97c6-abd6b9b5c148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Thoughts from the Obvious Side ...

2017-10-15 Thread TonyM
Josiah,

You last post was clear and I "get it", I understand the need to TiddlyWiki 
to have a more obvious usage, the new users are not seeing tiddlywiki at 
its potential best, and it is hard for them to get the vision shared by 
enthusiasts.

I am sure I don't have the full answer but can I suggest you reread my last 
post and imagine the approach I am suggesting, although I have not detiled 
all the possibilities.

To be clear, I am trying to answer your Question, and if it is not, 
consider if this set of ideas is still the answer :)

I agree the answers are bleeding obvious, lets make the required features 
bleeding obvious.

As I say "If you can see what I am doing here, is building in features that 
help me achieve a lot through an intuitive addition to tiddlywiki to 
turbocharge the development of existing and future tiddlywikis"

I believe the gap you are seeking, the missing piece(s) to fill, is not in 
the core, or in finished examples, but in features that help expose to the 
imagination what can be done, and make this, what can be done, easier. I do 
not believe another SHOWCASE is necessary if it can only be created by a 
developer.

I will give another example "Tags"

Tagging tiddlers is a key feature of tiddlywiki, and even drives its whole 
structure, however we do little to illustrate what tags can be used for by 
the end user, and when we do those features can only be achieved with 
plugins and code so there is a barrier to realising the potential of tags, 
people will get there eventually, but only if they do not abandon 
tiddlywiki first.

Here is an example of what is difficult for new and enthusiast alike to 
discover easily; its used to illustrate my point below.

Tags can

be used like tags in other systems
be uses as categories
build lists
indicate membership
show status
capture hierarchies
capture network relationships
alter appearance, or hide and display content
use color in tags and tiddlers
be sorted, in lists and within tag line
be documented in a tiddler of the same name
be managed as a list within a field
be dragged and dropped to move
and more

The point is using tags to do the above, is what the user wants to learn 
and do, and it is not straightforward to do these things. Needing to resort 
to plugins or particular editions is overkill when you are learning.

I believe we need to fill this gap with techniques and helpers to maker 
these things obvious and easy.

This is a solution for a Specific Example to illustrate, Using tags to 
indicate status, requires something like cycletags, which allows you to 
step through a set of statuses eg; "new wip completed" removing the last 
when assigning the next. Why cant we create a tag/tiddler called status and 
use new here to create "new wip and completed" tiddlers tagged with status, 
then set a value on status that says when used as a tag allow an OR 
selection of tagged tiddlers. This feature with an AND selection could 
allow tagging with one or more tags.

Simple problems are solved quickly and all that remains are new and 
difficult problems. I think this problem is haunting us because the answer 
lies between the core and plugins yet needs to answer the needs of the user.

I am ready to proceed.
Tony

-- 
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/d0d59150-9fa5-4924-9e79-4d203680d889%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Thoughts from the Obvious Side ...

2017-10-15 Thread @TiddlyTweeter
Ciao TonyM

My last post was probably not as clear as it could have been. I was really 
interested in it in FINAL outcomes. That is nothing to do with code and 
nothing directly to do with neat procedures people invented in TW (even 
though silently enabling). 

I was wanting to focus attention on final *usage aims*. Like "Writing 
Screenplays", "Posting Tweets" or "Documenting Grannie's History". In other 
words WHAT one uses TiddlyWiki FOR.

My point was that sometimes here we overlook the bleeding obvious. Though I 
have NO "should" about what folk do, I just think that a lot of the time 
here we make it hard for FINAL end-users to grasp how much is available 
that will more than adequately fit their limited, doable utilitarian needs.

I'm not sure what the solution is. I think there is a MISSING PIECE. 
Possibly a better SHOWCASE of complete wikis so more people can directly 
see what can be done? Not sure?

Best wishes
Josiah

TonyM wrote:
>
> Perhaps you did not notice yet but on your comment;
>
> *So much discussion here is on "technical means" not "final aims/ends" I 
> think we in in danger of excluding some kinds of user who is looking at TW 
> to achieve exactly that issue about posterity.*
>
> I some ways this is my key focus,
>
 

-- 
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/0835b601-26b0-40c7-a61b-da63a62b39c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] A start on a theme for mobile devices (and yet another task list idea)

2017-10-15 Thread Jed Carty
It turns out that I like using this theme now. I cleaned it up a tiny bit 
and put it on GitHub here https://github.com/OokTech/TW5-MobileTheme

I will hopefully have a demo for the theme put up sometime that has it 
packaged nicely in a tiddlywiki style for the single page version.

-- 
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/a1415fbc-cfd8-4d70-ad42-be999555ee5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hosted Group Authoring?

2017-10-15 Thread @TiddlyTweeter

Noteself can do that. But in a *modest way* only at the moment. Its not yet 
able to reliably handle multiple simultaneous users without potential 
problems. That said its pretty robust and worth looking at as its the ONLY 
thing I know that out-of-the-box enables any kind of real simultaneous 
access.

Best wishes
Josiah

Ste Wilson wrote:
>
> I think NoteSelf let's you do that... 

-- 
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/81966b13-c891-4be7-9f85-c009db388845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki in the Sky supports Classic :)

2017-10-15 Thread Robert Edwards


Hi Arlen, 

Thanks for updating for TWC! However I'm getting the following error when I 
attempt to use it: 









On Friday, October 13, 2017 at 10:52:07 PM UTC-4, Arlen Beiler wrote:
>
> Good evening everyone,
>
> The new URL is: https://twcloud.github.io/dropbox/
>
> I've updated TiddlyWiki in the Sky using a new mechanism that allows me to 
> support both Classic and Five. The new mechanism generates a blob URL 
> containing the selected file and the code needed for saving. 
>
> Every link now contains an actual "permalink" containing both the app 
> access type and the file path, so you can now bookmark specific files in 
> your account for easy access. The permalink includes the account id to make 
> sure you don't accidentally open a file in the wrong account. 
>
> Right-click on the link to copy it or open it in a new tab. You can also 
> drag it into your bookmarks. If you open it in a new tab, the current 
> access token won't carry over, so you will still need to be logged into the 
> same Dropbox account, just as if you were using the link from 
> somewhere else. 
>
> Sorry, the icons are simply gone for now, but it should be pretty obvious 
> what's a folder and what's an HTML file. Also, it is kind of beta, but I 
> was testing it and worked out a few more bugs this evening, so I'm pretty 
> confident now that everything is working. 
>
> The old URL still works and uses the old loading mechanism, so if you run 
> into any trouble, that one will still be there. 
> https://twcloud.github.io/tw5-dropbox/
>
> As always, let me know if you run into any trouble. 
>
> The new URL is at the top of this email to avoid confusion :)
>
> Enjoy,
> Arlen
>

-- 
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/ad8af79d-d8e1-4737-993b-aaff9f13ecae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Hosted Group Authoring?

2017-10-15 Thread Ste Wilson
I think NoteSelf let's you do that... 

-- 
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/607e868e-1f5c-4ff7-87ff-b2122e694416%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.