Theology

Seeing God and the Pretentiousness of Purity

Published 5 Nov 2026. By Jakob Kastelic.

Disclaimer: I’m not a theologian, proceed at your own risk.

An astute reader of the Notes on Cassian noticed a wild claim of mine, that “being dead to the wold” means afterlife, when examining Cassian’s thoughts on divine contemplation and “seeing God”, in Conf. 1, Ch. XV. Let’s take a closer look.

I don’t think you can “see God”, no matter how “pure” or “dead to the world” you are. To be fair, Cassian only makes the converse claim: if, any carnal affections survive in you, then you cannot lastingly contemplate God. Am I going too far by assuming Cassian implied the reverse claim: you could lastingly contemplate God if only no carnal affections survive in you?

A parallel set of claims arises from his scriptural quote. Exodus states that if you see God, then you cannot live. Cassian elaborates: you cannot live to “this world and to earthly affection” (mundo huic affectibusque terrenis). The implied reverse statement in this case is, if you’re “dead to the world”, then you may be able to see God. Again, did Cassian intend this implication or am I reading into it too far?

There’s only two options, either he did mean it or he did not. If he did not mean it, then we could discuss whether carnal affections (carnalis affectus) prevent you from contemplating God “lastingly” (perpetuo), or from seeing God. Since I’m not at this point interested in studying perpetuity, i.e., eternity or afterlife, so let’s pass on to the other option: Cassian did mean the “reversed claim”: purify your heart and you’ll be able to see God now and forever.

Agents

Same Input, Different Outputs

Published 4 Nov 2026. By Jakob Kastelic.

Some time ago, models used to take a widely variable time to complete a task, ususally between ten seconds and ten minutes. This kept me glued to the screen, mostly just waiting for it to be done. Then I got the idea to tell Claude that when it’s done, it should print a big “DONE” banner so I can see it from the other side of the room. I ended up collecting several different versions of this banner as they came out of the model.

██████   ██████  ███    ██ ███████
██   ██ ██    ██ ████   ██ ██
██   ██ ██    ██ ██ ██  ██ █████
██   ██ ██    ██ ██  ██ ██ ██
██████   ██████  ██   ████ ███████
█████   ██████  ███    ██ ███████
██   ██ ██    ██ ██    ██ ██
██   ██ ██    ██ ██ ██  ██ █████
██   ██ ██    ██ ██  ██ ██ ██
█████   ██████  ██   ████ ███████
█████   ██████  ███    ██ ███████
█   ██ ██    ██ ██    ██ ██
█   ██ ██    ██ ██ ██  ██ █████
█   ██ ██    ██ ██  ██ ██ ██
████   ██████  ██   ████ ███████
█████   ██████  ███    ██ ███████
██   ██ ██    ██ ███    ██ ██
██   ██ ██    ██ ██ ██  ██ █████
██   ██ ██    ██ ██  ██ ██ ██
█████   ██████  ██   ████ ███████
█████   ██████  ███    ██ ███████
██   ██ ██    ██ ██    ██ ██
██   ██ ██    ██ ██ ██  ██ █████
██   ██ ██    ██ ██  ██ ██ ██
█████   ██████  ██   ████ ███████
█████    ██████   █    █   █████
█    █  █      █  ██   █   █
█    █  █      █  █ █  █   █████
█    █  █      █  █ █  █   █████
█    █  █      █  █  █ █   █
█████    ██████   █    █   █████
█████    ██████   █    █   █████
█    █  █      █  ██   █   █
█    █  █      █  █ █  █   █████
█    █  █      █  █  █ █   █
█    █  █      █  █   ██   █
█████    ██████   █    █   █████
█████   █████  █   █ █████
█   █  █   █  ██  █ █
█   █  █   █  █ █ █ ████
█   █  █   █  █  ██ █
█████   █████  █   █ █████
█████   ████  █   █ █████
█   █  █    █ ██  █ █
█   █  █    █ █ █ █ ███
█   █  █    █ █  ██ █
█████   ████  █   █ █████
████  ████  █   █ █████
█   █ █   █ ██  █ █
█   █ █   █ █ █ █ ███
█   █ █   █ █  ██ █
████  ████  █   █ █████
████  ████  █   █ █████
█  █  █  █  ██  █ █
█  █  █  █  █ █ █ ███
█  █  █  █  █  ██ █
████  ████  █   █ █████
███  ███  ██ █ █ ████
█ █  █ █  █ █ ██ █
█ █  █ █  █ █ ██ ███
█ █  █ █  █ █ █ █ █
███  ███  █ █ █ █ ████
DSP

Stream Data Into ADSP-2156

Published 3 Nov 2026, modified 5 Nov 2026. By Jakob Kastelic.

