Using Streamlit to Create Multiple Choice Questions (MCQ)

Written by on March 26, 2024 in Programming, Python with 0 Comments
Using Streamlit to Create Multiple Choice Questions (MCQ)

Is it possible to build a web application in Python to display (and evaluate) multiple-choice questions? Even more importantly, can we render “latex”  equations as part of the MCQ? After briefly looking at NiceGUI, Flet, Solara, Trame, and Streamlit, I decided to go ahead with Streamlit to build this web app.  Even though this was […]

Continue Reading

The Hy Programming Language – Part 2

Written by on March 9, 2024 in Hy Language, Programming with 0 Comments
The Hy Programming Language – Part 2

I wrote about “Hy” language in an earlier article. Since then I have been exploring the language some more, trying to get a better understanding of its features.  The following example uses inheritance to model different types of “Space” objects such as Asteroid, SpaceShip and Planet. It is taken from an earlier article that explained […]

Continue Reading

Using Similarity Search in Homeopathy Repertorization Software – Part 2

Written by on February 21, 2024 in Homeopathy, Python with 0 Comments
Using Similarity Search in Homeopathy Repertorization Software – Part 2

In my earlier article, I had explained how natural language text describing a symptom can be converted to a formal “rubric” by using a vector database. In today’s article, I will show how this can be extended to support multiple symptoms in the input text with automatic repertorisation to identify potential remedies. Let us consider […]

Continue Reading

Using Similarity Search in Homeopathy Repertorization Software

Written by on February 11, 2024 in Homeopathy with 0 Comments
Using Similarity Search in Homeopathy Repertorization Software

Homeopathy Repertorization software such as RadarOpus, MacRepertory, Vithoulkas Compass, and Synergy Homeopathic Software (SHS) are widely used by homeopaths to speed up case taking, repertorization and case analysis. All of them have a “Search” feature, where the given text is searched (typically based on key words and synonyms) against one or more repertories and the […]

Continue Reading

The Hy Programming Language

Written by on January 28, 2024 in Hy Language, LISP, Python with 0 Comments
The Hy Programming Language

In an earlier article I had explained how to execute Python code from within Common Lisp using “CLPython” package. In contrast to that approach, “Hy” is a Lisp-style language (not compatible with Common Lisp) that is embedded in Python and hence provides seamless interoperability with Python code. Installation is straightforward (it is usually a good idea to […]

Continue Reading

Book Review: Homeopathic Strategies and Maps for Acute Conditions (Part-1)

Written by on January 10, 2024 in Book Review, Homeopathy with 0 Comments
Book Review: Homeopathic Strategies and Maps for Acute Conditions (Part-1)

Title: Homeopathic Strategies and Maps for Acute Conditions (Part-1) Author: Dr.Gaurang Gaikwad Publisher: Dr.Gaurang Gaikwad Year: 2024 This is the fourth and newest book by Dr.Gaurang Gaikwad of Mumbai. I have reviewed two of his other books earlier. There are hundreds of books on treating acute cases in homeopathy, but what differentiates this book from […]

Continue Reading

Homeopathy Case Analysis Using Retrieval-Augmented Generation

Written by on December 26, 2023 in Homeopathy, Natural Language Processing with 1 Comment
Homeopathy Case Analysis Using Retrieval-Augmented Generation

Homeopaths, after detailed case taking, usually ‘“repertorize”  the case using software such as RadarOpus, MacRepertory, Vithoulkas Compass, etc., and finally consult a Materia Medica to confirm the remedy selection. There are some highly experienced homeopaths who have the gift of identifying the correct remedy without even repertorizing the case, but this is rare. In general, […]

Continue Reading

Generating Polynomials – Part 2

Written by on December 10, 2023 in LISP, Programming with 0 Comments
Generating Polynomials – Part 2

In my last article, I showed how we can use Prolog to generate univariate Polynomials. After I finished that article, I wanted to try Lisp for the same task. Prolog is “declarative”, whereas Lisp is primarily “functional” (it supports OOP as well), so the implementation will exhibit that difference. Here is the primary function generate-polynomial […]

Continue Reading

Generating Polynomials in Prolog

Written by on November 26, 2023 in Programming, Prolog with 0 Comments
Generating Polynomials in Prolog

Polynomial is an important topic in High School maths curriculum. There are many online courses that explain the topic in great details with lots of examples and sample exercises. Wouldn’t it be interesting if we can generate polynomials of given degree programmatically? It turns out that this is not such a hard problem after all. […]

Continue Reading

Book Review: C++ Initialization Story

Written by on November 6, 2023 in Book Review, C++ with 0 Comments
Book Review: C++ Initialization Story

Title: C++ Initialization Story – A Guide Through All Initialization Options and Related C++ Areas Author: Bartłomiej Filipek Publisher: Leanpub Year: 2023 Can you believe that there is a language where “initialization” itself involves many subtleties and a whole book can be devoted to this topic? Yes, modern C++ is such a language! While many […]

Continue Reading

Top