#DailyBloggingChallenge (341/365)
The question now is how to build the partial. Since #Hugo is a static site generator that focuses on using static elements like raw #HTML and #CSS, one quickly realizes the options to continue further are not many.
One could try to use the CSS `option:checked` property and other pseudo classes within the `<option>` HTML tag to turn on and off the various choices within the array. Though this becomes quite difficult to reference items outside of the `<option>` tag and can make the whole thing an UX nightmare.
#DailyBloggingChallenge (340/365)
Now we will create a partial called `paypal-button.html` within the `layouts/partials/` directory. We want to call this partial like
`{{ partial "paypal-button" (dict "paypal" .Params.paypal "items" .Params.paypalItems "headName" .Params.paypalHeadName "headValue" .Params.paypalHeadValue) }}`
within a list template (either the default or another partial).
#DailyBloggingChallenge (339/365)
Through the abstraction of these variables and using the power of an array in the meta of #Hugo as #toml, one can create an item like in the image.
The array in this example is called `paypalItems` and each element has the properties: `name, value, image`. Further properties of the meta are `paypal` as the `<PAYPAL_TOKEN>`, `price` should align with the price within the #paypal cart, `paypalHeadName` as `<PAYPAL_INIT_REFERENCE>`
paypalHeadValue as `<PAYPAL_INIT_VALUE>`.
Of course one could optimize the code somewhat by removing the variables that have `INIT_(VALUE|NAME)` within them and replacing them by the first item `1_(VALUE|NAME)`. And replacing `<PAYPAL_INIT_REFERENCE>` with `on0`.
#DailyBloggingChallenge (338/365)
The #HTML code from #PayPal looks like the image with these variables:
- `<PAYPAL_TOKEN>` is the main PayPal hook, so it knows how to update the store relative to all further actions taken within the form
- `<PAYPAL_INIT_REFERENCE>` usually as `on0`
- `<PAYPAL_INIT_VALUE>` is usually equivalent to `<PAYPAL_ITEM_1_VALUE>`
- `<PAYPAL_INIT_NAME>` is usually equivalent to `<PAYPAL_ITEM_1_NAME>`
- `<PAYPAL_ITEM_1_NAME>` is usually equal to `<PAYPAL_ITEM_1_VALUE>`
- `<PAYPAL_ITEM_2_NAME>` is usually equal to `<PAYPAL_ITEM_2_VALUE>`
This is a tricky ask, since each person has their preferred way of leading. That being said, as long as one does not stay as a consumer (R1) and creates multiple information pipelines, there is not much more one can do.
One could argue finding a better peer group that has this topic as their core principle, though I would argue, that through the creation of multiple information pipelines, one of these pipelines are most likely to sway oneself towards such a peer group.
References:
#DailyBloggingChallenge (337/365)
Another example is the genre of memes.
Most individuals just consume memes. Some individuals send memes to their peers, thus making them dealers. Some further individuals harvest memes or other funny texts from one platform like the Fediverse and share them to another platform like Signal, thus making them harvesters. And the least, actually create a new meme, either an original or a remix, thus making them producers.
#DailyBloggingChallenge (336/365)
These categories are not strict to any one individual and each individual can be of any of these categories at any time.
E.g. one reads an interesting article and shares it with one's peers over DMs, then one is a dealer. If instead one just bookmarks the article, then one is a harvester. And if one reads it with no further action, then one is a consumer. If one wrote the article, then one is a producer.
#DailyBloggingChallenge (335/365)
Most people fall into the consumer category and the further up one goes through the list, the less amount of people one will find.
The consumer is an individual who only intakes the information.
The dealer is an individual who intakes the information and actively shares it with other individuals.
The harvester is an individual who takes information from one source and transfers it to another source. In comparison to dealers, they do a one-to-many sharing action over a one-to-one sharing action.
The producer creates new information.
#DailyBloggingChallenge (334/365)
While observing most genres of information exchange, one can categorize the individuals who partake into four categories:
1. Producer
2. Harvester
3. Dealer
4. Consumer
Preface: this is a snapshot from a much longer and deeper discussion.
Source (S0): https://qoto.org/@freeschool/112707539690959633
Original:
> There is this tendency of taking technological luxuries as granted and then hypocritically saying that life would be so much better if xyz didn’t exist. Only the minority of people are taking the leap to simplify their lives to a more slow pace way of living. -- @barefootstache
Source (S1): https://qoto.org/@barefootstache/112718902021594632
Response:
> “Only the Minority” <– not sure what you mean, I’d assume those that don’t know / don’t care / like / ignore candy rotting teeth won’t choose better and expect dentist to fix rotten teeth beyond repair (like nature will become or micro-plastics for soil in my garden that surprisingly might not grow much… and getting into our bodies already like the bird in all oceans swallowing objects or water itself as micro-plastics). -- @freeschool
Source (S2): https://qoto.org/@freeschool/112719262617301444
---
"Only the minority" as stated in "Only the minority of people are taking the leap to simplify their lives to a more slow pace way of living." means that not many people are quitting the fast pace life that technological advances provide and moving to more slow pace lifestyle like on a homestead.
It could be that people do not know that there is a slow paced option and/or do not know the harms that come out of a fast pace lifestyle. Thus, those of us who have achieved harmony among the two lifestyles should at least lead by example.
A great talk from Meredith Whittaker on the history and problems of #AI.
She explains that #ArtificialIntelligence is a marketing term and the product only works due to #surveillance and #cloud infrastructure provided by #BigTech.
https://www.helmut-schmidt.de/aktuelles/detail/die-rede-der-zukunftspreistraegerin
(only the title is in German, the rest is in English)
Was just laughing thinking about my grandmother. She rarely left her house, but had "telephone friends" as she called them. They never left their respective houses, they never hung out or did anything together...just talked to each other on the phone.
We lived in rural Texas. We had a party line phone.
I laugh because I ALSO have "phone friends". I talk to you all...on my phone. We don't hang out or do anything together.
Lmao. The more things change...the more they stay the same.
A friend shared a link to an #Instagram post. I do not have an Instagram account. Instagram now appears to just redirect to a random popular post. I navigated to her link six times and got five different unrelated posts.
If you're a creative or a business, I am begging you, please just post everything to a damned blog or something so your customers can find it without having to join an invasive third-party service. At least, open a private tab and see how much of your social media effort is even visible.
These platforms are holding your next tour date, or your sale on used records, or your exciting Sunday brunch special hostage for their profit.
The HTTP status 500 is a known issue, which is causing subideal experience across qoto. A solution is being worked on.
Activity and Jobs to people? + Boy and Toys? (AI like Cars but dirty underneath)
There is a lot to dissolve or explain here. Thus I am going to open up new threads for each of your points made.
#DailyBloggingChallenge (333/365)
These recordings then would be transformed to text using #SpeechToText. That way the private information can be removed without spending too much time editing the audio files directly.
Further, additional information can be easily added. This would then be converted back to audio using #TextToSpeech. Before being finally published on #FunkWhale.
#DailyBloggingChallenge (332/365)
The main way that I evaluate #books specifically #AudioBooks is by taking a #VoiceRecording after each chapter, section, or idea.
I have noticed that with #NonFiction books, I can easily listen to them at twice the speed. On the other hand, #fiction books need to be listened to at normal speed.
#DailyBloggingChallenge (331/365)
The idea that
> people might enjoy listening to a #podcast like approach of evaluating various #books
has been brought upon me.
To keep everything in the #Fediverse with the power of #ActivityPub the goal is to publish the content onto #FunkWhale.
Actuvity and Job to people + Boy and Toys (AI / Cars but dirty underneath)
There is this tendency of taking technological luxuries as granted and then hypocritically saying that life would be so much better if xyz didn't exist. Only the minority of people are taking the leap to simplify their lives to a more slow pace way of living.
Considering that we are using one of these technological advances and then being frustrated that asynchronous communication is not happening fast enough is just ironic (hint hint ;P).
If a technology will be good or bad; only time will tell. Some technologies like NFT might have been just too early for release, similar to how the Google Glass was way ahead of its time.
Life without AI is still currently possible and most professions won't even need it to be performant. There is only a small fraction of professions that can be more performant using AI and most of them coincide in the STEM field.
Asking anyone in the STEM field who has started using AI to stop, is like going back a decade or two and asking them to stop use a search engine. Sure, one could have (back then) gone to the library, skim read through multiple books to find that one piece of information, but realistically speaking, why!?
Any technological shift can be daunting in the beginning, though as long as it creates more independence and variety in the long run, I welcome it over shunning it out.
It is true that each new technology carries its dark side with it and it should not be avoided and/or ignored.
The current two dark sides of AI that I see: 1. the amount of hardware and/or energy it costs to create AI models, and 2. assimilating AI with an all-knowing being or the only point of truth.
As long as one is informed with the faults of a technology, I don't see any reason why not to use it as long as it follows one's own moral compass.
#DailyBloggingChallenge (330/365)
Now that these factors are known, one gets start building the params' structure. The easiest is to have a param for the form id and an array of items for the store catalogue.
Each item of the array has a key, a value, and a image.
Further one can setup special params for the other table variables, though from brief comparison over three separate forms, they seem to stay constant.
I am a strong proponent of leaving this planet better behind than when I arrived on it. Thus to get the most bang for a lifetime my key focus is #longevity which I attempt to achieve with #nutrition specifically #plantbased.
Longevity is good and all as long as you are not frail and weak. Ideally would be to die young at an old age. Thus I incorporate tactics from #biohacking and #primalfitness. Additionally I am an advocate of #wildcrafting, which is a super set of #herbalism.
Studied many fields of science like maths or statistics, though the constant was always computer science.
Currently working as a fullstack web developer, though prefer to call myself a #SoftwareCrafter.
The goal of my side projects is to practice #GreenDevelopement meaning to create mainly static websites. The way the internet was intended to be.
On the artistic side, to dub all content under the Creative Commons license. Thereby, ideally, only using tools and resources that are #FLOSS #OpenSource. #nobot