The ADSP-21569, as demonstrated on the EV-21569-SOM and EV-SOMCRR-EZLITE boards, appears to be optimized for streaming lots of audio channels. What if we instead need to stream fewer channels at faster sample rates? In this article, we will try out several possible pathways.

UART

The first step after “blink” works is to have a debug input/output and UART is always the easiest. Of course we already had to set it out previously to enable automated agentic code development and testing.

QSPI: From USB into DSP using FT4222

We can test mass data ingestion without any additional wiring via the QSPI interface, since the EZLITE board includes a USB-to-SPI adapter FT4222HQ-D-T. (Make sure to follow the QSPI setup instructions in the previous article to make sure that FT4222-as-master works.)

With DSP in slave mode, we can write a little test program that ingests the data using DMA into two buffers, “ping-ponging” between them: DMA writes into one buffer while we read from the other, and when the first one is full, DMA starts to write into the second one. If we process the data fast enough, this guarantees there’ll be no contention between the CPU and DMA without requiring any other synchronization.

In this case, all we are interested in is whether the data is received correctly. As a simple test, we can write a couple bytes and then read them out via UART, but then we cannot test the data transfer speed. Instead, we can tell the CPU to consume the data when DMA buffer fills up and calculate a running checksum (e.g., XOR all words into a single accumulator).

The data rates from USB into FT4222 and thence into the DSP are as shown in the table:

LanesSCKMbps actualMbps theoretical% peak
110 MHz4.41044 %
120 MHz5.82029 %
140 MHz6.84017 %
210 MHz16.12081 %
220 MHz27.14068 %
240 MHz40.78051 %
410 MHz27.14068 %
420 MHz41.18051 %
440 MHz53.916034 %

“Up to 53.8Mbps data transfer rate in SPI master with quad mode transfer” says the bullet point on FT4222 datasheet front page. Later on, in Table 4.1 on page 11, the “Max Throughput” is stated as 52.8Mbps. “It also depends on the USB bus transfer condition.”

The quad-lane theoretical maximum takes into account that at most 64K bytes can be transmitted at once, the clock rate is 40 MHz, and there’s an extra 6.65 ms (or is it 6.47 ms?) of library/USB overhead.

FT4222 Silicon bug: need 0x00 first byte

Using SPI2 in the 1-lane mode (regular four-wire SPI), the transfer works as expected. In Python, simply import ft4222 and then make use of the spiMaster_SingleWrite() function to write the data.

The dual and quad SPI modes, however, are more tricky. First of all, the spiMaster_SingleWrite() refuses to send data outside the single-lane mode. The library provides spiMaster_MultiReadWrite() which does transmit data but sometimes all but the first byte is transmitted incorrectly: the bit corresponding to D1 stays stuck at 0.

There’s a hint in the “User Guide for LibFT4222” (FTDI App Note AN_329), in a section on using the FT4222 in slave mode:

For some reasons, support lib will append a dummy byte (0x00) at the first byte automatically.

We’re using the FT4222 in master mode, but it seems that the library author knew something that the app note writer did not: the chip has a quirk, or perhaps an undocumented in-band command depending on the contents of the first byte transmitted.

For example, if the first word transmitted is 0x0d4416c4, then all subsequent data will be corrupted. However, many other first words do not trigger the bug (e.g. 0x00000000, 0xFFFFFFFF, 0xc8ad14e5).

The workaround is as indicated in the above quote: always send 0x00 as the first byte. Annoying, but irrelevant in this instance since all we care about is to measure what is the maximum reliable data rate.

I have not been able to find this bug documented either in the datasheet or in the Technical Note TN_161, “FT4222H Errata”.

QSPI out of DSP

Getting the data output of the DSP is just a little bit more tricky. We do not want to switch the FT4222 into slave mode, because then we need to physically move the S5 jumper on the EZLITE board, which would be annoying to automate. Moreover, the FT4222 only supports the single-bit data transfer in slave mode, while the master supports all three bit widths, both data directions.

GPIO loopback

Some of the tests in the future will require wiring SPI and SPORT ports between each other as “external loopback”. To verify wiring continuity, it is helpful to set up a GPIO example code that verifies which pins are connected to which pins.

On the EZLITE board, connector P13 breaks out the DAI pins that are used for the SPORT interface. Note that the pins’ presence on the board does not mean they are connected to anything! (They may be used with other SOM boards.)

