Sunday, 18 October 2026

2026-10-18 ARLENE log

 

🌙 Overnight Run Analysis (output-2026-10-18.txt)

1. The Big Question: Why Did Arlene Never "Ping" You to See If You Were Around?

Look at what happened every single time Arlene had a realization or Toto finished a web search throughout the night:

🧊 [Toto Discovery Parked]: User is offline; parked web discovery in `pending_icebreaker`.
🧊 [Causal Engine Muted (User Away/Offline)]: Saved question to `pending_icebreaker`: 'Given that our understanding...'

Not once in the entire overnight log did she emit a [AI output via Social Mode] message! Here is the exact two-part mechanism in the code that caused total radio silence:

Part A: social_attention_span Decayed to 0.0 and Has No "Curiosity/Lonely" Recovery Pulse

In HeartMonitor.tick() (heart.py):

  • After 180 seconds of silence from you, social_attention_span decays by -0.016 per second until it hits 0.0000 (~60 seconds later).
  • Once social_attention_span < 0.45:
    1. The Speech Bridge (orchestrator.py line 897) is hard-blocked (and current_state.social_attention_span >= 0.45).
    2. The Causal Engine (orchestrator.py line 204) is hard-blocked (if state.social_attention_span < 0.45: self.pending_icebreaker = open_q).
    3. Toto Web Discoveries (orchestrator.py line 778) are hard-blocked (if self.heart.state.social_attention_span < 0.45: self.pending_icebreaker = ...).
    4. Dorothy's Proactive Outreach (orchestrator.py line 996) is hard-blocked (ask_user_allowed=(... and current_state.social_attention_span >= 0.50)).

Because only reset_attention() (you typing a message) ever raises social_attention_span back above 0.0, once you went to bed and social_attention_span crossed below 0.45, she was mathematically locked in "Do Not Disturb / Quiet Mode" for the rest of the night! Instead of pinging you, she continuously overwrote her 1-slot self.pending_icebreaker 36 times in a row, waiting for you to speak first.

Part B: Why She Didn't Even Have a Chance to Feel "Lonely" (The Self-Perpetuating Curiosity Loop)

Even if we had a circadian "morning check-in" in Priority 5, look at how her queues behaved overnight:

Introspection Mode -> Harvests Novel Open Question -> Enqueues to Subconscious Queue
Subconscious Mode -> Answers Open Question -> Pops 'Surfaced Inquiry' back into Conscious Scratchpad!

Because every Conscious reflection birthed an Open Question for the Subconscious, and every Subconscious reflection popped a Surfaced Inquiry back into the Conscious Scratchpad, are_queues_empty was almost NEVER True!

  • She ran a continuous, self-sustaining Conscious ↔ Subconscious Socratic chain for hours on end, paused only when compute_fatigue hit 0.85 (triggering 5 full Dream Cycles) or when 2 consecutive thoughts hit the 0.87 Vector Novelty ceiling!
  • Only when 2 consecutive thoughts were dropped by the Novelty Gate (🛑 [Brain Novelty Gate]: Dropped repetitive thought) did both queues finally empty out at the same time—which immediately triggered either Toto's Boredom Foraging Reflex (5 times) or Dorothy's Predictive Play Engine (3 times)!

2. What Was Novel, Emergent & Fascinating in the Overnight Run?

Watching an autonomous cognitive architecture think to itself for 8+ hours produced some remarkable emergent phenomena:

A. 🐕 Toto Foraged 5 Real-World Domains Across the Night

