Posts

Been doing a little work - Vanus Web Server and AI

Vanus Web Server and AI https://www.myberlinaustin.com/vanapp/vanus-home-messages.van   https://www.myberlinaustin.com/vanapp/index.html ... https://github.com/berlinbrown/vanus-play-ai-java https://github.com/berlinbrown/vanus-play-framework ... Vanus Play starts with a few simple rules: No JavaScript. No <script> tags. No client-side application frameworks. No massive frontend dependency trees. HTML is for documents and content. CSS is for presentation. HTTP is for communication. The server handles application logic. Forms and links are first-class interactions. Pages should work without requiring a client-side runtime. Web content should remain readable by both humans and machines. And: An educational decoder-only transformer implemented with Java numerical kernels, Java autograd, and a small Scala command-line trainer. It uses no PyTorch, pretrained weights, native BLAS, or external tokenizer. It includes its own raw byte and educational BPE tokenizers.

Revitalize Numenta HTM - Hierarchical Temporal Memory

Image
Numenta HTM (Hierarchical Temporal Memory) is a biologically constrained machine intelligence technology that models the structural and algorithmic properties of the mammalian neocortex https://github.com/berlinbrown/htm.java This is adding updates to the project. The visualizer simulates a room thermostat reporting 24 hourly readings each day: ```text 12 AM 64°F → 1 AM 63°F → ... → Noon 76°F → ... → 11 PM 65°F → next day ``` This example runs the complete learning path: ```text hour ─────────→ periodic ScalarEncoder ─┐                                        ├→ Spatial Pooler → active columns → Temporal Memory temperature ──→ ScalarEncoder ─────────┘ ``` The temperatures are simulated sensor readings, but they are ordinary real-world values processed by the actual encoder and Spatial Pooler. Numbers such as `[2, 3, 5]` are internal column addresses, not temperatures and not numbers the mo...

GPT Repost this old blog post on Java

Image
I had GPT rewrite this post. https://www.myberlinaustin-atl.com/2008/06/is-java-new-cobol-yes-what-does-that_14.html In 2008 there is a phrase floating around the software community: “Java is the new COBOL.” Usually it is followed by complaints about EJBs, XML configuration, enterprise frameworks, or somebody announcing that Ruby on Rails is going to replace everything. I think that misses the more interesting question. The important question isn't whether Java sucks. The question is what happened to COBOL, and whether Java developers should learn something from it. COBOL was created in 1959 and became enormously important for business computing. Banks, insurance companies, governments, and other large organizations built critical systems with it. Many of those systems still work. That is worth emphasizing because old technology is not necessarily bad technology. If a banking system has processed transactions correctly for decades, replacing it simply because the programming langu...

DNA from Eye of Coder

Image
  Many years ago, in 2008, a programmer researched DNA and how the cell works and wrote a software-related analogy for the process. It was a great overview, especially because he translated a lot of the biological terminology into concepts that engineers could understand. I kept thinking about the article afterward and wanted to add my own spin to it. The author didn't really do anything wrong—the article is excellent—but I personally wished he had reduced the software analogy to a paragraph or two that an engineer could quickly visualize. As for the underlying biology, I am not a scientist, so I am certainly not trying to refute or replace his explanation. The article ends with an analogy that I particularly enjoyed: DNA is not a computer programming language, but there are some interesting similarities. We can loosely imagine a cell as a computer running its own system. Each cell contains essentially the same DNA, but different cells use different portions of that information. Wh...

Rethinking Lisp/Scheme in Erlang and Java

 I wrote these old blog entries a while back.  Now rethinking them. https://www.myberlinaustin-atl.com/2008/07/simple-lisp-implementation-in-java-ode.html https://www.myberlinaustin-atl.com/2008/07/neophyte-schemelisp-interpreter-in.html Lisp can look strange if you come from Java, C, C++, or another procedural language. There are parentheses everywhere, functions seem to be mixed with data, and even a simple expression like (+ 1 2 3 4) does not look like the code most programmers are used to reading. Instead of starting with Lisp theory, I think it is easier to start with something every computer science student has probably implemented at some point: a linked list. A linked list has a node containing some data and a reference to the next node. You can walk through the nodes, print them, add their values, or perform some other operation on each element. Keep that basic data structure in mind because it gets us surprisingly close to understanding Lisp. Consider the Lisp expre...

