I suppose I am a "Excel/Sheets nerd with Opinions",

Also in addition to Excel a SharePoint user/developer I like implementing 
structures on top of Tiddlywiki we find elsewhere, such as hierarchies 
(one, two or multiple parents), Queues, Networks etc... because once you 
have a method it is easy to capture, analyse and use data structured that 
way in tiddlywiki.

I am very interested in "Multidimensional" arrays. Most people can 
conceptualise multidimensional arrays as row column spreadsheets with 
alternative sort orders and column orders (easy to achieve in SharePoint 
Views). Tiddlers can be rows (with fields) or cells or contain lists.

If we have a complete set of tools to interrogate tiddlywiki there seems to 
me to be no structure in the universe we cant represent.

Regards
Tony


On Saturday, 16 December 2017 05:16:31 UTC+11, Evan Balster wrote:
>
> Hey, Mat —
>
> So there is an Array datatype in the plugin now, but filter runs are the 
> only way to create one.  TiddlyWiki's filters are (in my mind) the most 
> natural analog to "cell ranges" in spreadsheet software, so this does make 
> some sense for the record.  That said, there's a strong case for adding 
> some other ways to define arrays, like an ARRAY(a, b, c) function...  It's 
> also natural that there should be more functions dealing with arrays moving 
> forward, as the only thing you can do with them right now is compute a sum!
>
> (Excel/Sheets nerds with Opinions, please chime in.)
>
> Some related functions I've been thinking about include a <$for x="0,100"> 
> widget to make it easier to iterate over a series of numbers.  (I was also 
> thinking about how useful it would be to have a timer widget, which either 
> fires events at an interval or advances a state tiddler's numeric value 
> over a period of time...  This would be sufficient to implement animations, 
> simulations and self-organizing maps.)
>
>
> As a conversation piece, here's a quick experiment in SVG animation I did 
> on my tablet last night:
>
> <$tiddler tiddler="$:/temp/SvgSlider">
> <$edit-text tag=Input field=val type=range class=longslider/>
>
>
> <svg viewBox="-100 -100 200 200" width=400 height=400>
> <circle cx=0 cy=0 r=<<formula "100*{{!!val}}%">> style="fill:black;"/>
> <circle cx=0 cy=0 r=<<formula "100*{{!!val}}%^3">> style="fill:red;"/>
> <circle cx=0 cy=0 r=<<formula "100*{{!!val}}%^4">> style="fill:white;"/>
> <$list filter=".1 .2 .3 .4 .5 .6 .7 .8 .9 1" variable=rad>
> <$list filter="0 1 2 3 4 5 6 7 8" variable=ori>
> <circle
>   cx=<<formula "<<rad>>*100*{{!!val}}%^1.2*sin(pi*<<ori>
> >/4.5+{{!!val}}*.08+<<rad>>)">>
>   cy=<<formula "<<rad>>*100*{{!!val}}%^1.2*cos(pi*<<ori>
> >/4.5+{{!!val}}*.06+<<rad>>+.5)">>
>   r=<<formula "5*{{!!val}}%^1.5">> style="fill:white;"/>
> </$list>
> </$list>
> </svg>
>
>
> </$tiddler>
>
>
> On Friday, 15 December 2017 11:43:28 UTC-6, Mat wrote:
>>
>> @Evan, as noted; fantastic stuff!!! It's like you've collected several of 
>> the things people have desired for for several years and solved it in one 
>> big Ka-Boom!
>>
>> One that that would be very useful are arrays. It seems Formulas almost 
>> features this with the *filter output* and e.g the *choose* function 
>> (more?). TBH, it's not the math aspect I'm personally interested in but 
>> just that I think it would be easier to work with arrays than with lists as 
>> they are currently implemented in TW. (As I write this, it sparks an 
>> idea... that is probably not relevant for your project, but anyway; 
>> analogous to the ListWidget, an ArrayWidget.)
>>
>> Thoughts on arrays?
>>
>> <:-)
>>
>

-- 
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/34b2692c-8263-4724-b0e3-d3f8faada19b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to