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

Presentation: Adaptable Innovation: How Microsoft Leverages React Native for Strategic Advantage

Lorenzo Sciandra unveils the use of React Native across Microsoft's diverse ecosystem, emphasizing the strategic and technological reasons for its continued selection.

By Lorenzo Sciandra

How to Delight Your Developers with User-Centric Platforms and Practices

By focusing on the users, platform development teams can ensure that they build a platform that tackles the true needs of developers, Ana Petkovska said at QCon London. In her talk, Delight Your Developers with User-Centric Platforms & Practices, she shared what their Developer Experience (DevEx) group looks like and what products and services they provide.

By Ben Linders

Article: Reactive Real-Time Notifications with SSE, Spring Boot, and Redis Pub/Sub

Explore the power of reactive programming for building scalable real-time notification systems. Using Spring Boot Reactive and Spring WebFlux, leverage non-blocking operations to handle high-volume, asynchronous data flows efficiently. Discover how Redis Pub/Sub enables event-driven messaging and how the SSE protocol provides persistent connections for instant client updates without polling.

By Matteo Rossi

ASP.NET Core 9: Enhancements in Static Asset Handling, Blazor, SignalR, and OpenAPI Support

Microsoft has released .NET 9, which contains features regarding ASP.NET Core 9. This latest release focuses on optimizing static asset handling, refining Blazor's component interaction, enhancing SignalR's observability and performance, and streamlining API documentation through built-in OpenAPI support.

By Robert Krzaczyński

QCon SF: Mandy Gu on Using Generative AI for Productivity at Wealthsimple

Mandy Gu spoke at QCon SF 2024 about how Wealthsimple, a Canadian fintech company, uses Generative AI to improve productivity. Her talk focused on the development and evolution of their GenAI tool suite and how Wealthsimple crossed the "Trough of Disillusionment" to achieve productivity.

By Anthony Alford

© 2024   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service