Hey Evan,

Im more and more impressed with this plugin, the more I use it. If anyone 
has some time and has already come up with cool examples, can you share? 
Also, Im interested in answering each of Tony's points from his earlier 
question:

Evan,
> Please forgive my Ignorance; What can a and b be equal to in Formulas' 
> logical functions, like IF and IFS?
> I am thinking if something evaluates to true how do I use this to
>    
>    - list
>
>
>    - transclude
>
>
>    - Use macro
>
>
>    - Show some text etc...
>
>
>    - Set a variable/field
>
>
> I imagine there is a way to write a list filter if a formula it true to 
> show when true (or False) etc...
> I expect knowing this may help the less sophisticated users (still me at 
> this point) make use of formula.
> Thanks in Advance
> Tony



with specific examples. If anyone has any that would be great! 

Best,
Diego



On Wednesday, December 20, 2017 at 9:40:21 PM UTC-6, Evan Balster wrote:
>
> Hey, Tony —
>
> I'm aware of the ordinary "de-duplication" behavior.  In this case, it was 
> happening even with filter operators that would normally allow duplication, 
> like "get".  This was because of a poorly-implemented optimization I'd 
> written to reduce compilation overhead during filter processing.  Behavior 
> is now consistent with typical filter operations.
>
> The unusual behavior of TiddlyWiki's "get" operator is pretty important if 
> you're doing something like summing up a bunch of "quantity" fields where 
> many hold values like 1 or 2.
>
> On Wednesday, 20 December 2017 21:17:40 UTC-6, TonyM wrote:
>>
>> Evan,
>>
>> What you considered a Bug is a feature, because Titles are unique in 
>> TiddlyWiki so if you have two of the same name appear such as in when 
>> Tagged A, or B Or A and B we want the list of titles to be "de-duplicated", 
>> Of course when you use filters from non title sources we do not want this 
>> occurring. As you found.
>>
>> How did you address this? (details not necessary), I presume its only in 
>> formulae and not when you are filtering titles?
>>
>> Best wishes
>> Tony
>>
>> On Thursday, 21 December 2017 14:05:37 UTC+11, Evan Balster wrote:
>>>
>>> *Formulas version 0.1.5*:  
>>> https://evanbalster.com/tiddlywiki/formulas.html
>>> GitHub & issue tracking:  
>>> https://github.com/EvanBalster/TiddlyWikiFormula
>>>
>>>    - Duplicate values in filters are now handled correctly.
>>>
>>>
>>> On Wednesday, 20 December 2017 20:04:57 UTC-6, Evan Balster wrote:
>>>>
>>>> *General warning*:  There is a bug in filter processing that prevents 
>>>> filters in formulas from returning duplicate values.  This is likely to 
>>>> cause trouble with formulas like sum([tag[Expense]get[value]]) if two 
>>>> Expenses have the same value.
>>>>
>>>> This bug appears to have existed since the first release.
>>>>
>>>> I've got an incentive to fix this one quickly, so I might be patching 
>>>> this tonight.
>>>>
>>>> On Wednesday, 20 December 2017 19:53:59 UTC-6, Evan Balster wrote:
>>>>>
>>>>> Hey, TonyM —
>>>>>
>>>>> Are you formatting a lot of dates using the year/month/day functions?  
>>>>> If so, you'll probably have better luck with the text conversion function 
>>>>> T() and setting a dateFormat.  See the documentation for the 
>>>>> FormulaWidget 
>>>>> for more information on date format strings (which use the same rules as 
>>>>> in 
>>>>> TiddlyWiki's settings).
>>>>>
>>>>> On Wednesday, 20 December 2017 19:31:53 UTC-6, TonyM wrote:
>>>>>>
>>>>>> Evan,
>>>>>>
>>>>>> Once again for you great work. I have started playing with the date 
>>>>>> related functions and finding it a little complex using Make a date 
>>>>>> from a TiddlyWiki timestamp and return.
>>>>>>
>>>>>> Is there any way to make this more direct or can you suggest a 
>>>>>> pattern to follow if all my dates are TiddlyWiki timestamps?
>>>>>>
>>>>>> PS I have many dates in one tiddler so it get unwieldy.
>>>>>>
>>>>>> Thanks in advance
>>>>>> Tony
>>>>>>
>>>>>>
>>>>>> On Thursday, 21 December 2017 11:31:49 UTC+11, Evan Balster wrote:
>>>>>>>
>>>>>>> *Formulas version 0.1.4*:  
>>>>>>> https://evanbalster.com/tiddlywiki/formulas.html
>>>>>>> GitHub & issue tracking:  
>>>>>>> https://github.com/EvanBalster/TiddlyWikiFormula
>>>>>>>
>>>>>>>    - Add text conversion functions:
>>>>>>>       - t, value, textjoin
>>>>>>>    - Add text utility functions:
>>>>>>>       - len, exact, mid, substitute, split, trim
>>>>>>>    - Add regular expression functions:
>>>>>>>       - regexreplace, regexmatch, regexextract, regexextract1.
>>>>>>>    - Add julian day / date conversion functions:
>>>>>>>       - julian, to_julian
>>>>>>>    - Fix off-by-one error in month function
>>>>>>>    - Fix error in if function, disable if function pending support 
>>>>>>>    for more powerful function construction
>>>>>>>    - Fix errors in count and counta functions.
>>>>>>>    - Code cleanup
>>>>>>>
>>>>>>> New features are documented in the wiki.
>>>>>>>
>>>>>>> The strings and regex work were driven by my own needs with a data 
>>>>>>> archiving project.
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, 20 December 2017 10:18:20 UTC-6, @TiddlyTweeter wrote:
>>>>>>>>
>>>>>>>> Dear Evan
>>>>>>>>
>>>>>>>> Thank you for adding that simple demo. It really helped me better 
>>>>>>>> understand how to use the plugin and make steps towards what I need!!
>>>>>>>>
>>>>>>>> Best wishes
>>>>>>>> Josiah
>>>>>>>>
>>>>>>>> Evan Balster wrote:
>>>>>>>>>
>>>>>>>>> Released version 0.1.2:  
>>>>>>>>> http://evanbalster.com/tiddlywiki/formulas.html
>>>>>>>>> ...
>>>>>>>>> * Added badger inoculation simulator 
>>>>>>>>> <http://evanbalster.com/tiddlywiki/formulas.html#Demo%3A%20Tabulator> 
>>>>>>>>> for @TiddlyTweeter (still lacks month automation, though)
>>>>>>>>>
>>>>>>>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/f436bf24-bc88-449a-806a-a81c88686db3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to