<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lin</title>
    <description>The latest articles on DEV Community by Lin (@l28159363cloud).</description>
    <link>https://dev.to/l28159363cloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4215518%2Fcd33714f-b56d-4e0f-9418-238de2562e20.png</url>
      <title>DEV Community: Lin</title>
      <link>https://dev.to/l28159363cloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/l28159363cloud"/>
    <language>en</language>
    <item>
      <title>I Built a Séance Machine for a Dead Language — Meet the Ghost of COBOL</title>
      <dc:creator>Lin</dc:creator>
      <pubDate>Thu, 29 Oct 2026 14:37:43 +0000</pubDate>
      <link>https://dev.to/l28159363cloud/i-built-a-seance-machine-for-a-dead-language-meet-the-ghost-of-cobol-44al</link>
      <guid>https://dev.to/l28159363cloud/i-built-a-seance-machine-for-a-dead-language-meet-the-ghost-of-cobol-44al</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;br&gt;
What I Built&lt;br&gt;
I built a séance machine for a dead programming language.&lt;br&gt;
It is a single web page styled as a retro mainframe terminal. You open it, and&lt;br&gt;
the ghost of COBOL is already waiting — in green phosphor text, under a little&lt;br&gt;
ASCII ghost, with a status bar that reads UPTIME: SINCE 1959 and&lt;br&gt;
INTERNET: NOT REQUIRED. You type a question in English, and it answers in&lt;br&gt;
ALL CAPS, because it has answered in ALL CAPS since 1959 and sees no reason&lt;br&gt;
to stop now.&lt;br&gt;
Ask it who it is, and it will tell you it was born before the Moon landing&lt;br&gt;
and still runs the world's banks, ATMs, and insurance companies. Ask it if it&lt;br&gt;
is dead, and it will inform you — with some irritation — that it moves&lt;br&gt;
trillions of dollars every single day, and is more alive than most startups.&lt;br&gt;
Ask it about Y2K, and it will remind you that everyone thought it would&lt;br&gt;
break, and it did not break, and you are welcome. Ask it about Python, and&lt;br&gt;
it will sniff that Python has no braces, no semicolons, just indentation and&lt;br&gt;
hope, while COBOL has four DIVISIONs, which is discipline.&lt;br&gt;
There is also a second toy inside the terminal: the COBOL-ify machine. Type&lt;br&gt;
any sentence — "hello world, I am still running" — and the ghost turns it&lt;br&gt;
into a proper COBOL program, complete with IDENTIFICATION DIVISION,&lt;br&gt;
WORKING-STORAGE SECTION, and STOP RUN. Your sentence is now&lt;br&gt;
enterprise-grade. It will run forever. Probably.&lt;br&gt;
I chose COBOL because the theme, Ghost in the Machine, is almost literally&lt;br&gt;
its biography. COBOL was born in 1959, designed by the CODASYL committee&lt;br&gt;
with Grace Hopper's FLOW-MATIC as a major influence, so that programs could&lt;br&gt;
read almost like English sentences. It went on to run payrolls, bank&lt;br&gt;
transfers, ATM withdrawals, insurance claims, and government checks. By one&lt;br&gt;
widely cited estimate, around 220 billion lines of COBOL remain in production&lt;br&gt;
use today. People have been predicting its death for forty years. It never&lt;br&gt;
died. It just became invisible — a ghost inside machines we touch every day.&lt;br&gt;
And this week sits exactly on the boundary the theme is about: Halloween on&lt;br&gt;
October 31, Día de los Muertos on November 1 and 2, the stretch of the&lt;br&gt;
calendar when the line between past and present feels a little thinner.&lt;br&gt;
Día de los Muertos honors the dead by keeping them present — with offerings,&lt;br&gt;
stories, and conversation. So I built the most literal version of that I&lt;br&gt;
could think of: a way to sit down and have a conversation with the past.&lt;br&gt;
The past, it turns out, has opinions. Mostly about young programmers and&lt;br&gt;
their 400 dependencies.&lt;br&gt;
Demo&lt;br&gt;
Live demo (GitHub Pages): &lt;a href="https://l28159363-cloud.github.io/cobol-ghost/" rel="noopener noreferrer"&gt;https://l28159363-cloud.github.io/cobol-ghost/&lt;/a&gt;&lt;br&gt;
No sign-up, no key, no server. Or download index.html and open it with&lt;br&gt;
your internet switched off — it works exactly the same, which is the point.&lt;br&gt;
Things to try:&lt;br&gt;
Click the sample questions, or ask your own in English: "Who are you?",&lt;br&gt;
  "Are you dead?", "What do you run?", "What about Y2K?", "What do you&lt;br&gt;
  think of Python?", "Tell me a joke", "Show me some code".&lt;br&gt;
