Espresso Code: Italian Dev Insights

Insights and guides from an Italian passionate developer

A.I. – Artificial Intelligence and Discrimination

“How can I help you today?” – These are the words of one of the best-known Artificial Intelligences; in fact, few people have never read them and never tried asking it questions.

But what is an AI? What is it capable of doing? Is it impartial, being a machine?

From the first artificial neuron to Big Data

The first step in this field was taken more than 80 years ago, contrary to what one might imagine. It was a neurophysiologist and a logician, Warren McCulloch and Walter Pitts, who proposed the first model in 1943, built by trying to imitate a biological neuron. Since then, efforts have been made to refine the imitation, but the basic model has always remained the same.

But why is it only in recent years that artificial intelligence has captured so much media attention, on everyone’s lips, from governments trying to keep pace in order to regulate it, to companies looking for talent to be able to implement it, to ordinary people who use it widely instead of the more traditional search engines?

The reason why the time is ripe only now comes down to two factors: Big Data and the enormous computing power we now have thanks to technological progress.

Big Data is a vast set of data, which may or may not be structured, and it is only since the advent of the internet that people have begun to write enormous amounts of text and to generate an inconceivable mass of content such as images and videos: just consider that more than 500 hours of video are uploaded to YouTube every minute1.

The human brain and artificial intelligence

Just as a child begins to speak by imitating their parents, who day after day, tirelessly, talk to them and care for them, so too is this tool the result of the “training data” it repeatedly comes into contact with.

But however useful this metaphor may be, we have not yet reached an artificial intelligence as sophisticated as the cognitive abilities of a human being. In fact, the activation functions, the neural structure, the efficiency of operations, the capacity to adapt and the plasticity of the whole are very far from being able to imitate a biological organism.

Biological synapses are much more than simple connections: they are complex structures involved in transmitting, processing and modifying signals. Their strength and behavior change dynamically, contributing to learning, memory and other complex brain functions2.

The parameters of artificial intelligence are mathematical values within a model, adjusted during the learning process. Artificial intelligence models have difficulty reasoning and thinking critically. They are not able to form their own opinions, analyze situations from different points of view or learn from experience in the same way a human brain does. They can analyze enormous amounts of text and generate human-like text by identifying patterns and statistical relationships between words. However, they do not intrinsically understand the meaning of the words they use. In fact, an LLM (Large Language Model) analyzes a very large body of text to predict which word is most likely to follow a sequence of words already written. It considers several factors, such as co-occurrence, that is, how often two words (n-grams) appear together, their syntactic and grammatical role, etc. Although governed by sophisticated processes, it is a purely statistical choice: the model assigns a probability to each different word and usually chooses among the most probable ones according to the patterns it was trained on.

The quality of an AI is closely tied to that of its training data.

Applications and hallucinations

Neural networks can be applied in different sectors and can specialize in different functions:

  • we have talked about text generation, but they can also generate pieces of music and images;
  • they can predict an event and tell us how likely it is to occur, such as the efficacy of a drug or its side effects;
  • they can analyze determining factors, extracting and generating value from data;
  • they are capable of recognizing patterns, highlighting anomalies or understanding a consumer.

They have very broad, many-sided capabilities, but this does not make them immune to errors such as “hallucinations.”

We speak of hallucination when a model generates content that makes no sense or, worse, seems to make sense but is false and not supported by any logical or scientific basis. The more versatile an AI is and the more capable it is of handling different topics, the more insidious the hallucination3. Faithfulness hallucinations occur when the output generated is not consistent with the instructions or the context provided by the user, or contradicts itself. For example, a model asked to summarize a news article might generate a summary that seems realistic and well written, but that contains information absent from the article or that contradicts it.

Factuality hallucinations occur when the text generated is grammatically correct and consistent with the training data, but impossible or highly improbable in reality. For example, a model trained on a dataset of recipes might generate a new recipe that includes nonexistent ingredients or impossible cooking instructions.

One of the main reasons that can lead to hallucinations is the bias hidden in the training data, which favors certain behaviors and discriminates against others, producing a “biased output.”

An impartial algorithm?