AI History

Image
2005 — Numenta Jeff Hawkins co-founds Numenta around the idea of reverse-engineering the neocortex. This eventually produces HTM and the Thousand Brains theory. 2010 — DeepMind DeepMind is founded by Demis Hassabis, Shane Legg and Mustafa Suleyman. Its path is heavily influenced by reinforcement learning, neuroscience and learning through environments/games. 2012 — AlexNet / deep-learning explosion 2013–15 — DQN / Atari DeepMind demonstrates deep reinforcement learning directly from game pixels. 2015 — OpenAI 2015–16 — AlphaGo DeepMind combines neural networks, search and reinforcement learning; AlphaGo defeats Lee Sedol in 2016. 2017 — Transformer Google researchers introduce the architecture that becomes the foundation of modern LLMs. Google DeepMind's history specifically credits the Google Brain team with the Transformer work. 2018 — GPT-1 2020 — GPT-3 / AlphaFold 2 era 2021 — Anthropic 2021 — A Thousand Brains Hawkins publishes the book laying out the Thousand ...

Response to the CNN Article AI Will Off Humanity

Image
Random Picture of Toy AI Project There has been a lot of discussion lately about artificial intelligence ending humanity. Maybe it happens in one year. Maybe it happens in ten. Depending on whom you ask, there is some percentage chance that AI eventually wipes us out. I am not going to lean completely one way or the other. I am an engineer, not an AI safety researcher, but I do have some thoughts about the logic behind that proposition. A recent CNN article gave one of the more direct versions of the argument: https://www.cnn.com/2026/09/17/tech/how-will-ai-exterminate-humanity-cec One thing I continually hear, even when reporters interview leaders of major AI companies, is some version of this question: "Could AI destroy humanity?" And sometimes the answer is essentially: yes, it could, possibly within some number of years. What I don't hear discussed nearly enough is how . That seems like an important part of the argument. If someone says there is a meaningful probabili...

Vanus AI - Educational Toy AI LLM

Image
 One of the interesting things you can do with the new AI LLM technology is rebuild AI with AI.  Here is a project to take some of the python based technology and convert into Java, a small toy LLM in Java and Scala wrapper.  It is not practical due to performance issues but you can see the use of basic procedural and OOP concepts for the LLM.  Used AI for the documentation and generated code. https://github.com/berlinbrown/vanus-play-ai-java An educational decoder-only transformer implemented with Java numerical kernels, Java autograd, and a small Scala command-line trainer. It uses no PyTorch, pretrained weights, native BLAS, or external tokenizer. Architecturally, yes: causal self-attention, RoPE, RMSNorm, SwiGLU, backprop through an autograd tape, AdamW, and autoregressive next-byte prediction via cross-entropy are the same pieces production transformers use (see Architecture below). Nothing special-cases words or does string matching; every response comes out of...

Repost on Cellular Automata - More Scientific GPT

 This is a repost from an earlier blog post.  More scientific sounding. Abstract Modern software systems present computation through increasingly high levels of abstraction. An expression such as 4 * 4 appears to the programmer as a primitive operation, while its physical realization ultimately depends on a hierarchy of compiler transformations, instruction execution, digital logic, and state transitions. Cellular automata provide an alternative model in which global computation arises explicitly from repeated applications of simple local rules. This paper examines cellular automata from the perspective of software computation rather than exclusively as mathematical dynamical systems. Beginning with Boolean state transitions and Conway's Game of Life, we develop the connection between elementary cellular automata and conventional digital computation. We then examine a multi-state cellular automaton capable of representing the computation of . Rather than invoking an explicit m...

Reposting interesting article - An Alien Mind