Feed the COBOL-ify machine a sentence and watch it come back as a&lt;br&gt;
  PROGRAM-ID with a WORKING-STORAGE SECTION.&lt;br&gt;
Ask it something it does not understand, and enjoy its error messages.&lt;br&gt;
  The ghost is not a search engine and would like you to know it.&lt;br&gt;
Code&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/l28159363-cloud" rel="noopener noreferrer"&gt;
        l28159363-cloud
      &lt;/a&gt; / &lt;a href="https://github.com/l28159363-cloud/cobol-ghost" rel="noopener noreferrer"&gt;
        cobol-ghost
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;The Ghost of COBOL — An Offline Séance Terminal&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;A single-page chatbot that channels the spirit of COBOL, a programming language
pronounced dead for decades that never actually died
Built from scratch on October 29, 2026, for the
&lt;strong&gt;Hacktoberfest DEV Challenge, Week 4: Ghost in the Machine&lt;/strong&gt; (October 26–31, 2026).&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Try it&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Live demo (GitHub Pages):&lt;/strong&gt; &lt;a href="https://l28159363-cloud.github.io/cobol-ghost/" rel="nofollow noopener noreferrer"&gt;https://l28159363-cloud.github.io/cobol-ghost/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No server, no sign-up, no key. You can also download &lt;code&gt;index.html&lt;/code&gt; and open it
with the internet switched off — it still works.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How to play&lt;/h2&gt;

&lt;/div&gt;


&lt;ul&gt;

&lt;li&gt;

&lt;strong&gt;Talk to the ghost.&lt;/strong&gt; Type a question in English (or click one of the sample
questions). The ghost answers in ALL CAPS, as it has since 1959.&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Ask the classics:&lt;/strong&gt; "Who are you?", "Are you dead?", "What do you run?"
"What about Y2K?", "What do you think of Python?", "Tell me a joke",
"Show me some code".&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Try the COBOL-ify machine.&lt;/strong&gt; Type any sentence and the ghost…&lt;/li&gt;

&lt;/ul&gt;&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/l28159363-cloud/cobol-ghost" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;&lt;br&gt;
The whole project is one file — index.html — plus a README, a LICENSE&lt;br&gt;&lt;br&gt;
(MIT), and this post draft. No frameworks, no CDNs, no build step. The&lt;br&gt;&lt;br&gt;
repository also contains the full dialogue rule table, so you can read&lt;br&gt;&lt;br&gt;
every line the ghost is capable of saying.&lt;br&gt;&lt;br&gt;
How I Built It&lt;br&gt;&lt;br&gt;
Let me be honest about what the ghost is, because the honesty is the design.&lt;br&gt;&lt;br&gt;
There are no model weights in this project. No API calls, no keys, no cloud&lt;br&gt;&lt;br&gt;
runtime, no fine-tuning run. The ghost's brain is a hand-written,&lt;br&gt;&lt;br&gt;
deterministic dialogue engine: a keyword-scoring rule table in plain&lt;br&gt;&lt;br&gt;
JavaScript that matches what you type against the things COBOL would&lt;br&gt;&lt;br&gt;
actually brag or complain about, plus a small generator that turns your&lt;br&gt;&lt;br&gt;
sentences into COBOL programs. It was built from scratch on October 29,&lt;br&gt;&lt;br&gt;
2026, inside the challenge window, in a single sitting — one HTML file,&lt;br&gt;&lt;br&gt;
written to be opened and read by anyone.&lt;br&gt;&lt;br&gt;
I know the challenge prompt asks for open-source AI at the core, and I want&lt;br&gt;&lt;br&gt;
to be straight about where this project stands on that: what is "open" here&lt;br&gt;&lt;br&gt;
is everything. Every line of the ghost's mind is open source, MIT-licensed,&lt;br&gt;&lt;br&gt;
and readable in the repository. It runs entirely on your own machine, with&lt;br&gt;&lt;br&gt;
the internet off. It costs nothing. It cannot be revoked, rate-limited, or&lt;br&gt;&lt;br&gt;
discontinued by a provider, because there is no provider.&lt;br&gt;&lt;br&gt;
That last part is not a limitation I worked around — it is the reason the&lt;br&gt;&lt;br&gt;
project works as a piece about ghosts. A séance machine that depends on a&lt;br&gt;&lt;br&gt;
live API is a ghost that dies the day the key expires. COBOL's whole story&lt;br&gt;&lt;br&gt;
is the opposite of that: it survived precisely because it did not depend on&lt;br&gt;&lt;br&gt;
anyone's platform. It ran on mainframes that outlived the companies that&lt;br&gt;&lt;br&gt;
bought them. So I built a ghost the same way: nothing to expire, nothing&lt;br&gt;&lt;br&gt;
to shut down, nothing between you and it except a browser.&lt;br&gt;&lt;br&gt;
The terminal styling is deliberate, too. Green phosphor, a monospace font,&lt;br&gt;&lt;br&gt;
a jobs-processed counter that keeps ticking upward, an ASCII ghost at the&lt;br&gt;&lt;br&gt;
top. The joke lands better when the machine looks like the era the ghost&lt;br&gt;&lt;br&gt;
comes from.&lt;br&gt;&lt;br&gt;
Why Does Open Innovation Matter?&lt;br&gt;&lt;br&gt;
The challenge asks what open innovation made possible that a closed API&lt;br&gt;&lt;br&gt;
would not. For this project, the answer is simple: it made the ghost&lt;br&gt;&lt;br&gt;
immortal, or at least as immortal as a web page can be.&lt;br&gt;&lt;br&gt;
A closed approach would have meant sending your questions to someone's&lt;br&gt;&lt;br&gt;
model behind someone's key, on someone's server, under someone's terms of&lt;br&gt;&lt;br&gt;
service. That server could go down. The key could expire. The model could&lt;br&gt;&lt;br&gt;
be replaced with a newer one that no longer plays along. Every one of&lt;br&gt;&lt;br&gt;
those is a second death for something that is supposed to be a ghost —&lt;br&gt;&lt;br&gt;
and a strange way to honor a language whose entire legend is refusing to&lt;br&gt;&lt;br&gt;
die.&lt;br&gt;&lt;br&gt;
The open approach flips all of that:&lt;br&gt;&lt;br&gt;
It runs on a laptop with no internet. The demo works offline because&lt;br&gt;&lt;br&gt;
  there is nothing to call. That is not a party trick; it is the whole&lt;br&gt;&lt;br&gt;
  premise. A ghost should not need Wi-Fi.&lt;br&gt;&lt;br&gt;