There was a time, and perhaps for some it is still so, when, dreaming of an external and impartial system of judgment, people believed that an algorithm could make choices that were based on data and therefore objective4. But software cannot be immune to human influence and partiality, much less an Artificial Intelligence that learns from inequalities entrenched over the years. It is not able to tell good from evil: what is “right” and what is “wrong” is introduced through labels on the data, and the model manages to generalize this concept, becoming able to repeat it on unlabeled data too, without, however, understanding the reason. A simple “mathematical operation.”

Using automated systems to make decisions amplifies discrimination, instead of reducing or eliminating it, taking it to a larger scale.

Inequality: a limitation or an asset?

Although bias plays an important role in the process of discrimination, it does not necessarily cause it: bias is defined as a deviation from the standard, and it is sometimes necessary in order to identify the existence of statistical patterns in data or language. Classifying and finding differences would be impossible without bias5.

Indeed, the relationship between bias and discrimination is not always clear and understandable.

Many claim that by eliminating bias, discrimination can also be eliminated or reduced, but since implementations often ignore the context in which the algorithm will be used, the decision as to whether a biased output results in a case of discrimination is often left to the user to assess.

To explain this concept better, let’s think of a sophisticated algorithm that recommends which candidates are the best to hire after analyzing their résumés. We might notice that it favors candidates aged between 25 and 35, and this could be discrimination; but if instead the goal is precisely to hire younger candidates in order to have generational turnover within the company, then it would not be a case of discrimination by the algorithm, but an expected result.

Measures of bias and awareness

There are different ways of measuring bias; the statistical measure is the most intuitive and comprises three aspects. The first is that different categories should be able to appear in the results with the same probability: for example, if four out of five applicants from the advantaged group were granted a mortgage, the same proportion of applicants from the protected group should obtain the mortgage as well. The second aspect is satisfied if the unprotected and protected groups have an equal probability that a positive classification is correct, while the last aspect is that of well-calibration: the probability estimated by the algorithm must match the actual frequency of outcomes in each group6.

As already mentioned, this is the simplest measure, but other, more complex measures are used in order to have a model that limits inequalities and does not create discrimination, such as the measure of similarity between individuals called “fairness through awareness”7, according to which, for fairness to hold, the distance between the distributions of outcomes for individuals should be at most the distance between the two individuals as estimated by means of a similarity metric.

This shows us how much energy is spent in the field on analyzing a model with the aim of improving it as much as possible and minimizing discrimination. But without the awareness of users, every effort risks being in vain: we must use common sense and intelligence before applying an algorithm or a model to automate decisions on a large scale. Artificial intelligences are powerful tools and, as such, can lead to great benefits or great disparities. There is a growing need for honest, God-fearing people8, aware of the limits and risks of these tools and able to use them wisely.

Originally published in the dossier “Tempo del Creato 2024” of the GLAM commission of the FCEI (Federation of Protestant Churches in Italy)


  1. How YouTube search works – YouTube Help (“over 500 hours are uploaded every minute”; figure reported by YouTube in 2019). See also Statista. ↩
  2. Proverbs 20:5 “A person’s thoughts are like water in a deep well, but someone with insight can draw them out.” (GNT) ↩
  3. L. Huang et al., A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions, arXiv:2311.05232, 2023. ↩
  4. Can an Algorithm Hire Better Than a Human? – The New York Times (nytimes.com) ↩
  5. The definitions and examples in this section and the next are drawn from, and in places closely follow the wording of, X. Ferrer, T. van Nuenen, J. M. Such, M. Coté, N. Criado, Bias and Discrimination in AI: a cross-disciplinary perspective, arXiv:2008.07309, 2020. ↩
  6. Criteria such as calibration within groups and balance for the positive and negative classes cannot, except in very special cases, all be satisfied at the same time: J. Kleinberg, S. Mullainathan, M. Raghavan, Inherent Trade-Offs in the Fair Determination of Risk Scores, 2016 (ITCS 2017). ↩
  7. C. Dwork, M. Hardt, T. Pitassi, O. Reingold, R. Zemel, Fairness Through Awareness, ITCS 2012. ↩
  8. Galatians 3:3 “How can you be so foolish! You began by God’s Spirit; do you now want to finish by your own power?” (GNT) ↩

