#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>`
#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.
#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.
#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.
#DailyBloggingChallenge (329/365)
This approach sounds quite good on paper, but #paypal carts don't work so simplistically.
Although this might sound like a headache initially, in the long run it is quite beneficial.
The paypal cart or form has a couple values which are important.
The main one is the form id. This exists in either case of purchasing an item from a single button or from a dropdown.
In the case of a dropdown selection, then the keys and values of the table cells are important.
#DailyBloggingChallenge (328/365)
The initial partial that is created is a button for #paypal.
This is done by saving a `paypal` param in the meta data of the article and then injected as an anchor tag onto the button.
The styling of the button is saved in a custom header partial that the theme provides.
#DailyBloggingChallenge (327/365)
To inject custom #HTML in #hugo, one will either need to activate it in the config
```
[markup.goldmark.renderer]
unsafe = true
```
or pipe the string with `safeHTML`.
#DailyBloggingChallenge (326/365)
Do your #teeth hurt after drinking #CarbonatedDrink like #soda, #pop, #EnergyDrink or caffeinated ones like #BlackTea or #coffee?
Just use a straw!
This will help the liquid skip the teeth and/or reduce the time spent in the mouth.
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