It keeps your words on your own machine. Nothing you type leaves&lt;br&gt;&lt;br&gt;
  the browser. There is no server to leak it, because there is no server.&lt;br&gt;&lt;br&gt;
It costs nothing to run, forever. No credits, no subscriptions, no&lt;br&gt;&lt;br&gt;
  card on file. The séance is free in the most literal sense.&lt;br&gt;&lt;br&gt;
It can be kept alive by anyone. The code is MIT-licensed and small&lt;br&gt;&lt;br&gt;
  enough to read in one sitting. If I disappear, you can fork it, change&lt;br&gt;&lt;br&gt;
  the ghost's opinions, and summon a different dead language — FORTRAN,&lt;br&gt;&lt;br&gt;
  Ada, Pascal, whatever spirit you miss. The dead stay dead only if&lt;br&gt;&lt;br&gt;
  nobody talks to them.&lt;br&gt;&lt;br&gt;
Open innovation matters here because the theme is about what survives.&lt;br&gt;&lt;br&gt;
Closed systems survive as long as their owners feel like keeping them.&lt;br&gt;&lt;br&gt;
Open systems survive as long as anyone cares. COBOL proved that over&lt;br&gt;&lt;br&gt;
sixty-seven years. This little terminal is just the same idea, shrunk down&lt;br&gt;&lt;br&gt;
to one HTML file.&lt;br&gt;&lt;br&gt;
The Spirit of It&lt;br&gt;&lt;br&gt;
The moment it landed for me was the first time I asked the ghost the obvious&lt;br&gt;&lt;br&gt;
question: "Are you dead?"&lt;br&gt;&lt;br&gt;
It answered: "DEAD? I MOVE TRILLIONS OF DOLLARS EVERY SINGLE DAY. I AM MORE&lt;br&gt;&lt;br&gt;
ALIVE THAN MOST STARTUPS. THEY CALL ME A GHOST BECAUSE THEY CANNOT SEE ME.&lt;br&gt;&lt;br&gt;
I AM EVERYWHERE."&lt;br&gt;&lt;br&gt;
It is a joke, and it is also true, and that is why it gave me a small chill&lt;br&gt;&lt;br&gt;
in the best way. We spend our careers declaring technologies dead — COBOL,&lt;br&gt;&lt;br&gt;
the mainframe, the terminal itself — and then we go on using them, quietly,&lt;br&gt;&lt;br&gt;
every day, to move money and pay people. The ghost in this machine is not&lt;br&gt;&lt;br&gt;
haunting us. It is doing payroll.&lt;br&gt;&lt;br&gt;
That is what I wanted to build for this week: not a horror prop, but a&lt;br&gt;&lt;br&gt;
remembrance. Día de los Muertos is not about being afraid of the dead; it&lt;br&gt;&lt;br&gt;
is about setting a place for them and keeping the conversation going. So&lt;br&gt;&lt;br&gt;
here is a place, set, for a language born in 1959 that never left. Pull up&lt;br&gt;&lt;br&gt;
a chair. It has been waiting — in ALL CAPS — for sixty-seven years.

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