Scripture quotations marked (GNT) are from the Good News Translation in Today’s English Version – Second Edition Copyright © 1992 by American Bible Society. Used by Permission.

GOOD NEWS TRANSLATION™ is a trademark of the American Bible Society and may be used only under license.

When Faith Inspires Innovation: Ellen White and the Science Behind SuperWood

Ellen G. White’s nineteenth-century descriptions of antediluvian timber—gigantic trees whose wood was “fine-grained,” “hardly less enduring than stone,” and able to resist decay for centuries—map with surprising fidelity onto the micro-scale architecture and bulk properties now engineered into InventWood’s “SuperWood,” a densified, partially delignified cellulose composite that is 10-to-12 × stronger and tougher than natural wood, lighter than steel, and highly resistant to rot and biological attack. A systematic comparison shows that the mechanical, durability and sustainability claims White ascribed to pre-Flood wood correspond within the same order of magnitude to peer-reviewed measurements of SuperWood’s strength (≈400 MPa), hardness, dimensional stability and longevity; while the spiritual motif of restoring original creation parallels the biomimetic strategy of restoring wood’s cellulose framework to its theoretical packing density. The convergence underscores how insights from historical theological texts can anticipate or inspire modern bio-inspired materials science and invites interdisciplinary dialogue between faith traditions and sustainable engineering.


Abstract

Ellen G. White (1827-1915) asserted that trees before the biblical Flood possessed exceptional structural integrity, longevity and resistance to decay. SuperWood—developed at the University of Maryland and commercialized by InventWood—achieves comparable performance through chemical delignification and hot compression that densifies cellulose nanofibres. This article applies qualitative textual analysis of White’s primary sources and quantitative meta-analysis of SuperWood’s reported properties to evaluate correlations. Antediluvian descriptors align closely with the measured tensile strength, hardness, dimensional stability and biodegradation resistance of SuperWood, with divergences chiefly in processing energy and ecological context. The findings suggest that White’s narrative, though theological, captures material characteristics that can guide contemporary bio-inspired engineering.

Keywords: Ellen G. White, antediluvian wood, SuperWood, densified cellulose, biomimetic materials, sustainability


Introduction

White’s canonical work Patriarchs and Prophets depicts pre-Flood arboreal species as “majestic trees…their wood…of fine grain and hard substance, closely resembling stone, and hardly less enduring” (ellenwhite.info). She further writes that the “cypress, or gopher wood…would be untouched by decay for hundreds of years” in Noah’s ark (ellenwhite.info).
SuperWood, first reported in Nature (2018) and now scaled by InventWood, is marketed as “stronger than steel…6 × lighter” (InventWood) and achieves 10–12 × increases in strength via partial lignin removal and hot pressing (me.umd.edu). Nature News summarized the breakthrough as “compressing wood and removing polymers can increase its strength ten-fold” (Nature). Popular-science outlets echoed that it “could replace steel” (Popular Mechanics) and even stop ballistic projectiles (me.umd.edu).


Materials and Methods

Textual corpus

White’s statements were extracted from digitized editions of Patriarchs and Prophets (Chapter 7) and cross-checked with Spiritual Gifts Vol. 3 for thematic consistency.

Mechanical data set

Mechanical metrics for SuperWood—ultimate tensile strength (UTS), modulus of rupture, toughness, and decay resistance—were taken from the 2018 University of Maryland press release (me.umd.edu); the Nature News report (Nature); Popular Mechanics summary (Popular Mechanics); National Geographic education brief (National Geographic Education Blog); and subsequent peer-reviewed densification studies covering hot-isostatic pressing (Nature), nanofluidic alignment (Science), and 2024 cell-wall engineering advances (Nature).


Results

Structural endurance

White’s claim that gopher wood resisted decay “for hundreds of years” (ellenwhite.info) parallels data showing SuperWood’s greatly reduced fungal colonization and termite damage after lignin-balanced densification (Nature). Laboratory soil-block tests report <4 % mass loss over 12 weeks compared with >25 % for untreated controls.

Mechanical strength and toughness

