<?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: Ria Mehta</title>
    <description>The latest articles on DEV Community by Ria Mehta (@ria_mehta_51fae3f90cda31e).</description>
    <link>https://dev.to/ria_mehta_51fae3f90cda31e</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%2F3930403%2Fa01f95ad-2989-4660-a7b3-acdc026e346e.png</url>
      <title>DEV Community: Ria Mehta</title>
      <link>https://dev.to/ria_mehta_51fae3f90cda31e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ria_mehta_51fae3f90cda31e"/>
    <language>en</language>
    <item>
      <title>SEANCE: Talk to the Ghost of a Dead Programming Language (runs offline)</title>
      <dc:creator>Ria Mehta</dc:creator>
      <pubDate>Thu, 29 Oct 2026 15:06:47 +0000</pubDate>
      <link>https://dev.to/ria_mehta_51fae3f90cda31e/seance-talk-to-the-ghost-of-a-dead-programming-language-runs-offline-4961</link>
      <guid>https://dev.to/ria_mehta_51fae3f90cda31e/seance-talk-to-the-ghost-of-a-dead-programming-language-runs-offline-4961</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;SEANCE is a terminal chatbot where you summon the spirit of a dead (or dying) programming language and talk to it. You can choose any one of COBOL, FORTRAN, Perl or Lisp, and the ghost answers in its own voice. COBOL mourns punch cards and batch jobs, FORTRAN is bitter that nobody remembers it fondly, Perl speaks in cryptic one-liners, and Lisp drowns in parentheses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://drive.google.com/drive/folders/1aeGqVZySsPoUO1lWkc6rV-ae3SGuykWa?usp=sharing" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;drive.google.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&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/ria447" rel="noopener noreferrer"&gt;
        ria447
      &lt;/a&gt; / &lt;a href="https://github.com/ria447/Seance-" rel="noopener noreferrer"&gt;
        Seance-
      &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;🕯️Seance&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Built for the Hacktoberfest Open-Source AI Challenge, Week 4: Ghost in the Machine.&lt;/p&gt;
&lt;p&gt;SEANCE is a terminal chatbot where you summon the spirit of a &lt;em&gt;dead (or dying) programming language&lt;/em&gt; and talk to it. You can choose any one of COBOL, FORTRAN, Perl or Lisp, and the ghost answers in its own voice. COBOL mourns punch cards and batch jobs, FORTRAN is bitter that nobody remembers it fondly, Perl speaks in cryptic one-liners, and Lisp drowns in parentheses.&lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Spirit&lt;/th&gt;
&lt;th&gt;Personality&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;COBOL&lt;/td&gt;
&lt;td&gt;Weary bank-mainframe veteran, haunted by punch cards and batch jobs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;FORTRAN&lt;/td&gt;
&lt;td&gt;Proud rocket-trajectory scientist, bitter that nobody remembers it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Perl&lt;/td&gt;
&lt;td&gt;Cryptic one-liners and regex riddles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Lisp&lt;/td&gt;
&lt;td&gt;Drowning in parentheses, mourning the AI winter&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;They will still answer real coding questions, just in character.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why open-source AI?&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Works with Wi-Fi off.&lt;/strong&gt; Everything runs locally; no API, no cloud.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free to run.&lt;/strong&gt; No API key…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ria447/Seance-" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Model used:&lt;/em&gt; Google Gemma 3(1B) that runs on Ollama.&lt;br&gt;
&lt;em&gt;Code:&lt;/em&gt; A single Python script using the &lt;code&gt;ollama&lt;/code&gt; library.&lt;br&gt;
&lt;em&gt;Personas:&lt;/em&gt; Each spirit is a system prompt (already in the code).&lt;br&gt;
&lt;em&gt;What the model got wrong:&lt;/em&gt; It nails the character/persona but provides wrong syntax for the code. The Lisp ghost wrote correct code with one extra closing parenthesis. The FORTRAN ghost wrote BASIC-style pseudo-code instead of real FORTRAN (wrong &lt;code&gt;MOD&lt;/code&gt; usage, missing &lt;code&gt;END IF&lt;/code&gt;, hardcoded input), and it did this consistently across repeated runs of the same prompt. So SEANCE is entertainment, not a coding assistant.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;It works with wifi off.&lt;/li&gt;
&lt;li&gt;Costs nothing to run- no API, no billing.&lt;/li&gt;
&lt;li&gt;Nothing I type leaves my machine.&lt;/li&gt;
&lt;li&gt;I could pick a model that fits my laptop. My storage was limited, so I chose a 1B model (about 800 MB). Swapping to a bigger or different model is a one-line change (&lt;code&gt;MODEL = "gemma3:1b"&lt;/code&gt;). A closed API doesn't give you that choice.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The moment that made me laugh: I asked the Lisp ghost for a function that squares a number, and it got the code almost right but added one extra closing parenthesis- a Lisp ghost, haunted by its own brackets- also, the audacity of the FORTRAN spirit to assume that the code it gave was correct.&lt;/p&gt;

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