I have a little technical demo for y'all. I wrote a little program that chooses the most appropriate punishments for you based on your preferences. For now, there are only 24 punishments (taken from CyberMistress Donatella), but more can be added easily. I may implement this into the CyberMistress successor I'm working on.
To use this you will need Python installed. Simply extract the two files in the .zip archive (punishments.py and punishments.txt) to the same folder. Open punishments.py with a text editor and set your preferences (instructions are inside). Save the file, and run it in Python. It will then show the most suitable punishments for you, in descending order.
For any who are curious, the way this program works is very simple. All it does is compare the user's preference for each category of punishment to the categories each punishment is in. It does this by finding the Euclidean distance (modified Pythagorean Theorem) between the user's preference and the punishment, "plotted" on an n-th dimensional Cartesian plane, where n is the number of categories the punishment is in.
Please tell me how this works for you. Is it accurate? Also, if you need any help with setup please ask.
Thank you.
EDIT: Fixed a bug with the ConfigParser module. It should now work.
Oh, by the way, I would be careful with the punishments that require hanging bottles of water from your testicles. This could be dangerous, especially considering their mass (~2kg for a 2L bottle of water).
It's a nice and simple way to choose a punishment, however I think that it could benefit a lot from small improvements, perhaps only diplay one punishment, and of course just having more added.
I have found the need for very fine specifications of the prefs. otherwise there will be a lot of them very close together.
It's very simple now, but if someone wants to improve it that would be great.
I'm thinking an interesting idea would be to automatically detect preferences using neural networks. This would probably require the slave to rate their "enjoyment" of several punishments beforehand, as well as providing periodic feedback.
Artificial intelligence has some really interesting applications here.
Traceback (most recent call last): File "punishments.py", line 2, in <module> import configparser File "/punishments/configparser.py", line 131, in <module> from ordereddict import OrderedDict as _default_dictImportError: No module named ordereddict
Hm, this could be fun. MistressAlexa: is the entire successor going to be in Python? I was experimenting with it last week and looking to learn it. This could actually be a very fun way
---
About CyberMistress, 2005-2011
The CM software is my intellectual property and no one is allowed to distribute it. Use it at your own risk, no support whatsoever. I do not mind the sharing of content which was created for it by 3rd party. My content however is not to be shared.
Traceback (most recent call last): File "punishments.py", line 2, in <module> import configparser File "/punishments/configparser.py", line 131, in <module> from ordereddict import OrderedDict as _default_dictImportError: No module named ordereddict
What version of Python are you using?
Kenneth wrote:Hm, this could be fun. MistressAlexa: is the entire successor going to be in Python? I was experimenting with it last week and looking to learn it. This could actually be a very fun way
Yes, I love Python. It's an incredible language.
I was thinking about the GUI implementation, and I think I'm not going to do it with wxWidgets. Instead, I'm working on a CGI implementation, so it would run in the browser. The advantage of this is that it can be run locally as well as on websites.