Laerning by pain

Selfbondage software and other kinky developments

Moderators: Riddle, Shannon SteelSlave

BoundGabi2
*
Posts: 1
Joined: 09 Dec 2013, 19:18

Laerning by pain

Post by BoundGabi2 »

Hi Everybody,

I have a new idea, how can i use the sb.
I have to learn English, but it is very boring to learn the words. I found this video some time ago and
http://www.pornhub.com/view_video.php?v ... 1745101207
i thought, i need a program, which shows me a word in my language and i have to type the English word correctly (of course, i make the lists to myself). If i make a spelling fault or the time is over, the program punish me. I'm sure, it could increase the effect of the learning:))). Maybe the pain and exit file would be suitable for the punish, or the program could be controll a usb port, and i connect a punishment device for the port or....

So, may i have some help:)?

Gabi
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Well, rote vocabulary memorization is just a part of learning a language, but then, I don't think I've ever attended a second-language class that didn't involve walls of direct vocabulary translation, so I guess it's supposed to be good for something. Figuring out grammar (how the words fit together in various tenses) is a much bigger step, and rather more complex to learn, but I guess you could use whole sentences instead.

Do you know how to make a tab separated value file? (It's a specific format of spreadsheet program that's very useful for programs that handle lists - it creates a table where each cell in a row is separated with a tab. Doing it this way avoids using any punctuation that might appear within a sentence, unlike with the other common format - comma separated values...you end up stuck with awfully simple sentences in English if you can't use commas.)

If you don't know how, tell me what program you use for spreadsheets (Microsoft Excel, OpenOffice.Calc, QuattroPro...) including the version number and I should be able to either create or track down a tutorial for you.

I should be able to whip up a program that can read a tab separated value list of 2 columns, and have it randomly (or sequentially if you want it to run from easier words to harder words) display a value from the first column (which would be the word in your language), and get you to type a response, and punish you (by running an external program like the pain.exe one) if the response is not the same as the second column (the English translation). If you were punished, it would also provide a message displaying the correct value it's comparing you to. These columns could contain single words, sentence fragments (useful for verb conjugations, like "he is walking" (using the verbs "to be" and "to walk")) or full sentences. Technically, there's no reason it couldn't use entire paragraphs or essays, but that's getting a bit on the ridiculous side - most English-speakers can't write a full paragraph without makign any mistakes (see?).

I could also program it to run a different external program when you're correct. But that depends on your hardware - is it possible for you to have 2 of those programs downloaded - one that runs a punishment, and one that runs some manner of reward? The sound based ones could trigger the punishment as shown, and the servomotor pressing a switch through the Arduino board could be triggering a switch to a vibrator or something instead of a speaker.

This is based on the common rule in teaching/training: "the carrot and stick approach" - reward all good behavior with a prize (the carrot) and punish all bad behavior (the stick). Originates from a means of motivating a donkey to pull a cart - walk toward the tasty carrot hanging in front of it, and whack it with a stick if it backs up, but tax laws are applied much the same way, at least in Canada and the US. Most people get more income deducted from their wages than they end up paying in tax, so they get paid to do their income tax forms (in the form of a tax return); those who do not do their income tax forms willingly get audited and/or fined for failing to provide the necessary documentation for their taxes. Thus rewarding good behavior, and punishing bad behavior. (Admittedly, this only works if you have an employer who's holding back wages to pay income tax incrementally - self employed people usually have to send in money when they do their tax forms.)

I won't have it done until the end of the week at the earliest - It's been a long time since I've done much programming, and I have a potentially hectic week ahead of me.

Let me know what you think.
JackZwo
*
Posts: 11
Joined: 20 Nov 2013, 18:02

Re: Laerning by pain

Post by JackZwo »

Hi Tenderfoot88 ,

did you programm the software ? I´m really interested.

greetings
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Not yet, didn't know I had your approval of my concept. *looks at usernames* Oh, you're someone new. I'll just find a place willing to host it for a while once it's made.

It'll be in command prompt (dos if you're a Windows user), though I can probably publish it to an executable so it's self contained and can be easily run. (Let me know if you can run python scripts (.py files) easily, since that'll cut the file size down a fair bit)
It'll have a config file which will include an on/off toggle and run command for the punishment program, the reward program, and the release program (the release program doesn't have an off option. It'll then have a list of all the text prompts used in the program. I really doubt I have to worry about memory constraints here, so the inefficiency there isn't an issue, and it'll let you put the prompts (which are things telling you what to do, like asking how many correct responses you need to get released) in your own language or reword them so they make more sense to you if you don't like my default options - saves having to alter the program itself. Error messages will always be in English, at least for the initial release.

