Click to See Complete Forum and Search --> : Frogect Rotamiton
mendhak
Feb 3rd, 2006, 04:26 AM
Members:
VisualAd
Mendhak
Grilkip
Sevenhalo
eyeRmonkey
Names will be added to the members list as and when they are inducted. You are not to reveal the details of the frogect until its completion and release.
I will post the list of tasks here in a while.
It's nice to see such brilliant minds working on such a useful, important set of tasks
mendhak
Feb 3rd, 2006, 04:33 AM
Tasks
1. Highlighted Text Acquisition for propagation through modular functions
1a. "Mother" function which determines which functions of the following are called.
2. Grouped Letter Substitution
3. Intra-Group Symbol Exchange
4. Numeric Padding
5. Micro-Circular Pixel Suffixation
6. Graphical Emotion Application
6a. Feminine Conquestial Digressions
6b. Epithet sprinkler
7. Unicode Signature
8. Aristocratic Signatory Illustration
9. Exchange and storage interface for Grouped Letter Substitution (1)
The details of the tasks will be told on a need-to-know basis. If you wish to know, PM either me or Visualad and we'll tell you.
Task Delegation
VisualAd:
3. Intra-Group Symbol Exchange - DONE
2. Grouped Letter Substitution - DONE
Mendhak:
8. Aristocratic Signatory Illustration - DONE
1. Highlighted Text Acquisition for propagation through modular functions - DONE
1a. "Mother" function which determines which functions of the following are called. - DONE
6a. Feminine Conquestial Digressions - DONE
Grilkip:
4. Numeric Padding - DONE
6. Graphical Emotion Application - DONE
7. Unicode Signature - Done
Sevenhalo:
5. Micro-Circular Pixel Suffixation
eyeRmonkey:
6b. Epithet Sprinkler - Done
visualAd
Feb 3rd, 2006, 04:37 AM
This is a serious frogect, although no fees are payable. So please do not post chit chat here and only express an interest if you truly are interested in taking part.
You can express an interest by either replying here or contacting mendhak or myself.
The success of the frogect will be measured by the embarrassment caused to the beneficiary by the final deliverable.
grilkip
Feb 3rd, 2006, 08:09 AM
#4 is mine.
grilkip
Feb 3rd, 2006, 03:11 PM
Don't how far you guys are with XUL, but these seem handy.
http://www.mozilla.org/xpfe/xulref/
http://ted.mielczarek.org/code/mozilla/extensiondev/
~teh_pwn3rz~
Feb 4th, 2006, 07:14 AM
What languge are you going to write this with? I can do C# a bit.
I can write the fast code which you are needing.
visualAd
Feb 4th, 2006, 07:16 AM
Javascript / XUL. HTML skilz are also useful. If you would like to add some C# we can put that in somewhere - but it would serve no purpose.
thegreatone
Feb 4th, 2006, 11:13 AM
I am interested, although XUL is by far not my strong point.
grilkip
Feb 4th, 2006, 11:21 AM
Well, I created a simple function that does what task #4 stipulates but I tested it by simply embedding it in a html page. XUL still illudes me for the time being.
mendhak
Feb 4th, 2006, 01:15 PM
I am interested, although XUL is by far not my strong point.
There isn't much to know about it actually. I don't know it myself, but am quick to pickup on things, it's easy once you start looking at the existing code.
In fact, this should be really easy for you. All you need to do is create the function using javascript (which is pretty much C/C++/Java minus the data types) and send it to me.
mendhak
Feb 4th, 2006, 01:17 PM
Task 8 is complete:
http://www.mendhak.com/images/frogectrotamiton.gif
You may add this to your signatures. :afrog:
mendhak
Feb 4th, 2006, 01:46 PM
Guys, take note... just write the code in JavaScript, and send it to me. I'll take care of adding it to the existing code.
grilkip
Feb 4th, 2006, 03:23 PM
um #6 is not done yet :D
mendhak
Feb 4th, 2006, 03:42 PM
My mistake. :blush:
sevenhalo
Feb 4th, 2006, 04:20 PM
5 (Micro-Circular Pixel Suffixation) sounds interesting, I'll give it a shot. :D
Edit: You can toss more my way if there's holes that need to be filled. Since it's my first VBF project, I didn't volunteer for alot.
grilkip
Feb 4th, 2006, 04:28 PM
easteregg?
thegreatone
Feb 4th, 2006, 04:30 PM
easteregg?
A good easter egg would be the image of who it is to take the smichael out of.
mendhak
Feb 4th, 2006, 05:24 PM
Easter Egg? Hmmm... a replacement for a specific word combination?
visualAd
Feb 4th, 2006, 06:44 PM
Here is the code for my function:
function IntraGroupSymbolExchange(theString) { /* these are the replacements */var exchanges = Array(Array('ea', 'ae'), Array('ae','ea'), Array('ie', 'ei'), Array('ei', 'ie'), Array('er', 're'), Array('re', 'er'), Array('ee', 'ea'), Array('ea', 'ee'), Array('ck', 'k'), Array('c', 'k'), Array('en', 'een'), Array('ine', 'in'), Array('eet', 'eets'), Array('eeth', 'eeths'), Array('ua', 'au') ); /* this regexp matchs groupd of 5 words */ var pattern = /(\W*)((\w+\W*){1,5})/g; var groupedWords = Array(); var x=0; while(((match = pattern.exec(theString)) != null)) {/* now scrutinse each match */var word = Array(); word['before'] = match[1]; word['words'] = match[2];groupedWords[x++] = word;} var shuffledGroupedWords = array_shuffle(groupedWords).slice(0, (Math.round(0.8 * groupedWords.length)));for (x = 0; x < shuffledGroupedWords.length; x++) {shuffledGroupedWords[x]['words'] = SymbolExchange(shuffledGroupedWords[x]['words'], exchanges);}var retString = ''; for (x = 0; x < groupedWords.length; x++) {retString += groupedWords[x]['before'] + groupedWords[x]['words'];} return retString;}function SymbolExchange(theString, exchangeArray){ var shuffled = array_shuffle(exchangeArray);for (var x = 0; x < shuffled.length; x++) {if (theString.search(shuffled[x][0]) != -1) {theString = theString.replace(shuffled[x][0], shuffled[x][1]);break;}}return theString;} /* shuffles an array */function array_shuffle(theArray)var newArray = new Array();var len = theArray.length;for(var x = 0; x < len; x++) {newArray[x] = theArray[x];} for(var x = 0; x < len; x++) { var r = Math.round(Math.random() * (len - 1 )); var temp = newArray[x]; newArray[x] = newArray[r];newArray[r] = temp;}return newArray;}
visualAd
Feb 5th, 2006, 06:56 AM
I thought I was doing number 2? :cry:
mendhak
Feb 5th, 2006, 10:15 AM
Alright, you are now doing number 2. I shall take 6a.
mendhak
Feb 5th, 2006, 12:46 PM
Grilkip's done #6, good work. :) :) ;)
I've currently implemented the existing four functions and am testing it out. The element of randomness is present, as in, not all functions get called all the time. Anywhere between 1 and all of the functions (inclusive) may be called. Of course, some strings end up looking overdone, but I think we can allow for that. Once all functions are implemented, I think I'll limit it to NUMBEROFFUNCTIONS - 2 or -3, so that all of them can never be called together.
If anyone wants to see the current code and wants to test it out on their own machines, PM me.
grilkip
Feb 7th, 2006, 04:03 PM
I'm having a problem with using my global var. The way the software we are modifying works is:var extensionname {init: function() { //code }, anotherfunction() { //code}} OK, so when you create an object using var, you appearantly have to separate the functions and variables using commas.
This is the only relevant example I've been able to find:
var ExtensionName = {
_privateMember: 3,
publicMember: "A string",
init: function() {
this.doSomething(this.anotherMember);
},
doSomething: function(aParam) {
alert(aParam);
}
};This leeds me to believe that to have my global var it should be something like this:var extensionname {smiliesused: 0, init: function() { //code }, anotherfunction() { //code}}
Which doesn't work for me. The entire extension will not work when there is a syntax error, and I am having a tough time figuring out what is wrong.
Could it be that the declaration is right, but I am adressing the var wrongly (from within a function)? I have tried using this.smiliesused.
grilkip
Feb 7th, 2006, 04:49 PM
hmm, a little birdy just told me I should use extensionname.smiliesused.
Gonna try that tomorow.
visualAd
Feb 7th, 2006, 04:59 PM
Some of these word lists are quite big and I think we should give the option for anyone to add and remove words from them. Therefore I propose we keep a list of words and replacements on one of our sites in XML format. Anyone else up for this amazing feat in Javascript XUL and XMLHTTPRequest?
mendhak
Feb 7th, 2006, 05:29 PM
All 'entities' within the extensionname still refer to its peers by the extensionname.entity syntax. Took me a long time to figure that out and why the extension wasn't working.
mendhak
Feb 7th, 2006, 05:51 PM
My apologies for the current delay, as it is a work week, but I am working on it. :D
Besides that, we seem to be almost complete. After the final functions are done, we'll add it to the xpi, and I'll send each of you a copy for testing. I'll be asking for your email addresses (again, for some of you) at that point.
mendhak
Feb 7th, 2006, 05:52 PM
Grilkip, are you modifying that function in the extension itself? If so, after you're done, can you email it back to me along with the Unicode Signature function?
grilkip
Feb 8th, 2006, 05:15 AM
Sure thing (if I get it working), good to see EM has joined the ranks :thumb:
grilkip
Feb 8th, 2006, 07:46 AM
Added, modified and sent.
visualAd
Feb 8th, 2006, 08:53 AM
Can I have the package next? I need to add my new function and fix a HUGE bug in my old one. :D
eyeRmonkey
Feb 8th, 2006, 06:01 PM
Hey guys. Thanks for letting me on board with this.
I was just reading some interesting text by an "interesting person" and I suggest was make an addition to SevenHalos assignment. Extra question marks should added to sentences that already have them. The "interesting person" tends to do that a lot as well.
Epithet Sprinkler is coming along. Should be ready in a few days if I am not too busy.
visualAd
Feb 9th, 2006, 02:37 AM
I split the string into parts 5 words in each part, shuffle the array and swap in 80% of the groups of 5. I then rebuild the string.
/* this regexp matchs groupd of 5 words */
var pattern = /(\W*)((\w+\W*){1,5})/g;
var groupedWords = Array(); // array containing groups of 5 words
var x=0;
// break it into groups of 5 words - loading it into an array
while(((match = pattern.exec(theString)) != null)) {
/* now scrutinse each match */
var word = Array();
word['before'] = match[1]; // this should only happen on the first match
word['words'] = match[2];
groupedWords[x++] = word;
}
\w - matches a word character
\W - matches a non word character
+ - match one or more of what is before like, {1,*}
* - match zero or more of what is before {0,*}
() - capture / sub pattern
{1,5} - qantifier {n,m} (n = minimum; m=maximum)
g - global match / replace
mendhak
Feb 9th, 2006, 03:03 PM
Hey guys. Thanks for letting me on board with this.
I was just reading some interesting text by an "interesting person" and I suggest was make an addition to SevenHalos assignment. Extra question marks should added to sentences that already have them. The "interesting person" tends to do that a lot as well.
Epithet Sprinkler is coming along. Should be ready in a few days if I am not too busy.
Can we modify the #2 function to include this?
grilkip
Feb 9th, 2006, 03:05 PM
adding ..... after a sentence is the same as adding ????? after a sentence so it makes more sence to add it to 7halo's function.
eyeRmonkey
Feb 9th, 2006, 09:57 PM
Okay, my function is basically done except for the probabilities and the fact that I need to figure out which words I can insert "epithets" after. For example the word can be inserted after "that". I need more words which can have figurative language inserted after them. Any ideas? PM me if you need to.
eyeRmonkey
Feb 9th, 2006, 10:09 PM
I was reading some text by an interesting person again and I realized that this person tends to hold the shift button too long when trying to capitalize the first letter of a word. So this "Hello World" should become "Hello WOrld" occasionally. Who's function should this be added to?
EDIT: Also, maybe we could have an option on the interface (a checkbox perhaps) that would allow the user to add a line at the end that mentions this the text was "brought to you by this frogect". Just a thought.
mendhak
Feb 11th, 2006, 04:40 AM
a
an
the
their
his
her
our
many
several
some
mendhak
Feb 11th, 2006, 04:41 AM
I was reading some text by an interesting person again and I realized that this person tends to hold the shift button too long when trying to capitalize the first letter of a word. So this "Hello World" should become "Hello WOrld" occasionally. Who's function should this be added to?
EDIT: Also, maybe we could have an option on the interface (a checkbox perhaps) that would allow the user to add a line at the end that mentions this the text was "brought to you by this frogect". Just a thought.
Capitalization of two letters immediately following a full stop, as long as those letters are not full stops or numbers.
I think so.
mendhak
Feb 11th, 2006, 04:42 AM
Since I have the latest version of the project at this moment, please send the functions to me instead of adding them to your copy of the project.
mendhak
Feb 11th, 2006, 04:43 AM
Does anyone know where sevenhalo is?
thegreatone
Feb 11th, 2006, 05:20 AM
Does anyone know where sevenhalo is?
I smell murder.
Well, it is a weekend Mend, he could of gone any where.
grilkip
Feb 11th, 2006, 07:15 AM
Those Feminine Conquestial Digressions are an excellent read. :thumb:
:lol:
mendhak
Feb 11th, 2006, 03:17 PM
Should the FCDs list be expanded even further?
grilkip
Feb 11th, 2006, 03:23 PM
Well, we could all try to think of some fictional ones.
Maybe they should be formatted as normal English so some of the other functions could be aplied to them as well.
Seraphino
Feb 11th, 2006, 03:28 PM
Can someone explain to me exactly what this is? I do not get it, I might be interested in helping out if I knew what exactly it was that is serves.
grilkip
Feb 11th, 2006, 03:34 PM
Well, this frogect is basically a little present for someone that those initiated at vbforums all know.
If you are serious, I believe there is still a task available wich involves creating a small GUI in XUL for Firefox. But honestly if you are looking to participate in a serious project I would move on to the next one. ;)
grilkip
Feb 11th, 2006, 04:12 PM
BTW, I think that the AddEmotion function should be called with the "happy" argument and the "sad" argument, I don't really like the ambivelant option.
If (Math.random() < .66)
{
//favor happy
} else {
//do sad
}
Seraphino
Feb 12th, 2006, 10:12 AM
I know that, but like, what does this program do?
eyeRmonkey
Feb 12th, 2006, 02:38 PM
I sent you a PM Seraphino. That should explain things.
sevenhalo
Feb 13th, 2006, 07:12 AM
I'm here, I'm sorry! :cry:
It's been a crazy week, have had some time to freshen up on javascript. Will have something to show for it this week.
mendhak
Feb 14th, 2006, 04:19 PM
[Monty Burns]
Eeeexcellent
[/Monty Burns]
By the way, who has the latest version of the XPI? It's not me...
eyeRmonkey
Feb 15th, 2006, 12:27 AM
Sorry I have been really busy this week too. I'm sending you my (sadly) not completely finished function Mendhak. I will try to work on it more over the week and send you a better version later.
visualAd
Feb 15th, 2006, 12:45 AM
Word replacement needs randomisation - I shall do that tonight.
mendhak
Feb 15th, 2006, 03:12 PM
BTW, I think that the AddEmotion function should be called with the "happy" argument and the "sad" argument, I don't really like the ambivelant option.
If (Math.random() < .66)
{
//favor happy
} else {
//do sad
}
Done.
mendhak
Feb 15th, 2006, 03:13 PM
Guys, any more modifications and changes you make, please email them to me even though I will be sending you the 'latest' copy.
Also, any FCDs you can think of ;-)
mendhak
Feb 15th, 2006, 03:18 PM
Also, could you email me with your names, or if you prefer, your screennames. I will be adding them to the 'credits' box. In addition, if you have a website, send me that too, I can make your 'name' a URL.
mendhak
Feb 15th, 2006, 03:46 PM
Can someone help me with XUL styles?
I want styles to show up in the about dialog box. This is specified in About.XUL. In chrome\skin, I have placed about.css, vbf.css and global.css (just to be on the safe side). I did this because in about.xul, the stylesheet is specified as:
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
And about.css of course has the .url class styles. But the styles don't show up. What am I missing?
mendhak
Feb 15th, 2006, 03:53 PM
Got it!
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="about.css" type="text/css"?>
And then place about.css in the SAME DIRECTORY as about.xul.
I am sending you the xpi now, if I have your email addresses. :) Looks like I'm talking to myself again.
I'm signing out for now.
eyeRmonkey
Feb 17th, 2006, 11:59 AM
Has sevenhalo even submitted any of his code yet? Should someone else just take over his section since he seems unreachable?
visualAd
Feb 17th, 2006, 01:23 PM
This is looking good. I invisiage great things when we release this beast.
Didn't sevenhalo post earlier to say he has his hands tied? If no one else wants to undertake his task then i will offer.
grilkip
Feb 17th, 2006, 01:42 PM
His task seems as one of the simpler ones, if he manages to find a little bit of time it should be doable.
And we are here to help ofcourse ( :sick n00b talking )
We should have a little spamming frenzy in CC before we fully release it :)
REPLY 7HALO
sevenhalo
Feb 17th, 2006, 02:18 PM
I did! Sorry! I'm at work, it's not infront of me... I worked on it this week, was planning on rolling out to you tonight. :cry:
It took me awhile cause I had to relearn javascripting. It's been ages since I've done anything in pure HTML and script. Everything's been ASP.Net and VB.Net for the last year and a half.
Don't hurt me...
eyeRmonkey
Feb 17th, 2006, 09:41 PM
:lol:
Its all good buddy. Just wondering where you were. ;) I had to realearn JavaScript myself. Get it to us whenever, just wanted to make sure you hadn't died.
PS - Nice avatar. :)
sevenhalo
Feb 17th, 2006, 11:48 PM
Thanks eyeR :)
I did some more work on this tonight, but still not done. I know, I'm sorry. :( It's late and I need some sleep. I've been up since 5:00am. Excuses aside, my whole day is clear tomorrow and I'll be able to knock this out.
Honestly, if you're sick of waiting; you can pass the task to someone else. I won't be offended or anything. I'm not making anything [I]spectacular[I], just struggling with trying to break myself away from my .Net thinking. Completely up to you guys. Either way, I'll still get this done and post it. If not for the frogect; atleast for the feedback.
Thanks for the patience thus far, I know it's been borderline ridiculous.
eyeRmonkey
Feb 18th, 2006, 02:05 AM
As far as I know, no one is in that big of a hurry. We still have to work on the XUI (whatever that is? :)). Take your time. I don't think there is that much of a rush. I guess its not for me to decide though.
mendhak
Feb 18th, 2006, 05:17 AM
Well, the XUL (basically, the window for saving the word list) will take a little time. While we aren't in a rush, it'd be nice to get it done soon.
eyeRMonkey will do this. This one should be pretty simple, just inserting dots... and keep the probability quite low on this one. Our functions are mangling the posts up pretty bad already. :D
mendhak
Feb 18th, 2006, 05:23 AM
VBForums > Options...
VBForums > Email address
Was this not working when we started on it?
grilkip
Feb 18th, 2006, 05:38 AM
It did work when we started.
edit:
I PMed you, I think we are working on an outdated version.
mendhak
Feb 19th, 2006, 04:38 AM
<farnsworth>Good news everyone</farnsworth>
The XUL interface is ready!
There will be no interface for feminine conquestial digressions, it does not have enough ROI.
Now all we need is 7halo to finish his function, a few finishing touches, and we can have our field day.
visualAd
Feb 19th, 2006, 01:12 PM
Now all we need is 7halo to finish his function, a few finishing touches, and we can have our field day.
I have made some bbcode to add to your sigs to try and get 7halo to find some time in his busy schedule.
Seconds until Sevenhalo brings Frogect to its fiery doom: http://adam.codedv.com/img_countdown/countdown.php
sevenhalo
Feb 19th, 2006, 08:56 PM
sevenhalo's a pudding head, lets all pee in his cereal :p
Talk about unholy pressure... I ran out of time this weekend. I have alot of wait testing to do at work tomorrow, so I'm bringing it with me. I'm just going to get the basic function done. Random number of dots and random times. I was attempting to use regex to be able to parse sentences to identify multiple thoughts when sentences run on forever and you really can't determine when one ends or begins since that seems to be a common occurrence on these forums and would make it really hard for my function to show any effect at all.
But I'll do that later. Sorry guys.
sevenhalo
Feb 20th, 2006, 02:30 PM
Almost done. I messed something up though. When I pass the string:
"Let's see if this is better. This should work. I suck at math though, it might not."
I ended up with:
"Let's see if this is better. This should work.. if this is better. This should work..... better. This should work. I suck at math though, it might not."
:lol:
sevenhalo
Feb 20th, 2006, 02:41 PM
Ok, it happened again.
"What happened. That was weird. Try it again."
produced:
"What happened..... weird..... weird..... weird. happened. That was weird. happened. That was weird.... was weird. Try it again."
I'm not sure what I did. The following is the code I have; I can't find anything out of place?
<script language="JavaScript" type="text/javascript">
var strMessage; //Input Message
var arrMessage = new Array(); //Message parsed
var intIntensity = 5; //used in the algorithm to determine amount of ellipses
var intConsistency = 5; //used to determine if the ellipse count is consistent or scarttered
var intFrequency = 2; //used to determine how often do we see it
function AbbrevWord(strWord)
{
if (strWord.indexOf(".") > 0) //Is this even an issue?
{
if (strWord.indexOf(".") == strWord.length - 1) //Is the last position a period?
{
var intCount = 0;
for (intCnt2 = 0; intCnt2<strWord.length; intCnt2++) //How many? (Abbreviation check)
{
if (strWord[intCnt2] == ".")
{
intCount++;
}
}
if (intCount > 1)
{
return true;
}
else
{
return false;
}
}
else
{
return true;
}
}
else
{
return true; //No periods at all
}
}
function FloatingNumber(strNum) //Possible floating number
{
if (parseFloat(strNum))
{
return true;
}
else
{
return false;
}
}
function RndElipse()
{
var Output = "";
if ((Math.floor(Math.random() * 100) + 1) % intFrequency == 0)
{
var intPeriods = (Math.floor(Math.random() * intIntensity) + (intIntensity - intConsistency))
for (intCnt = 0; intCnt<intPeriods; intCnt++)
{
Output += ".";
}
}
return Output;
}
function DotAdder(strInput)
{
var strOutput = new String();
strMessage = new String(strInput);
arrMessage = strMessage.split(' ');
for (intCnt = 0; intCnt<arrMessage.length; intCnt++)
{
strOutput += arrMessage[intCnt];
if (AbbrevWord(arrMessage[intCnt]) == false && FloatingNumber(arrMessage[intCnt]) == false && arrMessage[intCnt].length != 1) //Check to make sure word isn't an abbreviation or a float
{
strOutput += RndElipse()
}
strOutput += " ";
}
return strOutput;
}
</script>
My ellipse math is a little skewed... I realize that much, but everything else should be right on?
mendhak
Feb 20th, 2006, 03:20 PM
Good, good... he's buckling under undue pressure. :afrog:
sevenhalo
Feb 20th, 2006, 03:23 PM
Thanks for the... feedback? :p
sevenhalo
Feb 20th, 2006, 04:01 PM
<<Just realized how far off he is.
*pauses for laughter*
Still getting done tonight. Just really really kicking myself right now. :lol:
eyeRmonkey
Feb 20th, 2006, 06:47 PM
a
an
the
their
his
her
our
many
several
some
Mendhak,
I want to extend the dictionary in my function, but I can't figure out what "carefully chosen words" you intended for me to put after these words. Mind helping a pal out and elaborating for me?
eyeRmonkey
Feb 21st, 2006, 08:29 AM
It took me up until just now to realize what what rotamiton meant. Damn I'm dense sometimes.
mendhak
Feb 21st, 2006, 08:48 AM
Mendhak,
I want to extend the dictionary in my function, but I can't figure out what "carefully chosen words" you intended for me to put after these words. Mind helping a pal out and elaborating for me?
Basically, take any epithet, remove a letter or two from it, and star a lot of them out so that the epithets don't look like epithets anymore. OR, make something up. Example
F***i
P*tt
Still want examples?
visualAd
Feb 21st, 2006, 08:50 AM
Sometimes there ***** there are wor**s which make no sen**s.
sevenhalo
Feb 21st, 2006, 09:08 AM
Sorry guy, girlfriend kickedme off the computer last night. Here is my code in it's entirety. Let me know how well it works for you (or things you want changed).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>DotAdder</title>
</HEAD>
<body>
<script language="JavaScript" type="text/javascript">
var strMessage; //Input Message
var arrMessage = new Array(); //Message parsed
var intIntensity = 5; //used in the algorithm to determine amount of ellipses
var intConsistency = 5; //used to determine if the ellipse count is consistent or scarttered
var intFrequency = 2; //used to determine how often do we see it
var intRandom = 10; //Percent chance that a random ellipse will just appear for no rhyme or reason
function AbbrevWord(strWord)
{
if (strWord.indexOf(".") > 0) //Is this even an issue?
{
if (strWord.indexOf(".") == strWord.length - 1) //Is the last position a period?
{
var intCount = 0;
for (intCnt2 = 0; intCnt2<strWord.length; intCnt2++) //How many? (Abbreviation check)
{
if (strWord[intCnt2] == ".")
{
intCount++;
}
}
if (intCount > 1)
{
return true;
}
else
{
return false;
}
}
else
{
return true;
}
}
else
{
return true; //No periods at all
}
}
function FloatingNumber(strNum) //Possible floating number
{
var intNum = strNum;
if (parseFloat(intNum))
{
return true;
}
else
{
return false;
}
}
function RndElipse()
{
var Output = new String('');
if ((Math.floor(Math.random() * 100) + 1) % intFrequency == 0)
{
var intPeriods = (Math.floor(Math.random() * intIntensity) + (intIntensity - intConsistency));
for (intCnt3 = 0; intCnt3<intPeriods; intCnt3++)
{
Output = Output + ".";
}
}
return Output;
}
function DotAdder(strInput)
{
var strOutput = new String('');
strMessage = new String(strInput);
arrMessage = new Array();
arrMessage = strMessage.split(' ');
for (intCnt = 0; intCnt<arrMessage.length; intCnt++)
{
strOutput = strOutput + arrMessage[intCnt];
if ((AbbrevWord(arrMessage[intCnt]) == false || (Math.floor(Math.random() * intRandom) + 1) == intRandom) && (FloatingNumber(arrMessage[intCnt]) == false && arrMessage[intCnt].length != 1))
{
strOutput = strOutput + RndElipse()
}
strOutput = strOutput + " ";
}
document.write(strOutput);
}
</script>
<form id="Form1" method="post">
<INPUT TYPE="text" NAME="txtInput" size=150></INPUT>
<INPUT TYPE="button" NAME="Submit" VALUE="Submit" onClick="DotAdder(txtInput.value)"></INPUT>
</form>
</body>
</HTML>
I left it in the html form. If you want it as a js file (not that it's a huge change); let me know. ;)
And just a heads up, it's not the fact that I don't program that unleashed the fiery pits of hell. It's that I do.
eyeRmonkey
Feb 21st, 2006, 11:07 AM
Basically, take any epithet, remove a letter or two from it, and star a lot of them out so that the epithets don't look like epithets anymore. OR, make something up. Example
F***i
P*tt
Still want examples?I know what the general idea is. I was basically asking for a specific list of ephitets to go with the list you gave me. Making up ones would be good I suppose.
sevenhalo
Feb 21st, 2006, 11:33 AM
Am I still burning this thing, or am I done? :confused:
grilkip
Feb 21st, 2006, 04:08 PM
The excitement is too much to bear. OMGOMGOMG
:faints:
eyeRmonkey
Feb 21st, 2006, 08:44 PM
:lol: How abou that list of ephitets? Anyone?
sevenhalo
Feb 21st, 2006, 09:01 PM
Give me an example and then I'll try and toss you a couple.
mendhak
Feb 22nd, 2006, 05:54 AM
120 seconds...
mendhak
Feb 22nd, 2006, 05:56 AM
eyeRMonkey
sn**e
Me***n
Dh**k
ey**
mendhak
Feb 22nd, 2006, 05:56 AM
I haven't tested sevenhalo's code yet, I'll do this when I get home.
What's left after that, a few modifications from eyeRMonkey adn that's it?
visualAd
Feb 22nd, 2006, 05:57 AM
Is it me or is the deadline going up?
T+284 sconds :p
sevenhalo
Feb 22nd, 2006, 08:09 AM
It is! wth?
I guess that's what happens when you use php... ;)
mendhak
Feb 22nd, 2006, 08:57 AM
-11097 seconds remaining. :p
NoteMe
Feb 22nd, 2006, 09:16 AM
hahaha...silly silly beans..:D
mendhak
Feb 22nd, 2006, 05:53 PM
Alright, thanks 7halo. Function added.
Who wants to make any final touches on this? eyeRMonkey? You wanted to add something to the function?
I'll send you guys the latest XPI after receiving the final changes from all of you, if you have any.
mendhak
Feb 23rd, 2006, 08:54 AM
eyeRMonkey, you pompous banana peeler, send me the changes you wanted to make!
We're ready for release!
eyeRmonkey
Feb 23rd, 2006, 11:13 AM
Bah I say to you! I guess I will just add a bunch of made up ephtitets since you never sent me a list. I'll send it to you when I get home (in a few hours).
eyeRmonkey
Feb 23rd, 2006, 07:04 PM
Okay here is my final word list (replace it with the current one):
var Words = Array(
// FORMAT: [Word to find--INCULDE SPACES BEFORE & AFTER], [List of possible words to insert after that word]
Array(' the ', 'f****r', 'f***ing', '****ty', 'b*****d'),
Array(' a ', 'b****y', 'w*******', 'h****r'),
Array(' that ', 'f***ing'),
Array('...', '****...'),
Array(' an ', 'e***m', 'm****h', 's*****h', '*****l', 'Dh**k', 'sn**e', 'Me***n'),
Array(' some ', 's*****h', 'f***ing', 'b****y'),
Array(' many ', '***sh', 'r****', 'h****r', 'w*******'),
Array(' several ', '***sh', 'r****', 'h****r', 'w*******'),
Array(' their ', 'b****y', '***n', '*****ed', '******ing')
);
mendhak
Feb 24th, 2006, 11:54 AM
Alright. I'll add this tonight.
Expect to receive an email with the final XPI at some obscure time.
Once you do, we shall begin the... 'testing' :D
zaza
Feb 24th, 2006, 12:12 PM
When in the name of holy sweet Mary, mother of God, are you going to put us all out of our misery and show us whatever this thing is you've been muttering about?
[Runs away from Codehammer]
mendhak
Feb 24th, 2006, 05:17 PM
With bald headed babeis. :cry: :cry:
I preseent to you, the Beta of the VBF Exteension. :( It is :cry:, of course, ment to be the final relaese :(, butt it's being kalled a b****y Beta now just in kase8 theer are mis6takes or errors we ha3ve overlooked.
Plaese start using this 3as yo6u pleese.
(CHECK YOUR EMAILS!)
All comments about it in general, suggestions, whatevers, post back here.
Whatevers would be of most use to us.
mendhak
Feb 25th, 2006, 04:39 AM
Ahh, sevenhalo's nam3e is missing from the list. :(
- ØØ -
NoteMe
Feb 25th, 2006, 04:53 AM
Ahh, sevenhalo's nam3e is missing from the list. :(
- ØØ -
That is not a bug, but a feauture....
visualAd
Feb 25th, 2006, 04:56 AM
Go away, frogect members only.... ;) ;)
When she asked me she did not tell me..:( I found out too late, I have to pay.
sevenhalo
Feb 25th, 2006, 11:38 AM
:cry:
grilkip
Feb 25th, 2006, 02:12 PM
Wow, theer is a h****r lot of profanity!
- ØØ -
mendhak
Feb 25th, 2006, 07:01 PM
Code Highlighters > All options
Broken. :(
mendhak
Feb 25th, 2006, 07:05 PM
Can someone find the code for this? And Rainbow Highlight. And find out what other options are missing.
What have we done? :sick:
mendhak
Feb 25th, 2006, 07:10 PM
Alright, fixed the code highlighters menu options. Keep an eye out to see if anything else is missing in this most useful of endeavours. :lol:
NoteMe
Feb 25th, 2006, 07:18 PM
Are you building this **** on top of the Cander extension....now that is worse then swearing in the church...:D
mendhak
Feb 26th, 2006, 07:06 AM
Do us a favor NoteMe?
NoteMe
Feb 26th, 2006, 07:55 AM
And that is?
- ØØ -
mendhak
Feb 27th, 2006, 10:57 AM
And that is?
- ØØ -
I guess you're not interested. :(
NoteMe
Feb 27th, 2006, 11:01 AM
Fix it so it is working....it is not working here..:)
- ØØ -
Seraphino
Feb 27th, 2006, 05:41 PM
Excuse me, I am really sorry. Can someone answer these questions is great detail, because, no matter how much I read into this frogect, I just don't understand what this actually is.
1. What IS Frogect Rotamiton?
2. How do you pronounce the name? I pronounce it literally but I don't think I am pronouncing it right....
3. What does this Frogect do?
If someone could answer me, that would be great!
sevenhalo
Feb 27th, 2006, 05:57 PM
1. If we tell you, we'd have to kill you.
2. It's the true name of God. Our tongues are too primitive to speak it.
3. The question is, "What can't it do?"
eyeRmonkey
Feb 27th, 2006, 06:22 PM
ROFL. I almost feel bad for Seraphino. And yet I can't stop laughing at 7halo's post. :D
visualAd
Feb 27th, 2006, 07:48 PM
Excuse me, I am really sorry. Can someone answer these questions is great detail, because, no matter how much I read into this frogect, I just don't understand what this actually is.
1. What IS Frogect Rotamiton?
2. How do you pronounce the name? I pronounce it literally but I don't think I am pronouncing it right....
3. What does this Frogect do?
If someone could answer me, that would be great!
Now the NoteMe knows about it; we can reveal the details.
A few weeks ago the idea was born to create a tool which would modify the text in posts so it appeared as if one of our long standing members (NoteMe) had written them. NoteMe has, since joining the forum been the butt of all jokes relating to bad English, with famous mistakes such as coffee and coffin and copulation instead of population.
To pay tribute to his terrible English a team of members got together to create an add-on to the current VBF Firefox extension called "The Notimator". The plan was to develop this addition right under NoteMe's nose under the subtle disguise of a code name (Notimator backwards) and a quiet secrecy.
The results of about four weeks work have converged today to create the Notimator, which bears the following random post modifiers:
Grouped Letter Substitution - NoteMe's most famous attribute, poorly spelt or completely mangled words. We have compiled a huge list, (which you can add words to) of replacement words.
Intra-Group Symbol Exchange - This replaces and swaps certain phrases and letters within words such as ee and ea.
Numeric Padding - Randomly adds numbers to the middle of words and sentances.
Micro-Circular Pixel Suffixation - NoteMe has a habbit of over using the ..... key, therefore we add strings of full stops to tie this work of art together.
Graphical Emotion Application - Fills the post up with smiles at the beginning, middle and ens of sentances.
Feminine Conquestial Digressions - Appends some of NoteMe's most famous quotes pertaining to members of the opposite gender to the end of the post. (Obviously we could not include them all otherwise all the users of this extension will get banned :))
Epithet sprinkler - NoteMe also has a hobbit of using the **** key. In most cases asterisked out words signify that the VBF word filter has kicked in a replaced a rude word. But in NoteMe's case, it is anyone’s guess as to the original identity of the word.
Unicode Signature - to apply the finishing touches, we add his unique signature.
Tomorrow the new extension shall be uploaded to NoteMe's website for general VBF consumption. I hope you all enjoy using this.
The Frogect was aptly named, because it's lead is really a Frog and it is to him that I leave the final pleasure of declaring Frogect Rotamiton the first ever ......
Invincible
Feb 28th, 2006, 02:52 AM
Thanks... :rolleyes:
Invincible
Feb 28th, 2006, 03:13 AM
Ohhh...and BTW, this is NO longer an alternative as an update of the official vBulletin extension.
mendhak
Feb 28th, 2006, 03:35 AM
I didn't understand that sentence. Does it mean you WILL make it separate, which is the right thing to do?
We are now removing some of the features... to make it comply with VBF rules. No swear words, no rudeness... it will be clean.
Invincible
Feb 28th, 2006, 03:40 AM
What about kicking it in the ass, and then behead it....
Invincible
Feb 28th, 2006, 03:58 AM
And what if I spit on it too..:D
Seraphino
Feb 28th, 2006, 05:11 AM
Thanks, I finally get it.
Invincible
Feb 28th, 2006, 07:58 AM
I should have understood it was a way to frame me before it was too late..:D:D:D
mendhak
Feb 28th, 2006, 10:16 AM
I should have understood it was a way to frame me before it was too late..:D:D:D
That's right. Salt on wounds. :mad:
NoteMe
Feb 28th, 2006, 10:23 AM
Unbanned again...now delete this thread, and flash everyone that know about this project. We need a cleanup team here fast.
- ØØ -
eyeRmonkey
Feb 28th, 2006, 11:08 AM
Why were you banned at all?
And does no cussing mean that my function gets lost into the great abyss of ones and zeros?
visualAd
Feb 28th, 2006, 11:11 AM
It means that the Notimator shouldn't be used as it consititutes imperoinating another member which is a violation of the AUP.
NoteMe
Feb 28th, 2006, 11:17 AM
Why were you banned at all?
Because of your function, and they thought it was me...)
- ØØ -
eyeRmonkey
Feb 28th, 2006, 10:30 PM
.... :biggrin:
Sorry?
I'm glad you back. I guess my function won't be seeing the light of day for a while? Sorry for the trouble.
NoteMe
Mar 1st, 2006, 06:40 AM
Hehe..no problem. Lets all make a new forum, and make fun of everyone, even VBFers..:)
- ØØ -
eyeRmonkey
Mar 1st, 2006, 09:09 AM
A forums with no rules:
http://www.generalanytopic.com/forum/forumdisplay.php?f=33
:D
grilkip
Aug 13th, 2006, 11:35 AM
Those were the days. :sigh:
:lol:
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.