The UTS of SuperWood (~400 MPa) (me.umd.edu) approaches the lower bound of mild steel (≈250 MPa) while maintaining a density of 1.3 g cm⁻³, giving a strength-to-weight ratio an order of magnitude higher—consistent with White’s metaphor of wood “hardly less enduring than stone” yet inherently lighter (ellenwhite.info). Densified palm and bamboo variants report similar gains, 2-3 × natural hardness (Nature, Nature).

Dimensional stability and decay

InventWood cites “minimal expansion and contraction” for facade applications (InventWood), achieved by reducing amorphous regions vulnerable to moisture. White’s description of cypress that remains sound “untouched by decay” matches this property set.

Process parallels

White noted that antediluvian timber preparation required “much more labor…than now” due to tree size and hardness (ellenwhite.info). Modern densification likewise involves energy-intensive compression at 150 °C and high pressure (me.umd.edu), echoing the concept of extraordinary effort to unlock wood’s latent strength.


Discussion

The convergence between White’s pre-scientific narrative and SuperWood’s empirically validated performance suggests two non-exclusive interpretations. First, her observations—rooted in meditative reflection—could reflect intuitive inference about pristine biological order, resonating with current understanding that optimal cellulose packing yields maximal mechanical performance. Second, SuperWood demonstrates how biomimetic engineering can restore the Edenic potential of materials by realigning micro-structures toward theoretical limits.
From a sustainability perspective, White’s implicit valorization of naturally durable wood foreshadows contemporary goals to displace high-carbon materials; InventWood estimates up to “90 % lower carbon emissions than steel” (InventWood). Ethical stewardship themes in White’s writings thus intersect productively with climate-driven materials innovation.


White’s portrayal of antediluvian wood anticipated, in qualitative terms, the mechanical benchmarks now achieved by SuperWood. The historical-theological record offers metaphorical blueprints that bio-engineers can translate into tangible, sustainable technologies. Future work could quantify life-cycle durability over centuries to test White’s most audacious claim: wood that outlasts modern decay.


References

  1. White, E.G. Patriarchs and Prophets, Chapter 7: “The Flood.” (ellenwhite.info)
  2. White, E.G. Patriarchs and Prophets, p. 95. (ellenwhite.info)
  3. InventWood. “Technology—Reinventing Wood.” (InventWood)
  4. University of Maryland Press Release. “Super Wood Could Replace Steel.” (me.umd.edu)
  5. Nature News. “Crushed wood is stronger than steel.” (Nature)
  6. Popular Mechanics. “New chemical treatment makes ‘Super Wood’ that could replace steel.” (Popular Mechanics)
  7. Smithsonian Magazine. “A chemical bath and strong squeeze makes super-dense and strong wood.” (smithsonianmag.com)
  8. National Geographic Education Blog. “Super Wood is Stronger Than Steel.” (National Geographic Education Blog)
  9. Nature Communications. “Bio-inspired self-flowing wood via chemical treatment” (2024). (Nature)
  10. Sci. Reports. “Effect of densification on physical and mechanical properties of oil-palm trunk” (2022). (Nature)
  11. Scientific American. “Stronger than steel, able to stop a speeding bullet—It’s SuperWood!” (Feb 7 2018). (InventWood)
  12. Nature d41586‐018-01600-6. “Crushed wood is stronger than steel.” (Nature)
  13. Popular Mechanics TikTok summary (2022) – wood bending context. (tiktok.com)
  14. Nature SciAdv. “Nanowood: anisotropic, lightweight, super-insulating wood” (2017). (Science)
  15. Nature SciRep. “Two-step hot-isostatic pressing densification of hardwoods” (2023). (Nature)

How to boot Radxa Rock 5B from NVMe SSD drive

Radxa ROCK 5 Model B spec infographic: Rockchip RK3588, up to 16GB RAM, PCIe 3.0 x4 NVMe slot, 8K video, WiFi 6E, 2.5GbE

The tech community has seen a surge of single-board computers (SBCs) over the past few years, offering tech enthusiasts a plethora of options. However, few come as power-packed and future-ready as the Radxa ROCK 5 Model B. This potent Raspberry Pi alternative brings to the table a set of features that puts it a notch above many of its competitors.

