Take a peek under the covers of a website

Here's a website with open source code:

 

A cheap replacement for ching(6)

ching(6), the old amusement found in BSD 4.[234], has disappeared from the face of the net. I wanted it back. Fortunately finding the full text of the Wilhelm translation of the I Ching was easy. So was writing a program to read it.

ching.txt: The text of the Wilhelm translation. Be careful editing it -- the program is a bit sensitive to where the blank lines are. Looks OK on a text terminal, but not marked up for fancy printing (although some of the overstriking is still in there).

ching.c: a simple little program to auto-cast hexagrams and display readings from ching.txt, roughly compatible with the original interface to ching(6). ICHING_PATH tells it where to look for ching.txt.

The random I Ching CGI on the main page is a version of ching.c (ching-cgi.c) modified to work as a CGI program when called by Steven Grimm's excellent uncgi. It also uses an HTML version of ching.txt (ching.html).


Steve VanDevender

Last modified: Wed Feb 23 15:04:06 PST 2000

Views: 55

Comment

You need to be a member of Codetown to add comments!

Join Codetown

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

Qwen Team Releases Qwen3-Coder, a Large Agentic Coding Model with Open Tooling

Qwen Team has announced Qwen3-Coder, a new family of agentic code models designed for long-context, multi-step programming tasks. The most capable variant, Qwen3-Coder-480B-A35B-Instruct, is a Mixture-of-Experts model with a total of 480 billion parameters and 35 billion active parameters per forward pass.

By Robert Krzaczyński

AWS Introduces Vector Capabilities on Amazon S3

At the recent AWS Summit in New York City, AWS announced the preview of Amazon S3 Vectors, claiming to be the first cloud object store with native support for storing large vector datasets. The new option offers subsecond query performance, reducing the cost of storing AI-ready data compared to traditional vector databases.

By Renato Losio

Google Apigee Adds Built-in LLM Governance with Model Armor

Google Cloud has launched the public preview of Model Armor, a native LLM governance framework integrated into the Apigee API management platform. Detailed in a community post, Model Armor introduces out-of-the-box enforcement for LLM-specific policies such as prompt validation, output filtering, and token-level controls at the API layer.

By Leela Kumili

Podcast: Building Human-Centered Engineering Cultures with Leadership, Diversity, and Trust

In this podcast, Shane Hastie, Lead Editor for Culture & Methods, spoke to Tara Hernandez about the importance of building generative cultures with strong leadership development, psychological safety, diversity, and transparency over simply chasing new technologies. Technology should be a means to solve meaningful human problems rather than an end in itself.

By Tara Hernandez

Uber Unveils Multi-Cloud Secrets Management Platform to Secure 150,000+ Credentials

Uber has revealed details of its internally developed Multi-Cloud Secrets Management Platform, designed to address the security challenges of managing over 150,000 secrets across its massive distributed infrastructure. The platform represents a significant evolution in how large-scale technology companies approach credential security in multi-cloud environments.

By Claudio Masolo

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service