https://openai.com/index/an-alien-mind/ The article from "Jakub Pachocki, Chief Scientist at OpenAI"

Repost Physics in Java Example

Image
 I thought this was interesting, repost. Here is an example program that shows how to implement kinematic equations for projectile motion using Java and the Swing 2D graphics libraries. Equation used to plot projectile path along the X and Y axis The Java code for these equations are simple, here is the current implementation of the doSimulation routine. The routine calculates the X and Y positions of the projectile over time.  The project only consists of two classes, the class for rendering the simulation and initializing the application.  The other class contains logic for calculating the X and Y positions. Java code, DoSimulation routine, see s.i and s.k for the X/Y positions Java 2D Cannon Physics Simulation Java Source https://jvmnotebook.googlecode.com/svn/trunk/blog/java/SimpleCannonPhysicsJava So today we see man a highly evolved creature who not only acts but thinks and feels. All these thoughts, feelings and emotions are interrelated. The body and the mind of m...

Updates to https://www.myberlinaustin.com/

 Made updates to :  https://www.myberlinaustin.com/ Berlin from Austin is a professional software engineer with more than fifteen years of professional application development experience and a proven track record of producing quality distributed software. My non-professional programming career began in Austin, Texas when I was 10 years old with the TRS-80 and early BASIC. And more: https://www.myberlinaustin.com/new-home.html

Working on New Simple Web Project - Vanus Play

 Working on simpler web project https://github.com/berlinbrown/vanus-play-framework ... What is it? Vanus Play Framework - Web Server, Framework and Browser Client for a New Simpler Web Basically, I am looking for a MVC driven, no javascript, no ads, no or limited cookies, basic, basic. Here is the overview from github A toy web server and application framework for a simpler, saner web. Vanus Play is an experimental Java web server and application framework built around a simple idea: The web does not need to be complicated. The goal of the project is to support and enforce a simpler, saner web system with rules. Vanus Play is intentionally opinionated. It explores what a modern web could look like if we removed layers of complexity that have accumulated around traditional websites and applications.

Random Digital Electronic Art

Image
Just random art-looking things that are interesting to me. Fractals, 3D scenes, and other visual experiments. #art. A look at the digital world.

Move towards the hardware

Image
One thing I keep thinking about with the rise of AI and LLMs is that we may eventually have to look more toward the physical world for our creative work. Software has become the place where so much of our creativity happens—writing, music, images, games, websites, applications. But if AI can increasingly generate all of those things, the value of simply producing another piece of software may start to change. Maybe the interesting work moves back into the physical world: building things, making things, designing spaces, working with materials, creating experiences, or combining software with something tangible. Software was never really supposed to be the product anyway. It was supposed to be a tool for creating something else. Perhaps AI just makes that distinction more obvious.

It is alive. Game brought back after 25 plus years

Image
 Builds on Mac, use of OpenGL and modern C++ libraries. https://github.com/berlinbrown/OctaneMechOpenGLGame A small 3D game project built on the Mac using OpenGL and modern C++ libraries. Just experimenting with graphics, game development, and getting things to move around in a 3D world. Nothing too serious—just another one of those projects where I wanted to see how far I could take an idea.

News - US and Isreal striking Iran

 News - US and Isreal striking #Iran

More cellular automata usage - basic plant simulation

Image
 This is a basic plant simulation with Laterna library in Java - https://www.baeldung.com/java-lanterna First goal is: Current state includes water and seed droplets hitting the ground and increasing the water level in the soil.  The seeds in next phase will sprout into plants. https://github.com/berlinbrown/umbra-cellular-automata-game/releases/tag/1.0.1

Game Building - Thanks Gpt

 Old game is building, updated per chat gpt. https://github.com/berlinbrown/OctaneMechOpenGLGame/tree/master/gameupdates/mac/umbramech

Fun with terminal applications - cellular automata - game of life

Image
  Adding basic game of life terminal simulation in Java https://github.com/berlinbrown/umbra-cellular-automata-game/tree/main/javatermsim/termsim