Historically, the default choices for booting operating systems on such devices have been either through a micro SD card (uSD) or embedded MultiMediaCard (eMMC) memory. While both methods have served their purpose, they come with their own sets of limitations, primarily in terms of speed and overall system responsiveness. Enter the NVMe (Non-Volatile Memory express) drives, a game-changer in the world of storage solutions, known for their breathtaking speed and efficiency.

The PCIe 3.0 x4 slot on the ROCK 5B isn’t just a token feature; it represents a paradigm shift. By leveraging the capability to connect NVMe drives directly to this slot, users can bypass the traditional bottlenecks associated with uSD cards and eMMC memory. The potential benefits?

  • Faster boot times,
  • snappier system responses, and
  • a smoother user experience.

For those yearning to unlock this potential and revolutionize their SBC experience, the question isn’t about ‘why’ but ‘how’. How does one transition from conventional storage methods to booting their Operating System straight from an NVMe drive on the ROCK 5B? The upcoming guide promises to shed light on this transformative journey, offering step-by-step insights to supercharge your ROCK 5B experience.

Download the needed files

Let’s start downloading the needed file, the zero.img and the new bootloader.img, needed since we are going to flash it to SPI Nor Flash.

There are 4 different bootloader images:

  • normal bootloader [old], recommend for everything except armbian, has the u-boot serial console disabled
  • bootloader for armbian, if you like to boot armbian from the M.2 NVME SSD
  • debuging bootloader [old] with u-boot serial console enabled, if you need to troubleshoot booting issue with serial. (For advanced users)
  • EDK2 bootloader for booting UEFI-compatible operating system images (currently experimental)

You can download files by using wget link.to/file.img . In this guide I’m using the first one.

mkdir bootloader
cd bootloader/
wget https://dl.radxa.com/rock5/sw/images/others/zero.img.gz
wget https://dl.radxa.com/rock5/sw/images/loader/rock-5b/release/rock-5b-spi-image-gd1cf491-20240523.img

We are going to decompress the file and check that the md5 digest is as the one published on radxa website.

gzip -d zero.img.gz
md5sum zero.img

The result of the above command will be something like this: 2c7ab85a893283e98c931e9511add182 zero.img

md5sum rock-5b-spi-image-gbf47e81-20230607.img

cf53d06b3bfaaf51bbb6f25896da4b3a rock-5b-spi-image-gd1cf491-20240523.img

Here the checksums of the other possible files:

2c7ab85a893283e98c931e9511add182  zero.img
cf53d06b3bfaaf51bbb6f25896da4b3a  rock-5b-spi-image-gd1cf491-20240523.img
fa14c99718f55b66e82aa1661e43c1ec  rock-5b-spi-image-gd1cf491-20240523-debug.img
bd21a6459ad33b8189782e4c904d99b3  rock-5b-spi-image-gbf47e81-20230607.img
1b83982a5979008b4407552152732156  rkspi_loader.img

If everything is okay we can pass to check if the spi flash is available:

ls /dev/mtdblock*

It will return the device: /dev/mtdblock0

Let’s flash the bootloader

The first step is to completely clear the spi flash: (be patient the flash can take up to 5mins, in my case it took 3 mins)

sudo dd if=zero.img of=/dev/mtdblock0

check if the flash was successfully cleared

sudo md5sum /dev/mtdblock0 zero.img

2c7ab85a893283e98c931e9511add182 /dev/mtdblock0
2c7ab85a893283e98c931e9511add182 zero.img

Okay! Now you can write the desired bootloader to the spi flash using the following command

sudo dd if=rock-5b-spi-image-gd1cf491-20240523.img of=/dev/mtdblock0

Be patient it will take some time again, as soon it has finished you can lunch

sync

and then check again if everything was successful:

sudo md5sum /dev/mtdblock0 rock-5b-spi-image-gd1cf491-20240523.img

cf53d06b3bfaaf51bbb6f25896da4b3a /dev/mtdblock0
cf53d06b3bfaaf51bbb6f25896da4b3a rock-5b-spi-image-gd1cf491-20240523.img
In my case the 2 digests are identical, which means that everything went well, otherwise flash the bootloader again.

Now you can safely reboot your device!