Edit: When run, it'll ask what criteria you want it to use - correct responses, total responses, or total responses with at least specified percentage correct. (This should cover all possible modes of operation - total responses will let you go no matter what, and if you're only getting 5% right, correct responses will still let you out eventually, while total responses with target percentage right will penalize you by preventing release until you have a decent average.)
Then it will ask you what the max time for the session is. (Please don't rely on this alone - have a way out that doesn't involve electricity at all, in case the power goes out and thus the program isn't running anymore.)

After that, it'll randomly select a row from the tab-separated-value file, give you the term/phrase in the first column, and you'll have to provide its translation.
It'll compare that to the second column (I'll look up what kind of data processing is used for this sort of thing so it doesn't complain about a <space> at the end of the word (a computer will recognize the difference between "this" and "this " far more readily than most people will)), and run the appropriate command, as well as change stats trackers.
When you hit your set criteria, it'll run the release program and give stats on how you did (total correct, number of questions asked, percentage correct.

I'll have this set up in the next day or so, though it's not difficult to make a few little tweaks if you have things you want changed.

The default commands for reward, penalty and release might be playing some non-existant mp3 files, depending on the terms and conditions of the download site I use. Some would object to hosting self-bondage related software, and it's just those 3 program choices that actually make it a self bondage language tutor rather than just a basic vocab quizzer.

Edit: I've got all the setup stuff coded. Tomorrow I will do the questions/stats segment and start debugging. Debugging will take somewhere between 5 minutes and 5 weeks, so no, I don't have an ETA for you. Also, I decided on 3 choices for release - asking a specified number of questions, getting a specified number of questions right, and requiring you to have a specified percentage of the answers right after a specified minimum.
User avatar
Keyless
***
Posts: 344
Joined: 22 Dec 2013, 12:33

Re: Laerning by pain

Post by Keyless »

I do like to use bondage to help me to to do something that might otherwise be left undone due to laziness or getting distracted (eg by writing posts like this). I think using bondage to help with learning a language is a great idea. I don't need it at the moment but it did set me thinking. I had a quick look on the web to see if there are any sites which would help you to obtain the vocabulary tables. I did find several which might be useful. For example, http://www.learnalanguage.com/learn-fre ... nch-words/. This site has other languages as well. You can cut and paste vocab tables directly into a spreadsheet (I'm not sure if there are any copyright issues involved with copying from these sites, so I'll leave you to think about that). They are intended to go from English to the other language, but I expect it would be OK to use them the other way round. I hope your language is covered. Even if it isn't, I would think the program will be of use to lots of English speakers who want to learn another language. The advantage of using ready made tables would be that you could start bondage straight away rather than having to overcome any procrastination over typing up the tables. You could just load a few words and you would have to keep trying until you got them right (or hit the max time end stop).

Perhaps the program could be made to decrypt the combination to a safe when you had learnt a certain number of words over a period of a few days or weeks. The safe would contain something like tickets, vouchers or receipts for things which you might want to return. You have to learn the words before the contents of the safe become worthless. Of course, that could be in addition to any arrangements for release from each session.

I take the point about needing to do more than just learn vocabulary, but it is a start. I hope it goes well.
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Well, my version won't be doing any crypto - that's way beyond what I can do with my programming skills, but I'll be publishing the source along with a packed exe when I'm done, so anyone who wants to add the decryption feature is free to make whatever changes they wish.

And you could set it up with more than just basic vocab by including sentences, conjugations, etc instead of just individual words in the spreadsheet. That's why I insist on programming it for tab separated values rather than the more common comma separated value format: commas are grammatically useful, while tabs are largely stylistic (if you're using block paragraphs, I don't think anything is indented).
JackZwo
*
Posts: 11
Joined: 20 Nov 2013, 18:02

Re: Laerning by pain

Post by JackZwo »

Hi Tenderfoot88,

how`s your work going on ? Any progress ? Qwerty didn`t reply to my idea i explained to you, so it seems your software is the best solution available right now.

greetings
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

I'm having a bit of trouble. It's been almost a decade since I've done any programming, so I've forgotten a lot of the techniques for making a program flow properly. Plus, there's been a number of distractions, lately. I'll let you know when I have something that's starting to look reasonable.

I must admit, I'm not overly surprised that Qwerty didn't respond (yet). He seems to drop in from time to time, rather than being a resident.

Edit: The trouble seems to largely stem from the fact that I'm using Python instead of Java. I need to start programming Python with something a bit simpler than this, it seems. It only took me an hour or so to redo everything I'd done in Python thus far and get it all working properly. (Funny, given that Java's by far the more finicky language to work with; experience trumps simplicity, it seems.) It's not done yet, but it should only take a few more hours or so of work.
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Got the majority of the program complete. I'm running into trouble with running external programs gracefully, sad to say, so it's currently basically a vocab flashcard handler. Everything else is debugged to a reasonable degree with no errors that I can find. Messages encountered in normal use of the program are all modifiable in the config.txt file, so it can readily be translated. For now, all error messages (for people who want to be required to get 105% of the responses correct and the like) are hardcoded in English - that might change after I'm satisfied with the rest of the program.

It requires 2 support files: config.txt which has settings for external programs (once they're supported) and the text for the program so you can translate it into some other language. And vocabulary.tsv, a tab separated values file storing 2 columns of data - at present, the program will read 1000 lines of data - if you find this too limiting, I can make it larger. Technically there's a performance impact, but it shouldn't register on anything newer than a Pentium 1.

The program itself is packaged as an exe file for convenience. It and the two support files need to be stored in the same directory.

I will PM kevlar about how he handles external programs in his program, since I think he's stated that's also a Java project. (Edit: Scratch that, it's C++. Still, he's more familiar with doing that than I am...given that my experience in this area is non-existant.)

Edit: As I have since added the console commands as originally intended, the half finished version is no longer available. Please look a few posts down for the release notes on VocabSM 1.0
Last edited by Tenderfoot88 on 21 Feb 2014, 09:11, edited 2 times in total.
Hiss000
*
Posts: 9
Joined: 19 Oct 2012, 15:35

Re: Laerning by pain

Post by Hiss000 »

idk why, but i cant download this ;c can u repupload to another site?
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Hmm...I see what you mean. Curious.

Edit: Link removed so I only have to maintain the link in one place. See next post.
Last edited by Tenderfoot88 on 13 Mar 2014, 23:39, edited 3 times in total.
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

Version 1.0 is now complete: https://dl.dropboxusercontent.com/u/113 ... %201.0.zip

VocabSM 1.0 is a console based vocabulary quiz program that allows you to set up to 1000 different questions, intended as translation between a familiar language and a new language. It can be used with external programs to provide rewards or punishments for each correct or incorrect response, providing added motivation to learn. It can also be set to provide you a release method, through the use of another external program, as a reward for completing the session (or because you hit the time limit set at the beginning of the session). If no path is set for these external options, the program will continue to function properly without them. So you can opt to not use the release program as well. (The reward and punishment can be turned off separately in the config file, which saves a bit more memory than simply refusing to provide a path to the program.

For further information, consult the readme.txt file included in the zip file.

Please note that I do not guarantee this program will be 100% reliable (though it is tested and should work properly). If the program fails to operate correctly, or if there is a different computer related failure (including loss of power), the release method set to run at the end of the session will not trigger properly. Please set a secondary release method like an ice lock system that will release you without any input from the computer. As ever, it's also advisable to include an emergency, on-demand release method for use in case of a house fire or other similarly critical disaster.

And since I apparently promised to publish the source a while back, then ended up not doing so, here's the source file: https://dl.dropboxusercontent.com/u/11324600/Vocab.java
Last edited by Tenderfoot88 on 04 Jun 2014, 21:57, edited 2 times in total.
Ginns
*
Posts: 5
Joined: 11 Mar 2014, 17:19
Location: Germany

Re: Laerning by pain

Post by Ginns »

I am utterly sorry to be the bearer of bad tidings, but the link isn't working anymore. Might I humbly ask you to upload it once more? ;)
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Laerning by pain

Post by Tenderfoot88 »

This will..oh, not take any time to upload at all. Funny that. I have much more direct control over this service, so this should stay available pretty much indefinitely:
https://dl.dropboxusercontent.com/u/113 ... %201.0.zip
Link is tested and functional.
Ginns
*
Posts: 5
Joined: 11 Mar 2014, 17:19
Location: Germany

Re: Laerning by pain

Post by Ginns »

That link works very well. Thank you so much for that.
But the program doesn't seem to work on Win 7 64bit... :(
I only get a short popup and then it disappears again.
Did I do something wrong?
Post Reply