[tw5] My new way of TODO-ing

2021-12-05 Thread Charlie Veniot
(Well, simple TODO-ing.  I just want reminders about stuff that I want to 
do at some point, without getting into due dates, started-or-not, etc. etc.)

With the beauty of transclusion template, and wee CSS,

This:  *(TODO:* blah blah*)*
Upon hover becomes this: *(TODO:* blah blah: Oh man, I really should look 
into such and such a thing about blah blah blah*)*

Well, currently Orange background and not particularly pretty.  Pretty is 
for later.  I'm all about function.

And the wikitext involved is:

{{blah blah:Oh man, I really should look into such and such a thing about 
blah blah blah||TODO}}

Download the attached and drag into TiddlyWiki.com

Check out the trickery in the CSS (just the .todo stuff; the keyword stuff 
is for something else I'm working on.)

Check out the "TODO" template tiddler.

Check out the "List of Tiddlers with TODO's" tiddler (nothing fancy, just 
enough to keep track what tiddlers have 1 or more TODO's.)

And the sample tiddler "Charlie's New Approach to TODO's"

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f605d8e7-313d-4b7c-bac5-b1b45eb8521cn%40googlegroups.com.


TODOing_ByCharlie.json
Description: application/json


[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Mat
Feeding in individual food items into TW is a tedious task. *IF* you intend 
to do this, may I recommend the NewTids macro 
.

<:-)

On Sunday, December 5, 2021 at 7:52:47 PM UTC+1 cj.v...@gmail.com wrote:

> There are loads of ridiculously adept TiddlyWiki folk who can help you out.
>
> I'll have to bail, because trying to help out with this kind of thing via 
> any forum is way too chaotic and disorganised for me to contribute towards 
> the development of good stuff.  (Information Systems/Business Analyst and 
> software developer I am, but I have a cognitive disability and quickly 
> become dysfunctional in this kind of environment.)
>
> I look forward to seeing the end-result, because what you have in mind is 
> an awesome use-case for TiddlyWiki.
>
> Cheers  and best regards!
> On Sunday, December 5, 2021 at 1:54:42 PM UTC-4 cassandr...@gmail.com 
> wrote:
>
>> Thank you all for your answer !
>>
>> @CJ : for the practical aspect of the grocery list, I already have a 
>> pretty good idea of the function I want as I'm already be using the book 
>> for quite some time. The serving doesn't need to be adapted.
>> Most ingredients are either in gram or in unity (for exemple, most of the 
>> vegetable is indicated as "two onions". Pasta or rice are indicated in 
>> gram).
>> I am confortable enough with the recipes and cooking in general to adapt 
>> which type (volume) of onion I need even if it's roughly indicated I need 4 
>> onions.
>> The biggest problem for me right now is the programming part as I have no 
>> education in the matter unfortunately haha.
>>
>> @Télumire : thank for the proceding, I did understand the reasoning but 
>> I'm having troubles for implementing it.
>> As said just now, I don't have a good programming knowledge and I think 
>> the most I knew where how to print the famous HelloWorld haha.
>> For now, I did create the  data tiddler for all recipes of week 1.  I did 
>> implement a simple multiple select but with no function in it because I 
>> can't write it.
>>
>> From what I understand in the pure logic form (correct me if I'm wrong) : 
>> I need to write a formula which will take into account which data tiddler 
>> I selected in the multiple select. With selected data tiddlers, I will need 
>> to show the name property with the index value associated (which I need to 
>> get with getindex). In case there are multiples same named property, I need 
>> to use the function SUM.
>>
>> One big obstacle for me is how to use operator in Tiddlywiki. Just 
>> copy-pasting the formula doesn't seem to work because I guess I need to put 
>> something to tell Tiddler that what I'm writing is a formula. Until now, 
>> using the bracet [] for simple list were enough. I think I don't know the 
>> basic of the basic to implement formula in my tiddler. 
>> Do you have a good ressource to learn from ? I saw TW page for developper 
>> but I don't know if it's adapted. Ressources with already written formula 
>> from which I can inspire myself is a big help too ^^ (for example, a 
>> pratical use of the getindex in action and not in the example of the TW. If 
>> not, it's okay !).
>>
>> I am not in hurry, it's more of a fun side project so learning it to do 
>> it myself could be benefical in the long term if I want to use Tiddlywiki 
>> more ^^ !
>>
>> Le dimanche 5 décembre 2021 à 00:00:18 UTC+1, Álvaro a écrit :
>>
>>>
>>> As they said, you have to think about how save the ingredients of the 
>>> recipe in the tiddler, you can use the index of a data tiddler for recipe 
>>> or simply the field of a tiddler for recipe. 
>>>
>>> Then you would need to use the filters  
>>> and their operators. You will need to retrieve the data for your grocery 
>>> list.
>>> El sábado, 4 de diciembre de 2021 a las 23:37:47 UTC+1, 
>>> cj.v...@gmail.com escribió:
>>>
 Example of something to keep in mind: if a recipe calls for 100grams of 
 onion, you'll want to convert that into something useful for grocery 
 shopping.

 Probably good to instead talk about a measure of an onion for 
 groceries.  You won't be buying a 100 g onion, so you'll want to have 1 
 onion, regardless of size and know you'll have left-over onion for your 
 omelette the next day.  Because you need about 1/4 of a small onion, or 
 whatever  of a big onion.

 But if you need an amount of grams o' onion that requires a large 
 onion, then you'll want a way to say a large onion.  Or two small onions.  
 Or whatever.  Knowing you'll be doing a little bit of rough math at the 
 grocery store.

 Your grocery list will get messy if you have 1 small onion and 1 large 
 onion when the onions are in a bag.

 All of that to say, don't be to quick to start building everything in 
 TW until you can visualize (spreadsheet or whatever) get a somewhat 
 reasonable amount of "stuff" for the big picture.


[tw5] BASIC Anywhere Machine: Programming Reference started, etc.

2021-12-05 Thread Charlie Veniot
G'day,

I've just-just started putting together a wwwBasic Programming Reference 
(with TiddlyWiki, of course), which you'll find on this page at the BASIC 
Anywhere Machine website 

.

Of eventual interest to BASIC fans, and maybe of on-going interest for 
TiddlyWiki fans and for folk interested in "process" (transitions from A-Z.)

Like pretty much anything I do: no plan, no structure.  This 
"intertwingularity mapping" process of mine is all about organic, 
evolutionary, iterative, incremental.  Structural needs will become obvious 
as the necessary bits of 
information/knowledge/content/documentation/whatever become clear.

A bit like a wood-worker who lets the wood tell her/him what it wants to 
be, I'm kind of letting the project tell me what it wants to be and what it 
needs to get there.

I will be setting up a related Google Group for wwwBasic Programming.  
Should this BASIC Anywhere Machine project gain any interest, good to have 
a spot to discuss the Programming Reference and all things wwwBasic 
programming (au natural and augmented by TiddlyWiki!)

Combination of Programming Reference and related Google Group will be much 
like the "News" page 
 (just showing the 
related blog) paired with the "News Conversations" 
 
Google Group.

All of this a much more practical and fun exploration of what I have in 
mind re "Portals" (content / information / knowledge / documentation 
management,  design and worflows of everything.)   "TiddlyWiki Portal 
" exploration is still on 
the radar, but for lack of general interest that's like beating a dead 
horse.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5f9e40fb-daf8-455c-b3ad-51b90dc0e1f2n%40googlegroups.com.


[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Charlie Veniot
There are loads of ridiculously adept TiddlyWiki folk who can help you out.

I'll have to bail, because trying to help out with this kind of thing via 
any forum is way too chaotic and disorganised for me to contribute towards 
the development of good stuff.  (Information Systems/Business Analyst and 
software developer I am, but I have a cognitive disability and quickly 
become dysfunctional in this kind of environment.)

I look forward to seeing the end-result, because what you have in mind is 
an awesome use-case for TiddlyWiki.

Cheers  and best regards!
On Sunday, December 5, 2021 at 1:54:42 PM UTC-4 cassandr...@gmail.com wrote:

> Thank you all for your answer !
>
> @CJ : for the practical aspect of the grocery list, I already have a 
> pretty good idea of the function I want as I'm already be using the book 
> for quite some time. The serving doesn't need to be adapted.
> Most ingredients are either in gram or in unity (for exemple, most of the 
> vegetable is indicated as "two onions". Pasta or rice are indicated in 
> gram).
> I am confortable enough with the recipes and cooking in general to adapt 
> which type (volume) of onion I need even if it's roughly indicated I need 4 
> onions.
> The biggest problem for me right now is the programming part as I have no 
> education in the matter unfortunately haha.
>
> @Télumire : thank for the proceding, I did understand the reasoning but 
> I'm having troubles for implementing it.
> As said just now, I don't have a good programming knowledge and I think 
> the most I knew where how to print the famous HelloWorld haha.
> For now, I did create the  data tiddler for all recipes of week 1.  I did 
> implement a simple multiple select but with no function in it because I 
> can't write it.
>
> From what I understand in the pure logic form (correct me if I'm wrong) : 
> I need to write a formula which will take into account which data tiddler 
> I selected in the multiple select. With selected data tiddlers, I will need 
> to show the name property with the index value associated (which I need to 
> get with getindex). In case there are multiples same named property, I need 
> to use the function SUM.
>
> One big obstacle for me is how to use operator in Tiddlywiki. Just 
> copy-pasting the formula doesn't seem to work because I guess I need to put 
> something to tell Tiddler that what I'm writing is a formula. Until now, 
> using the bracet [] for simple list were enough. I think I don't know the 
> basic of the basic to implement formula in my tiddler. 
> Do you have a good ressource to learn from ? I saw TW page for developper 
> but I don't know if it's adapted. Ressources with already written formula 
> from which I can inspire myself is a big help too ^^ (for example, a 
> pratical use of the getindex in action and not in the example of the TW. If 
> not, it's okay !).
>
> I am not in hurry, it's more of a fun side project so learning it to do it 
> myself could be benefical in the long term if I want to use Tiddlywiki more 
> ^^ !
>
> Le dimanche 5 décembre 2021 à 00:00:18 UTC+1, Álvaro a écrit :
>
>>
>> As they said, you have to think about how save the ingredients of the 
>> recipe in the tiddler, you can use the index of a data tiddler for recipe 
>> or simply the field of a tiddler for recipe. 
>>
>> Then you would need to use the filters  
>> and their operators. You will need to retrieve the data for your grocery 
>> list.
>> El sábado, 4 de diciembre de 2021 a las 23:37:47 UTC+1, cj.v...@gmail.com 
>> escribió:
>>
>>> Example of something to keep in mind: if a recipe calls for 100grams of 
>>> onion, you'll want to convert that into something useful for grocery 
>>> shopping.
>>>
>>> Probably good to instead talk about a measure of an onion for 
>>> groceries.  You won't be buying a 100 g onion, so you'll want to have 1 
>>> onion, regardless of size and know you'll have left-over onion for your 
>>> omelette the next day.  Because you need about 1/4 of a small onion, or 
>>> whatever  of a big onion.
>>>
>>> But if you need an amount of grams o' onion that requires a large onion, 
>>> then you'll want a way to say a large onion.  Or two small onions.  Or 
>>> whatever.  Knowing you'll be doing a little bit of rough math at the 
>>> grocery store.
>>>
>>> Your grocery list will get messy if you have 1 small onion and 1 large 
>>> onion when the onions are in a bag.
>>>
>>> All of that to say, don't be to quick to start building everything in TW 
>>> until you can visualize (spreadsheet or whatever) get a somewhat reasonable 
>>> amount of "stuff" for the big picture.
>>>
>>> This process will help you decide to what degree of complex you want, 
>>> and how/what/where to simplify when you don't want to get that bogged down 
>>> in complexity, yadda yadda.
>>>
>>> On Saturday, December 4, 2021 at 6:17:49 PM UTC-4 Télumire wrote:
>>>
 You could do it like this : 

 Create a data tiddler for a recipe 

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Cass P
Thank you all for your answer !

@CJ : for the practical aspect of the grocery list, I already have a pretty 
good idea of the function I want as I'm already be using the book for quite 
some time. The serving doesn't need to be adapted.
Most ingredients are either in gram or in unity (for exemple, most of the 
vegetable is indicated as "two onions". Pasta or rice are indicated in 
gram).
I am confortable enough with the recipes and cooking in general to adapt 
which type (volume) of onion I need even if it's roughly indicated I need 4 
onions.
The biggest problem for me right now is the programming part as I have no 
education in the matter unfortunately haha.

@Télumire : thank for the proceding, I did understand the reasoning but I'm 
having troubles for implementing it.
As said just now, I don't have a good programming knowledge and I think the 
most I knew where how to print the famous HelloWorld haha.
For now, I did create the  data tiddler for all recipes of week 1.  I did 
implement a simple multiple select but with no function in it because I 
can't write it.

>From what I understand in the pure logic form (correct me if I'm wrong) : 
I need to write a formula which will take into account which data tiddler I 
selected in the multiple select. With selected data tiddlers, I will need 
to show the name property with the index value associated (which I need to 
get with getindex). In case there are multiples same named property, I need 
to use the function SUM.

One big obstacle for me is how to use operator in Tiddlywiki. Just 
copy-pasting the formula doesn't seem to work because I guess I need to put 
something to tell Tiddler that what I'm writing is a formula. Until now, 
using the bracet [] for simple list were enough. I think I don't know the 
basic of the basic to implement formula in my tiddler. 
Do you have a good ressource to learn from ? I saw TW page for developper 
but I don't know if it's adapted. Ressources with already written formula 
from which I can inspire myself is a big help too ^^ (for example, a 
pratical use of the getindex in action and not in the example of the TW. If 
not, it's okay !).

I am not in hurry, it's more of a fun side project so learning it to do it 
myself could be benefical in the long term if I want to use Tiddlywiki more 
^^ !

Le dimanche 5 décembre 2021 à 00:00:18 UTC+1, Álvaro a écrit :

>
> As they said, you have to think about how save the ingredients of the 
> recipe in the tiddler, you can use the index of a data tiddler for recipe 
> or simply the field of a tiddler for recipe. 
>
> Then you would need to use the filters  
> and their operators. You will need to retrieve the data for your grocery 
> list.
> El sábado, 4 de diciembre de 2021 a las 23:37:47 UTC+1, cj.v...@gmail.com 
> escribió:
>
>> Example of something to keep in mind: if a recipe calls for 100grams of 
>> onion, you'll want to convert that into something useful for grocery 
>> shopping.
>>
>> Probably good to instead talk about a measure of an onion for groceries.  
>> You won't be buying a 100 g onion, so you'll want to have 1 onion, 
>> regardless of size and know you'll have left-over onion for your omelette 
>> the next day.  Because you need about 1/4 of a small onion, or whatever  of 
>> a big onion.
>>
>> But if you need an amount of grams o' onion that requires a large onion, 
>> then you'll want a way to say a large onion.  Or two small onions.  Or 
>> whatever.  Knowing you'll be doing a little bit of rough math at the 
>> grocery store.
>>
>> Your grocery list will get messy if you have 1 small onion and 1 large 
>> onion when the onions are in a bag.
>>
>> All of that to say, don't be to quick to start building everything in TW 
>> until you can visualize (spreadsheet or whatever) get a somewhat reasonable 
>> amount of "stuff" for the big picture.
>>
>> This process will help you decide to what degree of complex you want, and 
>> how/what/where to simplify when you don't want to get that bogged down in 
>> complexity, yadda yadda.
>>
>> On Saturday, December 4, 2021 at 6:17:49 PM UTC-4 Télumire wrote:
>>
>>> You could do it like this : 
>>>
>>> Create a data tiddler for a recipe with a quantity associated to each 
>>> ingredient. To make things easier the unit will be hardcoded in grams (or 
>>> whatever you like, but always the same).
>>>
>>> Then you can select your recipe for the week with a select widget for 
>>> example (https://tiddlywiki.com/#SelectWidget), use the data of the 
>>> widget in a list widget (https://tiddlywiki.com/#ListWidget) which will 
>>> sum the values of each unique index accross the data-tiddlers you selected.
>>>
>>> I think you will need the count Operator (
>>> https://tiddlywiki.com/#count%20Operator),  getindex Operator (
>>> https://tiddlywiki.com/#getindex%20Operator),  sum Operator  (
>>> https://tiddlywiki.com/#sum%20Operator). Good luck and let me know if 
>>> you need help to understand something