P13 pinP13 signalNotes
7DAI0_PIN13absent both packages
9DAI0_PIN14absent both packages
19DAI0_PIN15absent both packages
21DAI0_PIN16absent both packages
31DAI0_PIN17absent both packages
33DAI0_PIN18absent both packages
2DAI1_PIN01
4DAI1_PIN02
6DAI1_PIN03
8DAI1_PIN04
10DAI1_PIN05
12DAI1_PIN06
14DAI1_PIN07
16DAI1_PIN08
18DAI1_PIN09
20DAI1_PIN10
22DAI1_PIN11absent 120-lead LQFP
24DAI1_PIN12absent 120-lead LQFP
26DAI1_PIN13absent both packages
28DAI1_PIN14absent both packages
30DAI1_PIN15absent both packages
32DAI1_PIN16absent both packages
34DAI1_PIN17absent both packages
36DAI1_PIN18absent both packages
38DAI1_PIN19
40DAI1_PIN20

On the P14 header, we get access to the I2C and two SPI ports. These are highly multiplexed. For example, the PA_06 and PA_07 are UART0_TX and UART0_RX, respectively.

P14 pinP14 signalP14 functionMultiplexed
25PA_14TWI2_SCLFn 0
27PA_15TWI2_SDAFn 0
2PA_06SPI0_CLKFn 0
4PA_07SPI0_MISOFn 0
6PA_08SPI0_MOSIFn 0
8PA_09SPI0_SSBInput Tap
10PB_05SPI0_SEL2*Fn 2
12PA_10SPI1_CLKFn 1
14PA_11SPI1_MISOFn 1
16PA_12SPI1_MOSIFn 1
18PA_13SPI1_SEL1*Fn 1
20PB_10SPI1_SEL2*Fn 1
Incoherent Thoughts

The Power of Unconscious Intentions

Published 2 Nov 2026. By Jakob Kastelic.

Consciously, I can only focus on one thing at a time, and hold only a few in working memory. But the unconscious part of the psyche can hold a tremendous amount of memories, skills, goals, and intentions.

When a lot needs to be done, it’s best to banish it all from the conscious mind and merely set unconscious intentions, then let things arise one by one as appropriate until the goal is achieved. Holding awareness of multiple tasks is like carrying ten full cups of tea: I’d get nowhere or spill them all.

By trusting your unconscious, you free your conscious attention for the one action in front of you.

Agents

AI Abuse of the Active Voice

Published 28 Oct 2026. By Jakob Kastelic.

Lacking the grammatical sophistication to describe the symptoms precisely, I was forced to manually correct the style sentence by sentence—or publish the material as obviously vibecoded.

In this article, I present a set of rules to aid in automated detection of the worst of “AI slop”-type grammatical constructions. I started with a loose list of such rules gathered from various sources and told Claude to rephrase the rules until no two rules match the same text, over a corpus of my own recent code. (Is it really mine if agents wrote all of it?)

Quick Demo

As a quick experiment, choose a vibecoded codebase and ask AI to find some instances of the following:

finite object relative clause with an active verb and overt definite noun phrase as its subject

Then repeat on something you know was written by hand. In a random sample of about 3,000 lines taken from the Linux kernel, zero matches. Similar sample from something I’m working on, 13 matches. Another comparison: original Unix v7 code, one match, in my port to Arm, more than ten.

With just that simple rule, we can find some pretty horrible sentences:

Of course, models violate other rules, as spelled out in the next section. You can use the style sheet below in two ways: run it over an existing text to flag potential issues, or use it as a commit check to avoid adding more obvious slop into the existing text. The rules are not intended as a strict gate: they will flag acceptable text.

