First things first, I think I'm done with MeaningOfLife, here it is. I erroneously named it Sandpaper.vb, but you can just take the text out and put it in some other .vb file.
Text file also included...
Printable View
First things first, I think I'm done with MeaningOfLife, here it is. I erroneously named it Sandpaper.vb, but you can just take the text out and put it in some other .vb file.
Text file also included...
I've PMd the password to dglienna.
Sorry, I didn't get time to help with the 1337 class... I'm sure dglienna and manavo can handle it. :D :D
First Problem...
can't paste the results into VBForum. the result that was copied was the translated version, but i pasted the untranslated version.
definitely a problem. i'll look into it tomorrow. i really thought that there was a little more to it. i wanted to *learn* l33t. easier to code it that way. i'll add a translation textbox, which should solve that for now.
what post was that in which you guys were talking l33t? I was lost. that's when i decided that i wanted to learn it.
Here you go:
http://en.wikipedia.org/wiki/Leet
Very good reference.
I'll tell you the method that came to my head first, for translation:
1. Split string into array.
2. Replace a few of the more commonly words with their l33t equivalents. For example, you = j00; hacker = hax0r, etc.
3. Then the misspellings mentioned there. For example, the = t3h, you = yu0
4. Then the substitutions, for example E = 3, etc., but making sure the words in (2) and (3) don't get affected.
Just a few pointers, it's all entirely up to you. :thumb:
Okie. Mendhak's preliminary MOL class has been added to the already expansive Sandpaper library...
http://www.vbforums.com/attachment.p...postid=1796762
I'm anxious to get some other people's work into the project, we only have mine and Mendhak's stuff at the moment.
Come on guys, show us what you're made of :) :thumb:
Yo wossy... update the list of projects being worked on and projects available. I want to see what else I can start on.
Btw, anything lacking in MeaningOfLife? If so, tell me!
On second thought, don't tell me. What's done is done. Just update that list. :p
List updated.
We need to think up some more ideas.
Anyway I have started work on a new control class - RoboPlot, a math graph plotter, should be a tough build but results should be super sexy.
i see that they already have a l33t translatore. it's a .exe, though. i would like to be able to get a dictioary of terms. I would do the rest. Maybe have it expandable?] i see letter and word translatios, but sentences seem tougher. I'll work on it over the week-end.
too bad we all couldn't access a definitions page to add their own.
maybe i should add a thread asking for additions to what I come up with...
Mend, here's the mutilated MeaningOfLife code I was playing with.
DGLienna: feel free to post a thread about that. You might get swamped with nonsense though :lol:
So you have this under control? I guess you don't need my help, right? :)Quote:
Originally posted by dglienna
i see that they already have a l33t translatore. it's a .exe, though. i would like to be able to get a dictioary of terms. I would do the rest. Maybe have it expandable?] i see letter and word translatios, but sentences seem tougher. I'll work on it over the week-end.
too bad we all couldn't access a definitions page to add their own.
maybe i should add a thread asking for additions to what I come up with...
We still need more classes though! If you can think of any cool and / or useful classes then go ahead.Quote:
Originally posted by manavo11
So you have this under control? I guess you don't need my help, right? :)
Does anyone know of a decent *freeware or open source* runtime math parser? Need one for RoboPlot and I don't want to use the mscrrun.dll classes.
here is the alphabet, ready to be read
letters will be randomly substituted.
here are some translations, needs to be sorted, but already formatted.
Feel Free to d/l it, and add to it. post it back, and I'll grab it.
how should it work? I think that it should read in a text file, and dump a l33t file. That way it could work as a class, but i am open to suggestions. It'll grab long phrases first, then shorter ones, then do the letter substitutions.
the list will be hardcoded into the class.
I may need some help, as I haven't made any classes yet.
(it could help me on my project that i'm doing, too)
l33t r0x0rz
That would make it too easy to abuse and would restrict its funcionality.Quote:
Originally posted by dglienna
I think that it should read in a text file, and dump a l33t file. That way it could work as a class.
What about...
VB Code:
Public Class LeetStream 'no leet speak in the actual code please :) Inherits Stream ... public sub Open(...) ... public sub Flush() ... public sub Close() ... public sub Write(...overloaded...) ... End Class
You could have a function that accepts a normal string and returns a 1337 string.
Then the other set of functions would be for a 1337 5tr34m wr|t3R !
I've edited the list a bit and added a few words.
I thought Cander would be doing the Rude MessageBox. Can someone confirm? If nobody's doing it, I'll try it.
I think it would be easier to use regex pattern to implement this leetspeek class. Having a dictionary is a bit wasteful.
That's just my humble opinion, you must write it as you see fit :thumb:
Mend, go ahead and code the RudeMsgBox.
i tried to see a pattern for l33t, but couldn't understand more than a few words until i found the rules for it. don't know how it would work with regex. i think i will be able to do the tranlation both ways, but I have to find out as many words as possible, or else allow the wordlist to be changed as the class is used.
good for future additions.
About the RudeMsgBox, if you need inspiration, goto http://www.insults.net/... They have a random insult generator ;)
i think that if i do an english to l33t translation, it won't be able to be reversed, so why bother to untranslate it? i think that it would be a lot harder. maybe someone else wants to help out?
Why would it be harder? Just change the words back, and then letters...
there are 2 to 3 l33t characters, and sometimes multiples for each letter. and also, word translations.
Excellent! :)Quote:
Originally posted by manavo11
About the RudeMsgBox, if you need inspiration, goto http://www.insults.net/... They have a random insult generator ;)
1337 to English would be a little difficult, because there may be letter substitutions which don't exist in your word list. It would actually be rather 'proprietary', because if you want something translated from 1337 to english, it would have to be in the symbols available in your list, and therefore must have come from your class' functions.
as long as that's settled, I can think about the initial task. i've been thinking of how I want to proceed, but the reverse translation was really messing up my thoughts.
may take some time, as i'm concentrating on my main project lately. i come here to take a break.
and, no, i can't work on l33t. i need a break from thinking about code, and the next best thing is reading the threads. i really lucked out with the zoom code that I stumbled upon today. it gives me more code to work on!
I'm back. :eek:
Have I been sacked. If not can someone give me some info on what you've got so far and how my Pensi extension should fit in?
:lol: Consider this your written warning!
nah j/k
See the 2nd post on page 1 for up to date listings of current project status.
It seems to be taking you ages to get your pensi extension up (and running) :D :lol:
As I have said - I have been somewhat pre-occupied with the g/f, she has left until January now, so I need something to keep my mind off her.Quote:
Originally posted by wossname
:lol: Consider this your written warning!
nah j/k
See the 2nd post on page 1 for up to date listings of current project status.
It seems to be taking you ages to get your pensi extension up (and running) :D :lol:
Does your GF know you are having a Pensi extension?
And have you decided what functionality it will have? :lol:
Most of the classes we have so far are standalone so you can more or less make it up as you go along.
Will your pensi stand on its own? :D :rolleyes: hur hur hur
Say, will the Pensi extension have any dependancies? Pills or something?
I was thinking along the lines of the following:Quote:
Originally posted by wossname
Does your GF know you are having a Pensi extension?
And have you decided what functionality it will have? :lol:
Most of the classes we have so far are standalone so you can more or less make it up as you go along.
Will your pensi stand on its own? :D :rolleyes: hur hur hur
Properties:
Detatched - True if the pensi object is not attached (i.e. standalone)
Frog - (haven't decied what this does yet)
Length - Holds the current length of the pensi . (read-only)
Methods:
Extend (eLength As Integer) As Boolean - extends the length of the pensi by eLength.
Stretch - Not a good idea, but its there just incase. (n.b: using stretch may result in detachment)
Attach - Attaches the pensi to a parent object (anyone got any ideas on what???)
I'll be making my pensi tommorow - so if anyone has an input or additional extensions please notify me. :D
Frog - Smokes a big fat joint. Or tells a "big pensi" joke.
If you want a big pensi joke, check the humor section of mendhak.com, I can't post the link here. :D
Nice - I just need to replace d*** with pensi :D
I think that will only wrok if the pensi is of adequate legnth, otherwise it will throw an error, telling you to get a pensi extension.
Is that legal? :lol:Quote:
Originally posted by visualAd
Attach - Attaches the pensi to a parent object (anyone got any ideas on what[/B]
Where's my banjo.
Need suggestions for the RudeMessageBox.
I'm trying to make this as 'similar' to the existing MessageBox as possible, and here is my plan so far.
.Show() will accept strText to display in the label, strCaption as the form's caption (optional), RBT_YesNo,RBT_OKCancel, etc. (optional)
That stuff will be overloaded.
I'm basically thinking, that the strText will be interspersed with the rude words, and the caption will also be interspersed or entirely replaced with some insulting phrase.
Next, there'll also be the messagebox's icon, but I'll have an icon such as the middle finger there, a pic of Jimmy Hoffa, etc.
So far so good. If you have any suggestions, post a reply!
Btw, I'm having trouble sizing the label in the MessageBox's form. See if you can help me here:
http://www.vbforums.com/showthread.p...hreadid=306921
Mend, what about a few "Yo Momma" jokes to insult users with?
"Yo momma is so FAT32 that she can't read NTFS" - That kind of thing.
(I just made that up by the way :lol: )
:lol:
I'll include it.
I think here's what I'll do:
I'll have one function for interspersing the sentence with rude words, and another function for replacing it entirely.
I'll choose between these two at random.
Any suggestions for the icons?
So far, I have:
STFU
Middle Finger
n00b (2)
loser
pwnd
poo
If you have any small 100*100 or smaller, pics of anything good or even the same ones mentioned, post it!
I'm very pleased to announce that 3 members of Team Sandpaper made to the podium in the 1st VBF VB Coding Contest.
Me and Mend were 1st and 2nd in the VB.Net category and the Big Dog himself: Bodwad, won the VB6 group.
Well done lads! Keep up the excellent work. :D
W00ooo0o0T!!!111111!!!11!11oneoneeleven