Is there interest in a numerological calculator app?

Click 'The Oracle' title above to enter The Oracle Forum and discuss your quest for answers with kindred spirits. Courtesy costs nothing - if you disagree with someone, disagree politely. Abuse is not tolerated.
Svalbard
Posts: 49
Joined: 04 Feb 2019 22:54
Contact:

Re: Is there interest in a numerological calculator app?

Post by Svalbard »

Thank you, Redbeck for your valuable input, and well as Sh3rl0ck and Koguntetsu for your kind words.

I made a simple addition to the program: it can now build a very basic table, though with a couple key issues. Firstly, it only displays the letter transpositions. Secondly, if one enters a sequence of words of differing length, there will appear gaps in the cells of the table. Furthermore, since the tables on the website vary in complexity, multiple different table layouts will likely have to be created. I expect this to be the most challenging aspect of this project.

As per David Denison's suggestion, and for those who would like to contribute, I have created a GitHub repository, which contains the source code. I have built this in JavaScript using the React library.

Koguntetsu wrote: 20 Mar 2019 17:31 (Albeit the HTML is a bit hard on the eyes as it's all on one line). I'm trying to see what could be added for the creation of tables in this script, however Java isn't my specialty.
The HTML displays like that when the page source is viewed because the JavaScript library that I have used (React) formats it that way in order to minimize file size. As mentioned above, the original source code can be viewed in the GitHub repository.

Again, feel free to offer suggestions and steer me in the right direction.


Best Regards,
Svalbard
Svalbard
Posts: 49
Joined: 04 Feb 2019 22:54
Contact:

Re: Is there interest in a numerological calculator app?

Post by Svalbard »

I have made a few improvements to the table output. For one, it no longer displays any gaps. All changes I make show up at the aforementioned address: http://45.77.220.106/
User avatar
H4ck3rm4n
Posts: 2
Joined: 21 Mar 2019 15:41
Contact:

Re: Is there interest in a numerological calculator app?

Post by H4ck3rm4n »

Hello world, I am the man in the discord chat.

I've been in contact with Koguntetsu through other means for the last couple of days, and have been working on my own version of a table conversion program in python. Of course, I keep finding small things to change, but I am happy enough with its current state that I felt I shall release it for the rest of the forum to ponder and use.

In its current state, it takes in a simple sentence string, and outputs all the relevant data to a CSV file, which can be opened in almost every spreadsheet program ever created, and you can use third-party libraries (such as is described here: https://www.codediesel.com/data/quick-w ... ml-tables/ and github here: https://github.com/derekeder/csv-to-html-table) to convert it to the HTML tables used elsewhere on the site.

I used the first "FOR EVERY ACTION THERE IS AN EQUAL AND OPPOSITE REACTION" table located at the bottom of the PHYSICS page (http://www.973-eht-namuh-973.com/Alchemy/PHYSICS%20.htm) as my guide. It contains first letter reduced conversion values, word length, amount of words, converted character value sum, converted reduced character value sum, and the deduced value of the converted reduced character value sum (which sometimes gets deduced twice to have single-digit numbers ONLY in this final column. This is a personal design choice by me, and can be changed near line 73), by column.

Each of the first rows is the computational values for each word. Then, it computes the first total, the add to reduce, the second total, the reduce to deduce, and finally the essence of number computations, all on its own, also including the equations for getting the reduced and deduced values.

Like I've said before, there might be bugs that still exist in the script. If there are such, either tell me and I will fix them, or feel free to fix them yourself.

Due to the fact that I can't upload python files (cough admins please add cough), I've put the code into a giant code block for y'all to copy-paste. This is my secret revenge on using the phpBB forum bulletin system.

Code: Select all

import csv  # Used to output to the result.csv file.

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# The dictionary used for numerical character comparison in-transit
ALPHABETICAL_VALUE = {'a': 1, 'c': 3, 'b': 2, 'e': 5, 'd': 4, 'g': 7, 'f': 6, 'i': 9, 'h': 8, 'k': 11, 'j': 10, 'm': 13, 'l': 12, 'o': 15, 'n': 14, 'q': 17, 'p': 16, 's': 19, 'r': 18, 'u': 21, 't': 20, 'w': 23, 'v': 22, 'y': 25, 'x': 24, 'z': 26}
ALPHABETICAL_VALUE_REDUCED = {'a': 1, 'c': 3, 'b': 2, 'e': 5, 'd': 4, 'g': 7, 'f': 6, 'i': 9, 'h': 8, 'k': 2, 'j': 1, 'm': 4, 'l': 3, 'o': 6, 'n': 5, 'q': 8, 'p': 7, 's': 1, 'r': 9, 'u': 3, 't': 2, 'w': 5, 'v': 4, 'y': 7, 'x': 6, 'z': 8}

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def main():
    """
    Takes in input, and calls the computation and output functions.
    """

    sentence = input("Sentence me, oh jury: ").lower()  # Gathers input from the user and stores it as the variable sentence, and automatically lowers it.

    with open('result.csv', 'w+', newline='') as csvfile:  # Opens a result.csv file for outputting the compuation to.
        outputfile = csv.writer(csvfile, delimiter=',', quotechar='"')  # Creates a writer function that is used to output to the result.csv file.
        word_length_total = 0  # Sets a variable to accumulate the total amount of characters in the sentence.
        sentence_total = 0  # Sets a variable for the total of each word converted character total.
        sentence_total_reduced = 0  # Sets a variable for the total of each word converted and reduced character total.
        first_letter_reduced_total = 0  # Sets a variable for the total of the converted reduced value of the first letter.
        sentence_total_deduced = 0  # Sets a variable for the total of each word converted and deduced character total.
        amount_of_words = 0  # Sets a variable to count the amount of words in the sentence.
        for word in sentence.split():  # For every word in the string variable sentence, gathered from the user:
            word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced = sentence_parse(word)  # For each word, call the sentenceparse() function, and output the variable associated, along with adding to the variables above the appropriate values.
            word_length_total += word_length  # Adds the word length to the variable word_length_total
            sentence_total += total_of_word  # Adds the total converted character value to the variable sentence_total
            sentence_total_reduced += total_of_word_reduced  # Adds the total converted and reduced character value to the variable sentence_total_reduced
            sentence_total_deduced += total_of_word_deduced  # Adds the total converted and deduced character value to the variable sentence_total_deduced

            try:  # Tries to add the first letter reduced total to the variable.
                first_letter_reduced_total += ALPHABETICAL_VALUE_REDUCED.get(word[:1])  # Adds the converted reduced chracter value to the variable first_letter_reduced_total
            except TypeError:  # However, if there is a non-alphabetical character in the first letter place:
                print("Please do not have any non-alphabetical characters in the first character place value!")  # Scream at the user to fix their input.
            word_output(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced, word, outputfile)  # Call the output function to write to result.csv
            amount_of_words += 1  # Adds one to the variable amount_of_words for each word.

        total_output(word_length_total, sentence_total, sentence_total_reduced, first_letter_reduced_total, sentence_total_deduced, amount_of_words, outputfile)  # Calls the total_output function

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def sentence_parse(word):
    """
    Parses the incoming sentence for its needed attributes for the table.
    """

    character_values = []  # Creates a list for each individual word that has each character listed as a variable to compare to the dictionary ALPHABET.
    total_of_word = 0  # Sets the sum of the character values to zero, to be used later in the code.
    total_of_word_reduced = 0  # Sets a variable for the total of each word reduced.
    character_values_reduced = []  # Sets a list variable for the converted reduced chracter values.
    word_length = 0  # Sets a variable for the word length

    for character in word:  # For each character in the word variable.
        if character not in ALPHABETICAL_VALUE:  # If the character is not in the standard alphabet, then skip it.
            pass  # Passes the value.
        else:  # If the character is in the standard alphabet:
            character_values.append(ALPHABETICAL_VALUE.get(character))  # Appends the basic number value to the character_values list, storing that value in its place.
            character_values_reduced.append(ALPHABETICAL_VALUE_REDUCED.get(character))  # Appends the reduced number value to the character_values_reduced list, storing that value in its place.
            word_length = word_length + 1  # Adds one to the variable word_length

    for item in character_values:  # For each number value in the list character_values:
        total_of_word = total_of_word + int(item)  # Add that value to the sum of the word variable total_of_word.

    for item in character_values_reduced:  # For each number value in the list character_values_reduced:
        total_of_word_reduced = total_of_word_reduced + int(item)  # Add that value to the sum of the word variable total_of_word_reduced.

    if sum(map(int, list(str(total_of_word_reduced)))) > 9:  # If the sum of both digits is greater than nine:
        total_of_word_deduced = sum(map(int, list(str(sum(map(int, list(str(total_of_word_reduced))))))))  # Redo the sum, which should make it less than 10 almost 90% of the time.
    else:  # If it is already a one-digit numberL
        total_of_word_deduced = sum(map(int, list(str(total_of_word_reduced))))  # Sets a variable for the converted deduced word totals of each word.

    return(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced)  # Returns the computed values back to main()

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def word_output(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced, word, outputfile):
    """
    Outputs the words, their character values, word character total, and reduced and deduced versions of those, if applicable.
    """

    character_sum = equational_sum(character_values)  # Calls the equational_sum function for the equational sum total of the list character_values.
    character_sum_reduced = equational_sum(character_values_reduced)  # Calls the equational_sum function for the equational sum total of the list character_values_reduced.

    # Write all of the incoming information to the result file table.
    outputfile.writerow([word[:1].upper(), '=', ALPHABETICAL_VALUE_REDUCED.get(word[:1]), word_length, '1', word.upper(), character_sum, total_of_word, character_sum_reduced, total_of_word_reduced, total_of_word_deduced])  # Outputs the values to the result.csv file

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def equational_sum(total):
    """
    Takes in the number total and creates/returns the equational sum of that total.
    """

    summerize = ""  # summerization variable to be returned to the variable calling the function.

    if isinstance(total, int):
        if int(total) > 9:  # If the variable sentence_total_deduced is less than 9 ( meaning that this isn't needed because it is already deduced):
            iterable = 0  # Create an iterable variable
            for digit in str(total):  # For each individual number inside of the integer:
                if iterable == 0:  # If this is the first individual number coming through:
                    summerize = digit  # Set the variable sentence_total_deduced_sum to that individual number:
                else:  # if it is any other individual number:
                    summerize = "{}+{}".format(summerize, digit)  # Add the equational sum to the variable sentence_total_deduced_sum
                iterable = 1  # Set the iterable to 1, effectively telling the code to only use the else part of the conditional above when parsing digits after this.

    if isinstance(total, list):
        iterable = 0  # Creates an iterable variable.
        for item in total:  # For each number value in the total:
            if iterable == 0:  # If this is the first item:
                summerize = item  # Make it the first item in the string.
            else:  # If this isn't the first item:
                summerize = "{}+{}".format(summerize, item)
            iterable = 1  # Set the iterable to 1, effectively telling the code to only use the else part of the conditional above when parsing digits after this.

    return summerize

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def total_output(word_length_total, sentence_total, sentence_total_reduced, first_letter_reduced_total, sentence_total_deduced, amount_of_words, outputfile):
    """
    Outputs the original total, sentence totals, first letter totals, and the amount of words, along with the reduced and deduced versions of those, and their computational sums for easier reading.
    """

    # First block of equational sum variables to be outputted in the "ADD TO REDUCE" row.
    first_letter_deduced_sum = equational_sum(first_letter_reduced_total)  # Calls the equational_sum function for the equational sum total of the variable first_letter_reduced_total.
    word_length_sum = equational_sum(word_length_total)  # Calls the equational_sum function for the equational sum total of the variable word_length_total.
    amount_of_words_sum = equational_sum(amount_of_words)  # Calls the equational_sum function for the equational sum total of the variable amount_of_words.
    sentence_total_sum = equational_sum(sentence_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_total.
    sentence_total_reduced_sum = equational_sum(sentence_total_reduced)  # Calls the equational_sum function for the equational sum total of the variable sentence_total_reduced.
    sentence_total_deduced_sum = equational_sum(sentence_total_deduced)  # Calls the equational_sum function for the equational sum total of the variable sentence_total_deduced.

    # First block of totallities between the numbers of an integer, to be outputted in the "SECOND TOTAL" row.
    first_letter_deduced_total = sum(map(int, list(str(first_letter_reduced_total))))  # Sets a variable for the total of the converted deduced values for the first letter of every word.
    word_length_deduced_total = sum(map(int, list(str(word_length_total))))  # Sets a variable for the total of the deduced values of the word length.
    amount_of_words_total = sum(map(int, list(str(amount_of_words))))  # Sets a variable for the total of the amount of words when reduced.
    sentence_second_total = sum(map(int, list(str(sentence_total))))  # Sets a variable for the second combined total of the sentence (reduced total).
    sentence_reduced_second_total = sum(map(int, list(str(sentence_total_reduced))))  # Sets a variable for the second combined total of the reduced sentence total (second reduced total).
    sentence_deduced_second_total = sum(map(int, list(str(sentence_total_deduced))))  # Sets a variable for the second combined total of the deduced sentence total (second deduced total).

    # Second block of equational sum variables to be outputted in the "REDUCE TO DEDUCE" row.
    first_letter_essence_sum = equational_sum(first_letter_deduced_total)  # Calls the equational_sum function for the equational sum total of the variable first_letter_deduced_total.
    word_length_essence_sum = equational_sum(word_length_deduced_total)  # Calls the equational_sum function for the equational sum total of the variable word_length_deduced_total.
    amount_of_words_essence_sum = equational_sum(amount_of_words_total)  # Calls the equational_sum function for the equational sum total of the variable amount_of_words_total.
    sentence_total_essence_sum = equational_sum(sentence_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_second_total.
    sentence_total_reduced_essence_sum = equational_sum(sentence_reduced_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_reduced_second_total.
    sentence_total_deduced_essence_sum = equational_sum(sentence_deduced_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_deduced_second_total.

    #Second block of totallities between the numbers of an integer, to be outputted in the "ESSENCE OF NUMBER" row.
    first_letter_essence_total = sum(map(int, list(str(first_letter_deduced_total))))  # Sets a variable for the essence total of the first letter column.
    word_length_essence_total = sum(map(int, list(str(word_length_deduced_total))))  # Sets a variable for the essence total of the word length column.
    amount_of_word_essence_total = sum(map(int, list(str(amount_of_words_total))))  # Sets a variable for the essence total of the amount of words column.
    sentence_essence_total = sum(map(int, list(str(sentence_second_total))))  # Sets a variable for the essence total of the sentence total column.
    sentence_total_reduced_essence = sum(map(int, list(str(sentence_reduced_second_total))))  # Sets a variable for the essence total of the sentence total reduced column.
    sentence_total_deduced_essence = sum(map(int, list(str(sentence_deduced_second_total))))  # Sets a variable for the essence total of the sentence total deduced column.

    # The line below outputs all of the variables/numbers associated with the "First Total"
    outputfile.writerow(['', '', first_letter_reduced_total, word_length_total, amount_of_words, 'FIRST TOTAL', '', sentence_total, '', sentence_total_reduced, sentence_total_deduced])
    # The line below outputs all the variables/numbers associated with "Add to Reduce"
    outputfile.writerow(['', '', first_letter_deduced_sum, word_length_sum, amount_of_words_sum, 'ADD TO REDUCE', '', sentence_total_sum, '', sentence_total_reduced_sum, sentence_total_deduced_sum])
    # The line below outputs all the variables/numbers associated with the "Second Total"
    outputfile.writerow(['', '', first_letter_deduced_total, word_length_deduced_total, amount_of_words_total, 'SECOND TOTAL', '', sentence_second_total, '', sentence_reduced_second_total, sentence_deduced_second_total])
    # The line below outputs all of the variables/numbers associated with "Reduce to Deduce"
    outputfile.writerow(['', '', first_letter_essence_sum, word_length_essence_sum, amount_of_words_essence_sum, 'REDUCE TO DEDUCE', '', sentence_total_essence_sum, '', sentence_total_reduced_essence_sum, sentence_total_deduced_essence_sum])
    # The line below outputs all of the variables/numbers associated with the "Essence of Number"
    outputfile.writerow(['', '', first_letter_essence_total, word_length_essence_total, amount_of_word_essence_total, 'ESSENCE OF NUMBER', '', sentence_essence_total, '', sentence_total_reduced_essence, sentence_total_deduced_essence])

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

main()  # Calls the main function.
I hope that this can help the website and forum further.

So long, and thanks for all the fish.
User avatar
Koguntetsu
Posts: 172
Joined: 11 Feb 2018 11:19
Contact:

Re: Is there interest in a numerological calculator app?

Post by Koguntetsu »

I must congratulate you on the work you have presented thus far, it has come quite a way from the start of production and in such a short amount of time as well. I wish I could say I had some progress to submit myself but have only had the chance to glance over the scripts before they have been updated.
Svalbard
Posts: 49
Joined: 04 Feb 2019 22:54
Contact:

Re: Is there interest in a numerological calculator app?

Post by Svalbard »

Koguntetsu wrote: 22 Mar 2019 00:51 I must congratulate you on the work you have presented thus far, it has come quite a way from the start of production and in such a short amount of time as well. I wish I could say I had some progress to submit myself but have only had the chance to glance over the scripts before they have been updated.
Thank you. Your interest in this project is very encouraging.

For the record, I appreciate all sorts of input; it does not necessarily have to be of a technical sort. For instance, I still do not know what sort of user interface the completed program should have. Any suggestions about the appearance of the calculator would be welcome.

Best Regards,
Svalbard
User avatar
H4RV5P3X
Posts: 11
Joined: 12 Oct 2018 01:07
Location: New York City
Contact:

Re: Is there interest in a numerological calculator app?

Post by H4RV5P3X »

<:// This prototype is phenomenal. Thank you for your work. >
Redbeck
Site Admin
Posts: 2144
Joined: 19 Dec 2010 15:42
Location: The Rookery, 3rd Horse Chestnut along, St Johns, Britain. Teacher leave our nuts alone!
Contact:

Re: Is there interest in a numerological calculator app?

Post by Redbeck »

This Message from David Denison is relevant to two posts and so it will appear in both

“The tables, originally when I first started unraveling the written work, were created in a very simple way on a Claris set up. AAs the vision opened up, various ways of presenting these keys to the knowing of were gifted. The style changed when Wardell’s White Rabbit presented the work with copies of Dreamweaver software. Presently we are using the CS3 version of Dreamweaver purchased as a licence transfer off the internet. It has one or two faltering parts, but I have been able to do what I need to do. Computer wise I can do what I can do and not a lot more. A top end version of Dreamweaver would blind me with science. Knowing how the tables are evoked may help our fellow travellers with their sacred task, the creation of our magical means to an end.” DD
Redbeck
Site Admin
Posts: 2144
Joined: 19 Dec 2010 15:42
Location: The Rookery, 3rd Horse Chestnut along, St Johns, Britain. Teacher leave our nuts alone!
Contact:

Re: Is there interest in a numerological calculator app?

Post by Redbeck »

A MESSAGE FROM DAVID DENISON

REDBECK, GOOD MORNING.

I STARTED EARLY TODAY 6:30AM.
FORGIVE ME PUTTING ON YOUR GOOD NATURE.
THANK YOU AGAIN FOR YOUR MIGHTY EFFORTS FOR AND ON BEHALF OF.

PLEASE USE THIS MESSAGE. FOR YOUR POST
HAVE INCLUDED TABLES, PLEASE SEE BELOW:

RE THE PHRASES PRESENTLY SHOWN ON THE CALCULATOR:
“SUM OF STANDARD ALPHABET VALUES”
AND WHY THE PHRASE
“SUM OF PYTHAGOREAN VALUES”?

FROM OUR POINT OF VIEW, WE USE:
THE STANDARD ENGLISH ALPHABET.
AND THE METAMORPHOSIS FROM LETTER TO NUMBER WE CALL
THE MAGICAL ALPHABET
AZIN
ADD TO REDUCE
REDUCE TO DEDUCE
ESSENCE OF NUMBER.


APPRECIATE YOUR DRAWING THIS TO OUR FRIENDS ATTENTION.
AND ASK IF THEY WOULD KINDLY CONSIDER RETAINING OUR ORIGINAL WORDING.
THE CONTINUITY FOR US, WOULD THEN BE ESTABLISHED ALONGSIDE THE PRESENT TERMINOLOGY OF THE SITE.

DEAR REDBECK MAN,

REGARDING THE FORTHCOMING FLOWERING OF THE SIGHT OF THE SITE CALCULATOR PAR EXCELLENCE.

SINCE WE ARE KINDLY INVITED TO MAKE OUR THOUGHTS KNOWN, AS TO THE CONTINUED DEVELOPMENT OF THE ORACLE MEMBERS RESEARCH PROJECT.

CAN WE PLEASE ASK AS TO WHETHER THERE WILL BE ANY CHOICE OF COLOUR AVAILABILITY FROM OUT THE IN OF OUR MAGICAL PANDORA'S BOX WHEN COMPLETED.
WHAT SHALL BE THE LIKELY COLOURED CLOTHING WORN IN THE TRANSITIONAL LETTER NUMBER EVOCATIONS SUMMONED AT THE TOUCH OF A SPIRIT HAND.

WE WILL OF COURSE HAVE TO WAIT AND SEE WHAT EVOLVES. HOWEVER FROM MY OWN CREATIVE PERSPECTIVE, HAVING COLOUR CHOICES FOR THE LETTER NUMBER TABLES IS IMPORTANT AESTHETICALLY, AND FOR TRANSMITTING FURTHER INFORMATION RE CONTENT.

NOT WANTING TO PUT THE CART BEFORE THE HORSE, OR RUN BEFORE WE CAN WALK, WE MUST WAIT AND SEE.

HOW GOOD IT WOULD BE IF OUR MERRY BAND OF HELPERS CREATED A MEANS WHEREBY WE COULD INCORPORATE A FACILITY WITHIN THE SITE AND ORACLE WHEREIN THE READERSHIP COULD ACCESS ITS CREATIVE POTENTIAL INTUITIVELY, AND ALSO ENABLE THE CONTINUED CREATION OF TABLES THAT COULD BE INTRODUCED INTO OUR SITE DREAMWEAVER PROGRAMME, AND UPLOADED AS OF PRESENTLY, WHEN I HAVE TO MAKE THEM START TO FINISH BY HAND.

THE SUGGESTED CALCULATOR DEVELOPMENT WOULD ALLOW FURTHER RELEVANT MATERIAL, COMPLETED WAY BACK TO BE DISPLAYED ON THE SITE IN DOUBLE QUICK TIME.

AT THE PRESENT THERE ARE COPIOUS AMOUNTS OF WORDS OF POWER, CRYING OUT FOR THEIR VOICES TO BE HEARD.

WITHOUT SUCH AMAZING COOPERATION THEY WOULD NOT SEE THE LIGHT OF DAY

PERHAPS YOU WOULD KINDLY DRAW THIS MESSAGE TO OUR GLORY, GLORY HALLELUJAH CREATORS, STRIVING TO BIRTH THIS MIRACULOUS GIFT OF TECHNOLOGICAL ACHIEVEMENT.

RA IN BOW GOOD WISHES TO ALL CONCERNED.
D FOR DAVE.

http://www.973-eht-namuh-973.com/Alchem ... GOD%20.htm


Image


Image


Image


Image
Redbeck
Site Admin
Posts: 2144
Joined: 19 Dec 2010 15:42
Location: The Rookery, 3rd Horse Chestnut along, St Johns, Britain. Teacher leave our nuts alone!
Contact:

Re: Is there interest in a numerological calculator app?

Post by Redbeck »

A MESSAGE FROM DAVID DENISON FOLLOW ON:

http://www.973-eht-namuh-973.com/Alchem ... GOD%20.htm

Image


Image


Image


Image
Red_Rose
Posts: 217
Joined: 13 Nov 2016 20:49
Location: Italy
Contact:

Re: Is there interest in a numerological calculator app?

Post by Red_Rose »

Bravi, grazie!

............................................
Redbeck
Site Admin
Posts: 2144
Joined: 19 Dec 2010 15:42
Location: The Rookery, 3rd Horse Chestnut along, St Johns, Britain. Teacher leave our nuts alone!
Contact:

Re: Is there interest in a numerological calculator app?

Post by Redbeck »

A MESSAGE FROM DAVID DENISON FOLLOW ON FROM 28TH OF MARCH THREAD:

http://www.973-eht-namuh-973.com/Alchem ... PHABET.htm


Image


Image


Image


Image
Svalbard
Posts: 49
Joined: 04 Feb 2019 22:54
Contact:

Re: Is there interest in a numerological calculator app?

Post by Svalbard »

H4ck3rm4n wrote: 21 Mar 2019 23:34 Hello world, I am the man in the discord chat.

I've been in contact with Koguntetsu through other means for the last couple of days, and have been working on my own version of a table conversion program in python. Of course, I keep finding small things to change, but I am happy enough with its current state that I felt I shall release it for the rest of the forum to ponder and use.

In its current state, it takes in a simple sentence string, and outputs all the relevant data to a CSV file, which can be opened in almost every spreadsheet program ever created, and you can use third-party libraries (such as is described here: https://www.codediesel.com/data/quick-w ... ml-tables/ and github here: https://github.com/derekeder/csv-to-html-table) to convert it to the HTML tables used elsewhere on the site.

I used the first "FOR EVERY ACTION THERE IS AN EQUAL AND OPPOSITE REACTION" table located at the bottom of the PHYSICS page (http://www.973-eht-namuh-973.com/Alchemy/PHYSICS%20.htm) as my guide. It contains first letter reduced conversion values, word length, amount of words, converted character value sum, converted reduced character value sum, and the deduced value of the converted reduced character value sum (which sometimes gets deduced twice to have single-digit numbers ONLY in this final column. This is a personal design choice by me, and can be changed near line 73), by column.

Each of the first rows is the computational values for each word. Then, it computes the first total, the add to reduce, the second total, the reduce to deduce, and finally the essence of number computations, all on its own, also including the equations for getting the reduced and deduced values.

Like I've said before, there might be bugs that still exist in the script. If there are such, either tell me and I will fix them, or feel free to fix them yourself.

Due to the fact that I can't upload python files (cough admins please add cough), I've put the code into a giant code block for y'all to copy-paste. This is my secret revenge on using the phpBB forum bulletin system.

Code: Select all

import csv  # Used to output to the result.csv file.

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# The dictionary used for numerical character comparison in-transit
ALPHABETICAL_VALUE = {'a': 1, 'c': 3, 'b': 2, 'e': 5, 'd': 4, 'g': 7, 'f': 6, 'i': 9, 'h': 8, 'k': 11, 'j': 10, 'm': 13, 'l': 12, 'o': 15, 'n': 14, 'q': 17, 'p': 16, 's': 19, 'r': 18, 'u': 21, 't': 20, 'w': 23, 'v': 22, 'y': 25, 'x': 24, 'z': 26}
ALPHABETICAL_VALUE_REDUCED = {'a': 1, 'c': 3, 'b': 2, 'e': 5, 'd': 4, 'g': 7, 'f': 6, 'i': 9, 'h': 8, 'k': 2, 'j': 1, 'm': 4, 'l': 3, 'o': 6, 'n': 5, 'q': 8, 'p': 7, 's': 1, 'r': 9, 'u': 3, 't': 2, 'w': 5, 'v': 4, 'y': 7, 'x': 6, 'z': 8}

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def main():
    """
    Takes in input, and calls the computation and output functions.
    """

    sentence = input("Sentence me, oh jury: ").lower()  # Gathers input from the user and stores it as the variable sentence, and automatically lowers it.

    with open('result.csv', 'w+', newline='') as csvfile:  # Opens a result.csv file for outputting the compuation to.
        outputfile = csv.writer(csvfile, delimiter=',', quotechar='"')  # Creates a writer function that is used to output to the result.csv file.
        word_length_total = 0  # Sets a variable to accumulate the total amount of characters in the sentence.
        sentence_total = 0  # Sets a variable for the total of each word converted character total.
        sentence_total_reduced = 0  # Sets a variable for the total of each word converted and reduced character total.
        first_letter_reduced_total = 0  # Sets a variable for the total of the converted reduced value of the first letter.
        sentence_total_deduced = 0  # Sets a variable for the total of each word converted and deduced character total.
        amount_of_words = 0  # Sets a variable to count the amount of words in the sentence.
        for word in sentence.split():  # For every word in the string variable sentence, gathered from the user:
            word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced = sentence_parse(word)  # For each word, call the sentenceparse() function, and output the variable associated, along with adding to the variables above the appropriate values.
            word_length_total += word_length  # Adds the word length to the variable word_length_total
            sentence_total += total_of_word  # Adds the total converted character value to the variable sentence_total
            sentence_total_reduced += total_of_word_reduced  # Adds the total converted and reduced character value to the variable sentence_total_reduced
            sentence_total_deduced += total_of_word_deduced  # Adds the total converted and deduced character value to the variable sentence_total_deduced

            try:  # Tries to add the first letter reduced total to the variable.
                first_letter_reduced_total += ALPHABETICAL_VALUE_REDUCED.get(word[:1])  # Adds the converted reduced chracter value to the variable first_letter_reduced_total
            except TypeError:  # However, if there is a non-alphabetical character in the first letter place:
                print("Please do not have any non-alphabetical characters in the first character place value!")  # Scream at the user to fix their input.
            word_output(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced, word, outputfile)  # Call the output function to write to result.csv
            amount_of_words += 1  # Adds one to the variable amount_of_words for each word.

        total_output(word_length_total, sentence_total, sentence_total_reduced, first_letter_reduced_total, sentence_total_deduced, amount_of_words, outputfile)  # Calls the total_output function

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def sentence_parse(word):
    """
    Parses the incoming sentence for its needed attributes for the table.
    """

    character_values = []  # Creates a list for each individual word that has each character listed as a variable to compare to the dictionary ALPHABET.
    total_of_word = 0  # Sets the sum of the character values to zero, to be used later in the code.
    total_of_word_reduced = 0  # Sets a variable for the total of each word reduced.
    character_values_reduced = []  # Sets a list variable for the converted reduced chracter values.
    word_length = 0  # Sets a variable for the word length

    for character in word:  # For each character in the word variable.
        if character not in ALPHABETICAL_VALUE:  # If the character is not in the standard alphabet, then skip it.
            pass  # Passes the value.
        else:  # If the character is in the standard alphabet:
            character_values.append(ALPHABETICAL_VALUE.get(character))  # Appends the basic number value to the character_values list, storing that value in its place.
            character_values_reduced.append(ALPHABETICAL_VALUE_REDUCED.get(character))  # Appends the reduced number value to the character_values_reduced list, storing that value in its place.
            word_length = word_length + 1  # Adds one to the variable word_length

    for item in character_values:  # For each number value in the list character_values:
        total_of_word = total_of_word + int(item)  # Add that value to the sum of the word variable total_of_word.

    for item in character_values_reduced:  # For each number value in the list character_values_reduced:
        total_of_word_reduced = total_of_word_reduced + int(item)  # Add that value to the sum of the word variable total_of_word_reduced.

    if sum(map(int, list(str(total_of_word_reduced)))) > 9:  # If the sum of both digits is greater than nine:
        total_of_word_deduced = sum(map(int, list(str(sum(map(int, list(str(total_of_word_reduced))))))))  # Redo the sum, which should make it less than 10 almost 90% of the time.
    else:  # If it is already a one-digit numberL
        total_of_word_deduced = sum(map(int, list(str(total_of_word_reduced))))  # Sets a variable for the converted deduced word totals of each word.

    return(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced)  # Returns the computed values back to main()

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def word_output(word_length, character_values, character_values_reduced, total_of_word, total_of_word_reduced, total_of_word_deduced, word, outputfile):
    """
    Outputs the words, their character values, word character total, and reduced and deduced versions of those, if applicable.
    """

    character_sum = equational_sum(character_values)  # Calls the equational_sum function for the equational sum total of the list character_values.
    character_sum_reduced = equational_sum(character_values_reduced)  # Calls the equational_sum function for the equational sum total of the list character_values_reduced.

    # Write all of the incoming information to the result file table.
    outputfile.writerow([word[:1].upper(), '=', ALPHABETICAL_VALUE_REDUCED.get(word[:1]), word_length, '1', word.upper(), character_sum, total_of_word, character_sum_reduced, total_of_word_reduced, total_of_word_deduced])  # Outputs the values to the result.csv file

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def equational_sum(total):
    """
    Takes in the number total and creates/returns the equational sum of that total.
    """

    summerize = ""  # summerization variable to be returned to the variable calling the function.

    if isinstance(total, int):
        if int(total) > 9:  # If the variable sentence_total_deduced is less than 9 ( meaning that this isn't needed because it is already deduced):
            iterable = 0  # Create an iterable variable
            for digit in str(total):  # For each individual number inside of the integer:
                if iterable == 0:  # If this is the first individual number coming through:
                    summerize = digit  # Set the variable sentence_total_deduced_sum to that individual number:
                else:  # if it is any other individual number:
                    summerize = "{}+{}".format(summerize, digit)  # Add the equational sum to the variable sentence_total_deduced_sum
                iterable = 1  # Set the iterable to 1, effectively telling the code to only use the else part of the conditional above when parsing digits after this.

    if isinstance(total, list):
        iterable = 0  # Creates an iterable variable.
        for item in total:  # For each number value in the total:
            if iterable == 0:  # If this is the first item:
                summerize = item  # Make it the first item in the string.
            else:  # If this isn't the first item:
                summerize = "{}+{}".format(summerize, item)
            iterable = 1  # Set the iterable to 1, effectively telling the code to only use the else part of the conditional above when parsing digits after this.

    return summerize

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

def total_output(word_length_total, sentence_total, sentence_total_reduced, first_letter_reduced_total, sentence_total_deduced, amount_of_words, outputfile):
    """
    Outputs the original total, sentence totals, first letter totals, and the amount of words, along with the reduced and deduced versions of those, and their computational sums for easier reading.
    """

    # First block of equational sum variables to be outputted in the "ADD TO REDUCE" row.
    first_letter_deduced_sum = equational_sum(first_letter_reduced_total)  # Calls the equational_sum function for the equational sum total of the variable first_letter_reduced_total.
    word_length_sum = equational_sum(word_length_total)  # Calls the equational_sum function for the equational sum total of the variable word_length_total.
    amount_of_words_sum = equational_sum(amount_of_words)  # Calls the equational_sum function for the equational sum total of the variable amount_of_words.
    sentence_total_sum = equational_sum(sentence_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_total.
    sentence_total_reduced_sum = equational_sum(sentence_total_reduced)  # Calls the equational_sum function for the equational sum total of the variable sentence_total_reduced.
    sentence_total_deduced_sum = equational_sum(sentence_total_deduced)  # Calls the equational_sum function for the equational sum total of the variable sentence_total_deduced.

    # First block of totallities between the numbers of an integer, to be outputted in the "SECOND TOTAL" row.
    first_letter_deduced_total = sum(map(int, list(str(first_letter_reduced_total))))  # Sets a variable for the total of the converted deduced values for the first letter of every word.
    word_length_deduced_total = sum(map(int, list(str(word_length_total))))  # Sets a variable for the total of the deduced values of the word length.
    amount_of_words_total = sum(map(int, list(str(amount_of_words))))  # Sets a variable for the total of the amount of words when reduced.
    sentence_second_total = sum(map(int, list(str(sentence_total))))  # Sets a variable for the second combined total of the sentence (reduced total).
    sentence_reduced_second_total = sum(map(int, list(str(sentence_total_reduced))))  # Sets a variable for the second combined total of the reduced sentence total (second reduced total).
    sentence_deduced_second_total = sum(map(int, list(str(sentence_total_deduced))))  # Sets a variable for the second combined total of the deduced sentence total (second deduced total).

    # Second block of equational sum variables to be outputted in the "REDUCE TO DEDUCE" row.
    first_letter_essence_sum = equational_sum(first_letter_deduced_total)  # Calls the equational_sum function for the equational sum total of the variable first_letter_deduced_total.
    word_length_essence_sum = equational_sum(word_length_deduced_total)  # Calls the equational_sum function for the equational sum total of the variable word_length_deduced_total.
    amount_of_words_essence_sum = equational_sum(amount_of_words_total)  # Calls the equational_sum function for the equational sum total of the variable amount_of_words_total.
    sentence_total_essence_sum = equational_sum(sentence_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_second_total.
    sentence_total_reduced_essence_sum = equational_sum(sentence_reduced_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_reduced_second_total.
    sentence_total_deduced_essence_sum = equational_sum(sentence_deduced_second_total)  # Calls the equational_sum function for the equational sum total of the variable sentence_deduced_second_total.

    #Second block of totallities between the numbers of an integer, to be outputted in the "ESSENCE OF NUMBER" row.
    first_letter_essence_total = sum(map(int, list(str(first_letter_deduced_total))))  # Sets a variable for the essence total of the first letter column.
    word_length_essence_total = sum(map(int, list(str(word_length_deduced_total))))  # Sets a variable for the essence total of the word length column.
    amount_of_word_essence_total = sum(map(int, list(str(amount_of_words_total))))  # Sets a variable for the essence total of the amount of words column.
    sentence_essence_total = sum(map(int, list(str(sentence_second_total))))  # Sets a variable for the essence total of the sentence total column.
    sentence_total_reduced_essence = sum(map(int, list(str(sentence_reduced_second_total))))  # Sets a variable for the essence total of the sentence total reduced column.
    sentence_total_deduced_essence = sum(map(int, list(str(sentence_deduced_second_total))))  # Sets a variable for the essence total of the sentence total deduced column.

    # The line below outputs all of the variables/numbers associated with the "First Total"
    outputfile.writerow(['', '', first_letter_reduced_total, word_length_total, amount_of_words, 'FIRST TOTAL', '', sentence_total, '', sentence_total_reduced, sentence_total_deduced])
    # The line below outputs all the variables/numbers associated with "Add to Reduce"
    outputfile.writerow(['', '', first_letter_deduced_sum, word_length_sum, amount_of_words_sum, 'ADD TO REDUCE', '', sentence_total_sum, '', sentence_total_reduced_sum, sentence_total_deduced_sum])
    # The line below outputs all the variables/numbers associated with the "Second Total"
    outputfile.writerow(['', '', first_letter_deduced_total, word_length_deduced_total, amount_of_words_total, 'SECOND TOTAL', '', sentence_second_total, '', sentence_reduced_second_total, sentence_deduced_second_total])
    # The line below outputs all of the variables/numbers associated with "Reduce to Deduce"
    outputfile.writerow(['', '', first_letter_essence_sum, word_length_essence_sum, amount_of_words_essence_sum, 'REDUCE TO DEDUCE', '', sentence_total_essence_sum, '', sentence_total_reduced_essence_sum, sentence_total_deduced_essence_sum])
    # The line below outputs all of the variables/numbers associated with the "Essence of Number"
    outputfile.writerow(['', '', first_letter_essence_total, word_length_essence_total, amount_of_word_essence_total, 'ESSENCE OF NUMBER', '', sentence_essence_total, '', sentence_total_reduced_essence, sentence_total_deduced_essence])

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

main()  # Calls the main function.
I hope that this can help the website and forum further.

So long, and thanks for all the fish.

Welcome, H4ck3rm4n. I have just seen your post now (I assume it was pending approval before). While I have yet to read through the code, I have taken a look at the GitHub page you've linked, and I must say: great work!
Nazheek
Posts: 424
Joined: 30 Nov 2015 18:26
Location: US Southeast
Contact:

Re: Is there interest in a numerological calculator app?

Post by Nazheek »

Attention from Herr Denison is a proper gift! Finding my name on the site with birthday congratulations was fantastic, even though it took someone else linking it for me to find it!

Anyways, I've enjoyed using this calculator.

Image

Do you think this calculator could be imported to the forum?
Feel free to send me a PM or an email. Expect faster responses by email.
User avatar
BeN1
Posts: 675
Joined: 24 Oct 2016 17:14
Contact:

--------------------

Post by BeN1 »

--------------------
Last edited by BeN1 on 22 Jul 2023 09:41, edited 1 time in total.
HADOUKEN!! 🤲🔥
Redbeck
Site Admin
Posts: 2144
Joined: 19 Dec 2010 15:42
Location: The Rookery, 3rd Horse Chestnut along, St Johns, Britain. Teacher leave our nuts alone!
Contact:

Re: Is there interest in a numerological calculator app?

Post by Redbeck »

Good afternoon oh band of technocrat brothers,

I wondered whether we could have a look at the latest prototype through a graphic user interface. I have not entered the labyrinth of Python coding as I would like to see the calculator in action as the user would so that Dave Denison and myself can look at the latest version together. So a new link please, you are obviously making good progress from the string of comments appearing. Thank you in advance team the interest and enthusiasm in the calculator and beyond is still very high from our point of view.

Kind Regards Redbeck
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 64 guests