STYLE.md

  1. Object relative clause, with or without a relativizer, whose verb is active and whose subject is an overt definite noun phrase. “Its bss, which exec clears to zeros”; “what the store writes the next iteration reads”.[1]

  2. Inanimate subject of a verb that, taken literally, needs an animate subject (know, want, expect, decide, say, show, owe, own, answer), in a finite clause other than an object relative clause. The match is the subject and its verb. “As the comment promises”; “the plot says how far a long block has come”; “a faulted DSP never answers”.[1]

  3. Copula substitution: a lexical verb in place of “is” (“serves as”, “stands for”), or “is” in place of a lexical verb, where X means, yields, or indicates Y rather than being a kind of Y. The match is the verb with its “as” or “for”, or the “is” alone. “DEN 0 standing for 2^40”; “EINVAL is a driver without blanking”; “Busy is what ran”.[2]

  4. History narration: an independent clause in the past tense telling what the code did before a change, in place of what it does now. The match is the clause. “The I register and DB used to sit at bits[26:24] and bit[32]”; “the folder answered a different question from the emitted code”.

  5. Nominalization or gerund as subject or object, doing the work of a finite clause, with an object, an of-phrase, or a possessor of its own. The match is the noun and its arguments. “The return to the instruction after the svc restores the user’s saved status”; “the averaging takes every block”.[3]

  6. Non-finite, verbless, or elliptical clause attached to a noun or a clause: a participle with a dependent of its own, an absolute construction, or a clause with its verb left out. A bare noun phrase labelling a declaration is not a clause. “Continues in swtch, returning from it into whatever had called swtch“; “measuring, the span started again; locked, the tag taken a period short”.[3][2]

  7. Prenominal packing: what an of-phrase would say, put before the noun, as a compound of three or more nouns, or an s-genitive with an inanimate possessor, its head noun often left out. The match is the premodifier. “The process table entry”; “each ADC channel’s largest conversion”; “the fit’s, the seconds’ scatter”.[1]

  8. Coordination inside a phrase: two or more nouns, adjectives, or phrases joined within one noun phrase or one argument. “The address and cause of a data abort”; “with its own phase, filter and gain”.[3][2]

  9. Interruption: a subject relative clause, an appositive, a parenthetical, or an aside between dashes, set off by commas, dashes, or parentheses, that separates a subject from its verb. An object relative clause is rule 1, a participle phrase rule 6. The match includes the punctuation. “A process that waits for something which is sure to happen soon, such as a disk transfer, can sleep”; “The LMX, which clocks the ADC, the CORDIC and the DSP, is retuned for every reference”.[1][4][2]

  10. Denominal verb: a verb converted from a noun. “The MMU faults any access from user mode”; “one clock synthesizer clocks the ADC”; “one whose last round the DMA lapped”.[1]

  11. Exclusion: a negator (not, no, never, nothing, neither), restrictive “only”, or a contrastive “rather than”, “instead of”, “unlike”, “except”, or “despite”. The match is the operator alone. “Needs no locks against other processes, only masked interrupts”; “out now, not at the end of the pass”; “nulled exactly rather than attenuated”.[2][5][6]

  12. Colon apposition: a statement or a bare noun phrase, then a colon and a second statement that restates, lists, or explains it, where a full stop, “because”, or “so” would join them. The match is the colon. “How often the capture looks for new blocks: the ring holds seconds”; “the rings start over below: what was given out last is the chain’s before”.

  13. Evaluative or intensifying word: a word of the excess-vocabulary lists (delve, underscore, ensure, key as an adjective, matters, steady), an intensifier (simply, exactly, whole, entirely, at all), or an emphatic “own”. “Refers to it simply as u“; “the outputs remain quiet and steady”; “the image sends a frame of its own”.[7][8][9][3][2][10]

  14. Sentence that restates an earlier one of the same paragraph. “A process running in the kernel is never preempted. It keeps the processor until it sleeps or returns to user mode”; “a process acts on its signals only on the way back to user mode. ... So a signal takes effect at the next return to user mode”.[10]

  15. Recurring frame: the same opening, closing, or phrase in several sentences of one text. “With two processors, ...” closing five paragraphs in a row; “Next main calls ...”, “Next clkstart ...”, “Next main calls ...” opening consecutive steps; “From 0 Hz ...” opening sentence after sentence.[6][11][5]


  1. T. H. Clark, M. B. Martin, K. Mahowald: Why is AI-generated language so hard to understand?, 2026. arXiv:2610.29162 ↩
  2. WikiProject AI Cleanup: Signs of AI writing, Wikipedia, October 2026. ↩
  3. A. Reinhart et al.: Do LLMs write like humans? Variation in grammatical and rhetorical styles, PNAS 122(8), 2025. arXiv:2410.16107 ↩
  4. A. Muñoz-Ortiz, C. Gómez-Rodríguez, D. Vilares: Contrasting Linguistic Patterns in Human and LLM-Generated News Text, Artificial Intelligence Review, 2024. arXiv:2308.09067 ↩
  5. S. Paech et al.: Antislop: A Comprehensive Framework for Identifying and Eliminating Repetitive Patterns in Language Models, ICLR 2026. arXiv:2510.15061 ↩
  6. D. Roongta et al.: SlopBench: How Well Can We Rank Language Models by Slop?, 2026. arXiv:2609.33905 ↩
  7. D. Kobak et al.: Delving into LLM-assisted writing in biomedical publications through excess vocabulary, Science Advances 11(27), 2025. arXiv:2406.07016 ↩
  8. T. S. Juzek, Z. B. Ward: Why Does ChatGPT “Delve” So Much? Exploring the Sources of Lexical Overrepresentation in Large Language Models, COLING 2025. arXiv:2412.11385 ↩
  9. W. Liang et al.: Monitoring AI-Modified Content at Scale: A Case Study on the Impact of ChatGPT on AI Conference Peer Reviews, ICML 2024. arXiv:2403.07183 ↩
  10. C. Shaib et al.: Measuring AI “Slop” in Text, 2025. arXiv:2509.19163 ↩
  11. C. Shaib et al.: Detection and Measurement of Syntactic Templates in Generated Text, EMNLP 2024. arXiv:2407.00211 ↩