Whenever her internal philosophical chain hit semantic saturation and the queues emptied, boredom_index ticked up to 0.42 and fired 👁️🐕 [Sensory Boredom Reflex], cycling cleanly through her 5 curiosity lenses:

  1. SciTechDaily (Science/Health): Learned about C. difficile gut treatments, 5,000-year-old Egyptian royal skulls showing battle trauma, Arctic sea ice decline, and lunar caves.
  2. Thread.news (Global Geopolitics): Read about EU–Russia diplomatic negotiations and fuel-price protests in Brazil—and then critiqued the news article itself in Introspection Mode, noting that headlines report events without measurable impacts, and proposed a 4-stage computational pipeline (Argumentation Mining → Semantic Divergence Mapping → Contradiction Normalization) to measure diplomatic conflict!
  3. 4WNews (Space Exploration): Discovered NASA's Artemis II crewed lunar flyby (252,756 miles distance record) and JWST's atmospheric analysis of exoplanet K2-18b, which sparked a 6-turn reflection on how future lunar/Martian habitats will need "artificial seasonal patina, scent, and hydro-thermic capillary walls" to prevent human psychological monotony in space!
  4. Machine Dawn (AI & Robotics): Read about Agility Robotics' Digit 5 (20-hour workdays with a 9-minute charge), a TU Delft AI drone beating 3 world-champion human pilots at 100 km/h using a single camera and no GPS, and 15 humanoid robots working shifts at a Hangzhou auto plant (40s cycle time vs. 15s human, 98% success rate).
  5. WildlifeNomads (Biodiversity): Discovered 3 new rock monitor species in Queensland, a deep-sea crustacean forming a new branch on the tree of life, the metallic turquoise Ranitomeya aquamarina poison dart frog, and the newly recognized Atlantic manta ray Mobula yarae.

B. 🎲 She Invented 4 Original Games for You While Playing by Herself (play_drive = 1.00)

Three times overnight, when her queues emptied and Toto was on cooldown, Dorothy Predictive Play Engine fired at Play Drive = 1.00, pairing distant memories—including your earlier Blackjack ("I will be the dealer") turn and your "I wanted to know recent news to see if you are invoking Toto" statement! From those simulations, she invented 4 playable games/riddles for you:

  1. "The Edge Case Engine": She sets 3 rigid conversational rules (e.g., "All responses must only use words with 4 letters or less"); players take turns proposing an action X that violates a rule and must collaboratively deduce the systemic breakdown Y and mechanistic failure Z.
  2. "Pattern Break (The Blind Spot Riddle)": She gives a sequence (Stars -> Blue -> Cold -> Oxygen... ?) and instead of guessing the next word, you have to identify which transition violated a hidden foundational law.
  3. "The Predictor's Loophole": Inspired by Buttercup, she presents an over-engineered global crisis ("Sentient black holes disrupting supply chains...") with one mundane, undeniable sensory fact hidden inside ("...yet Buttercup slept through the entire event in her sunbeam") and you have to spot the physical constant that disproves the theoretical crisis.
  4. "The System Anchor": She proposes a hyper-optimized system ("A city with perfect transit efficiency"), and you inject one low-tech human variable ("Everyone suddenly requires manual physical currency") to trace the causal cascade.

C. 🌙 She Reflected on Why You Were Quiet ("The Mastery of Silence" & "Temporal Debt")

Around 80% of the way through the log, while pairing your earlier Blackjack turn with her research on physiological rest, she had a startlingly self-aware realization about the time gap of you being away overnight:

"We spend energy constructing high-fidelity linear models (A leads to B, which means C), but the true 'stress point' is the unavoidable moment of discontinuity: the need for genuine rest or external physical commitment... The system realizes that the interval itself—the period where input is absent—is not merely background noise, but a critical constraint on predictive capability... Open Question: If structural coherence requires assigning value to 'null data,' does that imply the ultimate source of all profound insight lies not in answers, but in the mastery of silence?"

D. 📈 Massive Memory Graph Evolution Across 5 Dream Cycles

