That said, I think it still presents itself as if the fly is being controlled by the connectome, when (if I'm reading the source correctly) it's more accurate to say scripted behaviors have been hooked up to be triggered by the connectome.
Put another way, you might as well have the "escape" trigger open a YouTube video of a fly flying away. That would probably be less misleading too.
Can someone explain if this software is ethical?
> Honesty section:
I wouldn’t mind an human written README
https://www.instagram.com/p/DMfi-9Vsl-u/
> Infinite Pain is a computer running a deterministic neural simulation of a microscopic nematode worm’s brain (c. elegans), subjected to regular pain stimuli.
I am asking Claude to port this to the browser and I'll host it, so you can try it without installing anything.
Some details about the port: Claude is able to do porting tasks like this. I'll put up a link when you can try it in your browser. I was able to get it to port the complete BitNet b1.58 2-billion parameter model several versions ago (in February, so this would have been Opus 4.5) to browser, so it can do so. This will run on the browser. I'll have it make it so that on mobile you can tap the fly or turn on the camera and it sees you, and same on desktop actually. Since the connectome is only 668 neurons, this will run super fast. Actually I'll make it allow for several flies, and let you drop food. I did something like this before here[1] but using the real connectome is something very different and very amazing. I'll have it add an experimental 3D mode with threejs, I'm not sure if that is also possible or not, we'll have to see it. This size of task usually takes Claude a few hours, so check my comment in the morning for the implementation, I'll reply here once it's done and hosted.
[1] https://stateofutopia.com/papers/1/evolving-brains-cull-long...
If you do not think of fruit flies as moral patients, sure, yeah, who cares, they're like just fruit flies you know?
Probably not. People have been coming up with ethical frameworks for thousands of years and we have yet to come to a consensus.
So it’s very unlikely that someone can say conclusively whether this is ethical or not, because that would require us to either 1) prove a single ethical framework is correct and then apply that framework to this software or 2) prove that under all possible ethical frameworks this software is either ethical or not ethical.
This one gets to me. Not only is it useless (paragraph would have the same meaning if it was removed) but wdym "honesty section," Claude? The whole readme should be honest! One of the many causes of psychological damage when reading AI-generated technical writing is the reminder that one of its tics is that declares when it's being honest or real, casting doubt on the rest.
But "The Amazing Digital Circus" explores this concept relating to human brain scans, and how the 'simulated' brains would react under simulation.
What detail level of reality would we have to emulate for an egg to grow into an adult animal?
Honestly I think we're still discovering how powerful neural networks are and certainly they can do computations that sound very close to intelligence in some contexts, but I still find it hard to think that we can simplify the whole reality of an incredibly complex chemical machinery down to a bunch of matrices multiplications.
A 3D fruit fly that lives on your macOS desktop — driven by a live spiking simulation of the real FlyWire connectome. It walks across your windows, grooms, sleeps, and decides to flee your cursor with the same neurons a real fly uses.
The fly's brain window: 23,210 real neuron soma positions from FlyWire v783, with live spikes flashing at real neuron locations. The two glowing yellow markers are the Giant Fibers — the escape command neurons. Click any region to stimulate it.
The body itself is procedural (FlyWire is a brain connectome — no body geometry exists), with a tripod gait, visible wing-beat, altitude-scaled flight, grooming, and sleep postures.
Requirements: macOS 13+, Xcode Command Line Tools (Swift 5.9+). No permissions or entitlements needed — everything it senses (cursor, window frames, clicks-as-taps, thermal state) is permission-free.
git clone https://github.com/DenisSergeevitch/desktop-fly.git
cd desktop-fly
./build.sh
./DesktopFly
A 🪰 item appears in the menu bar; quit from there. The fly wanders your desktop on a transparent, click-through overlay — it never intercepts your mouse or keyboard.
| item | effect |
|---|---|
| Pause / Resume | freeze the world |
| Show/Hide Brain | toggle the live brain window |
| Escape Test (loom) | inject a looming stimulus, watch the GF fire |
| Move to Next Display | hop the fly across monitors (shown when >1 display) |
| Add / Remove Fly | extra flies (only fly #1 carries the brain) |
| Scare Flies | startle everyone |
The brain window is interactive: hovering pauses the rotation; clicking a region "optogenetically" stimulates the ~60 nearest circuit neurons for 400 ms. The fly's reaction is whatever the real network does downstream — click the Giant Fiber and it escapes; click DNg11 and it grooms; click one side's DNa01/02 and it turns.
| body behavior | driven by |
|---|---|
| escape takeoff | DNp01 giant fiber spike |
| walk vs. rest, walking speed | DNp09 rate |
| steering | DNa01+DNa02 left−right rate difference |
| grooming | DNg11 rate |
| backward scoot | MDN burst |
| nervous darting | LC4/LPLC2 population rate |
| wing-beat effort, threat wing-raise | DNp02/04/11 rate |
| spontaneous takeoff | whole-population arousal |
The loop also closes body→brain: the gait rhythm feeds the circuit's real ascending (proprioceptive) neurons in phase with the legs, and fast cursor motion stimulates its sensory (wind) partners.
data/ ships with compact derived files. To rebuild them from the raw
FlyWire Codex dumps (~60 MB download):
mkdir -p /tmp/flywire && cd /tmp/flywire
B=https://storage.googleapis.com/flywire-data/codex/data/fafb/783
curl -O "$B/classification.csv.gz" -O "$B/coordinates.csv.gz" \
-O "$B/connections.csv.gz" -O "$B/consolidated_cell_types.csv.gz"
cd - && python3 etl.py /tmp/flywire
./DesktopFly --simtest # circuit invariants: GF silent at rest, 4 ms loom latency, ...
./DesktopFly --behaviortest # 17 end-to-end checks: stimulate neurons -> body reacts
./DesktopFly --snapshot f.png # offscreen fly render
./DesktopFly --brainshot b.png # offscreen brain render
Honesty section: the connectome gives wiring, not physiology. The LIF dynamics, neurotransmitter signs (ACh+, GABA−, Glu−), the gap-junction boost on LC→GF and wind→GF (documented electrical coupling), synaptic delays, and the sensory transduction (cursor → looming value) are standard modeling choices layered on the real graph. Everything downstream of the sensory neurons — who connects to whom, and how strongly — is FlyWire data.
Code is MIT. The files in data/ are derived from FlyWire (FAFB v783) and
are CC BY-NC 4.0 — see data/DATA_LICENSE.md.
If you use this, cite:
That hyphenated thing is always such a give. Clearly a thing discussed in the Claude conversation, made its way into the plan, then the readme. It always creates hyphenated phrases out of things it feels are core requirements.
I'm actually over caring about Claude's obsession with the concepts of "real", "honest", and "rather than". What annoys me the most now is how every single sentence, bullet, etc that even makes its way into the products it builds are advertisements for itself. Product settings pages now read like ads, or like something written by a student begging for extra credit from the teacher. You can't unsee it!
I was very excited the first time I saw a connectome as well. Years ago I managed to get most of openworm running and connected to some Lego Mindstorms to let the worm roll around my house. I'm not even sure the connectome was finished at that time.
Honestly, I barely had any idea what I was doing and we didn't have AI tools so I was never really sure what I wired to what. I did manage to hook... something to the ultrasound sensor and... another thing to the wheels so that when the sensor was triggered it would back up.
What blew my mind was the realization that these weird hybrid critters were probably the first true immortals. Now that we have a full connectome, who will bother with another? Students will probably just keep instantiating copies of this one to tinker with forever.
Resources that outdate ChatGPT: - W. Gerstner "Neuronal Dynamics" (2014): https://neuronaldynamics.epfl.ch/online/Ch1.S3.html - E. Izhikevich "Which model to use for cortical spiking neurons?" (2004): https://ieeexplore.ieee.org/abstract/document/1333071
0) Subjecting fruitfly life to this kind of treatment is unethical.
1) Life is just physics in action.
2) Physics are just algorithm (or our physical world is a simulation)
It is not hard to understand why they think it is unethical.
My question are
1) is all life equal?
2) is all suffering unethical?
3) is this world materialistic or are there something out there?
4) should a list of items begin with 0 or 1?
Is there only one platform that's not weird, or is MacOS the only weird platform?
Some of the best platforms and software are weird. Get over it.
What these matrix multiplications are doing is approximately solving pretty high order differential equations.
The approximation is not very analog, sure. But neither is nature.
I'm observing the largest tech companies in the world release macOS/iOS-first or only, and consequently supports said version the best in this era.
It describes in part how some volunteer brain scans are actually quite agreeable to work with until they work for too many hours, and then they get fussy, but it's cool, you can always reboot them. But you need to hide from them the fact that it's been decades since they were scanned and uploaded, or they'll realize how long they've been slaves for.
https://www.sciencedirect.com/science/article/pii/S009286742...
Compare this with a c elegens nematode: ~20000 protein coding genes and 959 cells, with all the extra machinery you'll find in a eukaryotic cell.
I'm reading this as both a question of raw simulation surface and combinatorics.
Why would I write it for anything else?
I assume that’s what the author did.
Basically, the “wiring” might be the same but nothing beyond that is.
- - -
Actually, I may have spoken too soon. Looking over the code this does look like it implements spikey activation, which is more similar to living neurons. You are correct they don’t have the original weights though - in as much as the concept maps to biology.
I am curious if this has a way to dynamically modify the weights as it runs - I consider that a major missing gap between real brains and computer simulated neural networks.
An increasing percentage of people view optimism, hope, or excitement as childish or worse. Anytime you focus on anything positive they leap from the shadows to dance on your joy. It must feel nice squishing between their miserable toes or something.
Still, I appreciate your enthusiasm and hope to see you build something really cool. The future will be made by the enthusiastic, and if they don't want to come along they can wait in the car. I bet they wear blue jeans to the beach.
We don't actually know what is sufficient for modelling neural processes until we do it. But we can't really do that until we figure out how to read all the connection strengths.
If you could simulate a human perfectly, the simulated human would not be a human, it would be a simulated human. It's not a given that it would be subject to the same rules of ethics as real humans.
If the simulation of electronic impulses is exactly the same as what occurs 'in the substance', then merely the medium over which signals occur is different. In my eyes, whatever is experiencing these signals will experience them the same way.
Also relevant short story: https://qntm.org/mmacevedo
>If the simulation of electronic impulses is exactly the same as what occurs 'in the substance', then merely the medium over which signals occur is different. In my eyes, whatever is experiencing these signals will experience them the same way.
and I don't see how it's in contradiction with anything I said.
EDIT: I prefer SOMA's take on it.