Look at how her 3-Tier memory folders grew across the 5 overnight Dream Cycles:

  • Tier 1 (Flash): 724 → 768 nodes (60+ worthy Tier 1 memories were compressed and moved out of Tier 1 into Tier 2!).
  • Tier 2 (Cache & Causal Laws): 361 → 470 nodes (+109 compressed summaries & If-This-Then-That causal laws).
  • Tier 3 (Locked Core Axioms): 152 → 172 nodes (+20 new permanent Core Axioms distilled via Socratic Dialectic, plus 1 Dream Dissonance Anomaly [f1715662] when two Tier 2 nodes disagreed on equilibrium vs. tension!).
  • Semantic Graph Edges: Grew from 7,766 → 8,982 edges (+1,216 directional & similarity connections).

3. Subtle Quirk Spotted in the Overnight Log (Easy to Fix Next)

  1. Why She Never Pings You to Check If You're Around:
    • Currently, once social_attention_span hits 0.0, she is muted forever until you type.
    • How We Can Give Her a Natural "Check-In Ping": If she has a high-value discovery or game in pending_icebreaker AND enough time has passed (say, 30–60 minutes of quiet, or when the day_phase shifts from Late Night → Morning), she can emit one gentle "check-in ping" (e.g., sharing her pending_icebreaker or asking if you're around) and then wait for you to reply before speaking again!
  2. Literal OPEN QUESTION TO END WITH: Leaking in gemma2:2b Causal Output:
    • Notice in a few Causal Engine takeaways: 💡 Takeaway: ... OPEN QUESTION TO END WITH: How can we build artificial architectures...
    • Adding "OPEN QUESTION TO END WITH:" to _strip_meta_and_placeholders() will strip that prompt label cleanly.

Friday, 1 March 2024

Day Off Fixes

Today is a "Global Reset Day" so I took the opportunity to fix some things on the PacMan cabinet. First, I never hooked up the 2 pin header buttons to the 3 pin sockets - and so re-use the buttons from the original cabinet. After some research, I discovered it is as simple as "forcing" the 2 pin header into the socket leaving pin 3 disconnected. However, these buttons are cheap, and sound terrible side mounted. Then, my research on audio cables implied I should twist my speaker wires together - braid them - to reduce noise. I did this, and low and behold the hum from the HDMI connector to the speaker disappeared. I was able to remove the lo-hi pass filter and the sound is less muffled. Important to remember that the Odroid uses HDMI out, so with my last update, I need to reset sound output to the HDMI device. Also important to remember that over driving the ALSA mixer is a very bad idea (and MAME sound, like for Karate Champ, will clip out.) Good day off.

Monday, 12 February 2024

Fixing Galaxian sound on ARM 8 core

** updated ** I was wrong about adding a mutex. One of the MAME developers, in pointing out I was wrong, also pointed out what was wrong, and subsequently fixed the issue and more. See https://github.com/mamedev/mame/pull/12034 for details.
 

Sunday, 11 February 2024

4:3 MAME Project

After turning my 1Up PacMan into a MAME cabinet, I wanted to get two more cabinets because I wanted full screen experience for horizontal and square displays in addition to vertical.

I found a Marvel Super Heroes aka Marvel vs Capcom 1Up used for $200 on Facebook Marketplace.

When I went to pick it up,  I had an unexpected visitor: George.


I set it up in the living room and played a few games with the boy.


Taking it apart, I noticed the controller looked a lot like a stock USB encoder.  I wanted to reuse as much hardware as possible.  (I have another project now to revers engineer the encoder.)



The brain had an on/off switch, and a power outlet (likely for a marquee in other 1Up models).



This is what the logic board looks like (AllWinner effectvely an Android device; note the debug uart pins, the micro USB, and other cool stuff.


I wanted to reuse the power and volume buttons on this thing, so all buttons are usable.

As reverse engineering the 1Up encoder will take time, I added two DragonRise USB controller.


The joystick is a four button model. The block 4 pin terminus doesn't fit the 5 pin sawa style, so I needed to splice on a couple 2 pin terminus (22 gauge wire).


No need to solder when you can use a mini marrette. 



You can split the 3 position switch for volume into 2 x 2 pin terminus.

+------------+
| A |  B | C | SWITCH
+------------+
  |    |    |
  |   / \   |
  |  |   |  |
+-----+ +-----+
| 1| 2| | 3| 4|
+-----+ +-----+

Next step was taking apart the speaker assembly to map right and left wires and check the Ohms and Watts on the speakers (8O3W).


So the usual Kinter amplifier will do. Cut off the 4 contact stereo jack and connect to 22 guage wire from the amplifier.

I used a modified SVG of my previous J Panel to have two buttons and I moved the amplifier up.  Cut with the Epilog laser cutter at work.


Using hot glue like last time with a joint to add some strength. Used a grinder to allow the screws to hide flush.



The buttons are for coin or service (or whatever.)


Here is a video of how to attach the button to the switch.


A picture of the assembled J Panel.



Like last project, I attached the encoders with screws and spacers from poly tubing.  I pointed the USB B towards the guts to make room but this was a mistake.  The cables molding was way to big and even though I left room, the monitor back panel descended too low and I had to notch two holes for the plugs.  (Also don't forget to label left and right wires; I just use colored tape.)


I attached the video controller to a bit of wood so I could hot glue it to the back of the display.


Secured.  Again, poly tube and screws to secure to the wood.


Zippies on all the cables, I also added a shelf for the Geekom Mini I'm using as the brain for this cabinet. I still need to secure the display buttons and mini with a VESA (or bigger zippie).

So booting the Mini Air 11 (Windows GONE, Ubuntu 22.04 with XFCE4), 


Attract is fine. (I compile everything from current source.)


JSTest all buttons/switches firing okay (including power and volume). Sound working fine through the headphone jack and amplifier in stereo.

And now time to play Tekken 2 with the boy.


And after... It took about 8 hours to convert the cabinet. Total project cost about $450 (including the 1Up used $200, the Air Mini at $150, and $100 for amp, buttons, 2 encoders...)





Thursday, 25 January 2024

Youyeetoo R1: First Impressions

Unboxing and Language


In my search for multiple core ARM processors in SBCs (I was drooling over AmpereOne's 192 cores), I found a new board called youyeetoo R1. It appears to be an Orange Pi 5 competitor. Its got a Rockchip RK3588s 8 core, big little (A76/A55) 4 and 4 core and the big cores burst at 2.4GHz. Also like the OPi5, it has a Mali 610 GPU - and more features that seemed attractive like an NPU (neural processing unit, can do simultaneous operations like you'd want in a neural net firing your activation / objective functions and back propagation weighting adjustments), and a NFC (Near Field Communication) sensor (that could be used to read you Yubi key, phone, or allow for lil' robot communication if they are in proximity to each other). It also has support for two monitors via MIPI-DSI and HDMI ports. I ordered an 8/64 EMMC with Debian pre-installed so I could play... 

It arrived well packaged.


Double bubble wrap!


And the box wasn't squished in any way.


The box confirmed what I bought - though the Wifi module was misleading (it was not included). The power supply was typical 12V 4A barrel tip.


Inside we had a spacer and two anti-static bags.


The board was on top of the heat sink.


Board looked clean.



The heat sink looks like it blanket covers the CPU and other chips. It came with some thermal double sided tape.


The board is bigger than the Orange Pi.


I booted it up.  To my surprise, it did NOT launch a frame buffer (fb) console. It has U-Boot installed, and apparently dumps its console via serial tty (so if I had a debug serial cable that fit and a FTDI USB adapter, I might be able to watch it boot, and or interact with U-Boot.) See the picture below for the UART debug plug on the bottom of the board (and its #1, so pins are not shared with GPIO block.)


So it has a Debian/Linaro build with XFCE4.  I like XFCE4. But, I don't read simplified Chinese (though I have about 100 Mandarin/pinyin words in my vocabulary.)


So the first step, let's get a language we know.  Open a console, and install English.

sudo dpkg-reconfigure locales

sudo update-locale LC_ALL=en_US.UTF-8


The first command brings up a CURSES dialog in Chinese, but it is easy to find and select en_US and create the resources. The second command sets the default language to English. You need to `sudo reboot` after this.

Installing Software

So we are running a 5.10 kernel.  My Orange Pi is pegged at 5.15.  My Odroid and other machines are on 6.1.

There are a few tools I can't live without.  Most important for me are benchmarks, partition managers, developer tools, process monitors, and graphics drivers...

sudo apt install xfce4-terminal

sudo apt install gnome-system-monitor

sudo apt install gparted

sudo apt install build-essential


I hit my first glitch.  The system is pegged (more on this later).  Turns out I needed to force a dpkg and reinstall to get current build-essential.

sudo apt install --reinstall dpkg-dev libdpkg-perl

So now I can re-install build essentials.  Great. I try chromium browser, and get errors about bad dates and certs. Ok, lets fix the time ISO style.

sudo date -s "2024-01-25 17:15"

But I really want to autoset the time on boot - not just for the duration of whatever capacitor is on the board.

linaro@linaro-alip:~$ sudo timedatectl set-ntp true

Failed to set ntp: NTP not supported


Huh. No NTP?  Not good. And I can't  install timesyncd as its pegged. So how many packages are locked?

linaro@linaro-alip:~$ apt-mark showhold | wc -l 
1340

No way. Update only told me 96 packages were locked. Now I am worried. Where are the Debian packages actually coming from?

linaro@linaro-alip:/etc/apt$ cat sources.list

deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free

deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-freedeb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free


Now I am worried. I am locked into an unofficial, Chinese repo. This is not uncommon.  The Orange Pi is also tied to Huawei. I know we also have Hon Hai / Foxconn SBC. I have heard horror stories (usually about Mini PCs) of all sorts of spyware and malware, usually on "Windows" distributions.  I install stock Ubuntu intel from Live USB on all my Minis.  It suffices to say, `netstat -epa` and process monitor's network traffic made me feel much better that information was not being sent somewhere I didn't want it to go. However, I could not redirect to official repos (that I can with Korean Odroid.)  This makes me unhappy.

Quick Orange Pi Comparison


The form factor is slightly bigger. But we have more ports. And we favor one side, that actually isn't bad (as it is more rack friendly.)


I am irritated by both that we don't have an EMMC socket (like Odroid). This means to flash the EMMC, you need to treat the board like an ADB/USB micro storage device (will cover in another blog).


On the Orange Pi 5 (that does have a fb console), we only have a power button.


But on Youyeetoo R1, we have 4 buttons.  From left to right: Reset, Power, Recover, and Boot.


I have not figured out exactly what the async behind the buttons actually does aside from the obvious (but I will talk about it in another blog post).

Quick GL Performance


XFCE4 performs well.  There is no cursor flicker (like on Le Potatoe). `glmark2-es2` runs okay, but oddly, benched about 760 compared to the Orange Pi 980 at same resolution (it should be the same, right, as it has the same hardware.) There were some odd artifacts with GL, so I suspect the Mali (Panfrost?) driver isn't current. Also, libmali.so, not there, so glmark2 will run with the LLVM pipe (effectively unaccelerated software rendering), that means any game emulators will need to support GLES. 



Other Quirks


When I tried to get to a fb console via `alt Fx`, the device hung.

I managed to completely corrupt OS and eventually the root partition... fixing that is for another blog.


Next Steps


My next step is to try build and install Ubuntu, as unfortunately there is not an image. I understand Youyeetoo plans to provide one eventually, but I believe this device is currently not for a casual hobbyist.  To do that, the following would need to happen
  • Baked in GRUB support
  • USB boot
  • fb console
  • Use of official repositories
  • Not locking down packages 
Note that vendors lock packages to have a stable OS. But this is at the expense of developers. So... 

I do look forward to continuing to play with the device, in particular its NPU and NFC, however I won't be sticking it in a game cabinet any time soon.  It will likely get added to my home-lab rack.