You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
(39) |
May
(63) |
Jun
(15) |
Jul
(14) |
Aug
(3) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
---|
From: Alex T. <caf...@gm...> - 2005-05-13 22:42:14
|
Hi everyone, This chatbot looks good for an early stage - I'm trying to remember all that stuff about the Smack library from first year, but I think I know what it's doing. To get two chatbots talking to each other, there would have to be some external input first, wouldn't there? -Alex On 5/13/05, Toby Donaldson <tj...@sf...> wrote: > Thanks Daryl, >=20 > I was accidentally only looking in the csimage package. >=20 > Could you make two or more chatbots, and have them talk to each other? >=20 > Also, can you make a non-Jabber interface for easily testing the chatbots= ? > It shouldn't be too hard. >=20 > The important thing is to make sure that the design of the chatbot is > well-done, so that you can just use the same chatbot in the Jabber interf= ace > or the non-jabber interface. Also, the chabot interface should not assume= it > is talking to a human or another chabot ... It should view the incoming > messages simply as strings from some unknown source. Of course, a particu= lar > chatbot might be designed to work just with people, but those details sho= uld > go into the chabot, not into the chatbot interface. >=20 > Toby >=20 >=20 > On 5/13/05 11:54 AM, "Daryl Van Humbeck" <dva...@sf...> wrote: >=20 > > It should be under csjava.chatbot.*, though if you're viewing the CVS > > tree through SourceForge's viewer, it's csjava.csjava.chatbot.*. > > There are three files, MessageListener.java, JabberBotFramework.java, & > > JabberBotTest.java. > > The version numbers (if you need them) are 1.3, 1.2, & 1.1, respectivel= y. > > > > I don't think that changing it from threaded to event-listening would b= e > > too hard, I'd just have to change it a little bit. > > > > I noticed I also need to add some more JavaDoc comments to indicate wha= t > > certain methods do. > > I should be updating it some soon. > > > > The demo I have does exactly what you suggested, though I think I might > > be able to make it a little more interesting by sending something like > > "You sent this:", then whatever they sent. > > > > Suggestions as to what it should do would be appreciated, although I > > don't have much experience with text-based user interaction. > > > > Daryl. > > > > Toby Donaldson wrote: > > > >> Daryl, > >> > >> I just updated from the CVS tree, and I don't see the Jabber code. > >> Where should I look for it? > >> > >> I think it's probably simpler to use events instead of threads for the > >> asynchronous chatting, if you know what I mean. Treat the messages > >> that come from the Jabber server like events. The Smack library should > >> have support for this. > >> > >> Also, I've been chatting with a Surrey high school IT teacher about > >> running a Turing Test contest using Jabber, and if a demo is ready I'd > >> like to let him try it (i.e. at least chat to it). > >> > >> Toby > >> > >> Daryl Van Humbeck wrote: > >> > >>> Hi, all! > >>> > >>> The Jabber chatbot framework is now at a state of some usefulness, > >>> you can log-in to a server, listen for messages and send messages. > >>> > >>> It uses Jivesoft's Smack toolkit (which made the framework code > >>> _much_ smaller), so you'll need to download it and point the projects > >>> classpath to two of the files, smack.jar and smackx.jar, in order to > >>> use the program. > >>> > >>> Just so you know, the test program logs into jabber.org, so if only > >>> one person uses the bot unaltered, it will log into jabber.org with > >>> the username "csjavaChatBot," and everyone can chat with it. > >>> > >>> I probably shouldn't have used threads to listen for messages, but I > >>> hadn't been sure of how it works, so I'll probably change it later. > >>> > >>> To log into a server, just create a new instance of > >>> JabberBotFramework, using the host name, username, and password (and > >>> optionally, port) that you want to use. > >>> The constructor will throw an org.jivesoft.smack.XMPPException if a > >>> problem occurrs, so you need to catch it. > >>> > >>> For examples, look at the file JabberBotTest.java in the same package > >>> as the JabberBotFramework, csjava.chatbot.*. > >>> > >>> To send a message, you just call .sendMessage(msg, to), where msg is > >>> the String message to send, and to is the username to send it to. > >>> > >>> To listen for messages, add a MessageListener to your copy of the > >>> JabberBotFramework with .addMessageListener(messageListener). > >>> > >>> That's basically it. If you want more functionality (it currently > >>> only supports text messages), please post saying so. > >>> Though I'm not sure how to recieve HTML, etc. messages. > >>> > >>> Anyway, here it is. > >>> > >>> Daryl. > >>> > >>> > >> > >> > >> > > > > >=20 > -- > Dr. Toby Donaldson > School of Computing Science > Simon Fraser University >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > |
From: Daryl V. H. <dva...@sf...> - 2005-05-13 22:40:30
|
Do you mean like write a Swing window that lets you view what the bot says and have a text input widget to let you talk to the bot? I kind of think that there should be more test bots, I'll see what I can come up with. Daryl. Toby Donaldson wrote: >Thanks Daryl, > >I was accidentally only looking in the csimage package. > >Could you make two or more chatbots, and have them talk to each other? > >Also, can you make a non-Jabber interface for easily testing the chatbots? >It shouldn't be too hard. > >The important thing is to make sure that the design of the chatbot is >well-done, so that you can just use the same chatbot in the Jabber interface >or the non-jabber interface. Also, the chabot interface should not assume it >is talking to a human or another chabot ... It should view the incoming >messages simply as strings from some unknown source. Of course, a particular >chatbot might be designed to work just with people, but those details should >go into the chabot, not into the chatbot interface. > >Toby > > >On 5/13/05 11:54 AM, "Daryl Van Humbeck" <dva...@sf...> wrote: > > > >>It should be under csjava.chatbot.*, though if you're viewing the CVS >>tree through SourceForge's viewer, it's csjava.csjava.chatbot.*. >>There are three files, MessageListener.java, JabberBotFramework.java, & >>JabberBotTest.java. >>The version numbers (if you need them) are 1.3, 1.2, & 1.1, respectively. >> >>I don't think that changing it from threaded to event-listening would be >>too hard, I'd just have to change it a little bit. >> >>I noticed I also need to add some more JavaDoc comments to indicate what >>certain methods do. >>I should be updating it some soon. >> >>The demo I have does exactly what you suggested, though I think I might >>be able to make it a little more interesting by sending something like >>"You sent this:", then whatever they sent. >> >>Suggestions as to what it should do would be appreciated, although I >>don't have much experience with text-based user interaction. >> >>Daryl. >> >>Toby Donaldson wrote: >> >> >> >>>Daryl, >>> >>>I just updated from the CVS tree, and I don't see the Jabber code. >>>Where should I look for it? >>> >>>I think it's probably simpler to use events instead of threads for the >>>asynchronous chatting, if you know what I mean. Treat the messages >>>that come from the Jabber server like events. The Smack library should >>>have support for this. >>> >>>Also, I've been chatting with a Surrey high school IT teacher about >>>running a Turing Test contest using Jabber, and if a demo is ready I'd >>>like to let him try it (i.e. at least chat to it). >>> >>>Toby >>> >>>Daryl Van Humbeck wrote: >>> >>> >>> >>>>Hi, all! >>>> >>>>The Jabber chatbot framework is now at a state of some usefulness, >>>>you can log-in to a server, listen for messages and send messages. >>>> >>>>It uses Jivesoft's Smack toolkit (which made the framework code >>>>_much_ smaller), so you'll need to download it and point the projects >>>>classpath to two of the files, smack.jar and smackx.jar, in order to >>>>use the program. >>>> >>>>Just so you know, the test program logs into jabber.org, so if only >>>>one person uses the bot unaltered, it will log into jabber.org with >>>>the username "csjavaChatBot," and everyone can chat with it. >>>> >>>>I probably shouldn't have used threads to listen for messages, but I >>>>hadn't been sure of how it works, so I'll probably change it later. >>>> >>>>To log into a server, just create a new instance of >>>>JabberBotFramework, using the host name, username, and password (and >>>>optionally, port) that you want to use. >>>>The constructor will throw an org.jivesoft.smack.XMPPException if a >>>>problem occurrs, so you need to catch it. >>>> >>>>For examples, look at the file JabberBotTest.java in the same package >>>>as the JabberBotFramework, csjava.chatbot.*. >>>> >>>>To send a message, you just call .sendMessage(msg, to), where msg is >>>>the String message to send, and to is the username to send it to. >>>> >>>>To listen for messages, add a MessageListener to your copy of the >>>>JabberBotFramework with .addMessageListener(messageListener). >>>> >>>>That's basically it. If you want more functionality (it currently >>>>only supports text messages), please post saying so. >>>>Though I'm not sure how to recieve HTML, etc. messages. >>>> >>>>Anyway, here it is. >>>> >>>>Daryl. >>>> >>>> >>>> >>>> >>> >>> >>> >> >> > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/05 |
From: Toby D. <tj...@sf...> - 2005-05-13 22:11:40
|
Thanks Daryl, I was accidentally only looking in the csimage package. Could you make two or more chatbots, and have them talk to each other? Also, can you make a non-Jabber interface for easily testing the chatbots? It shouldn't be too hard. The important thing is to make sure that the design of the chatbot is well-done, so that you can just use the same chatbot in the Jabber interface or the non-jabber interface. Also, the chabot interface should not assume it is talking to a human or another chabot ... It should view the incoming messages simply as strings from some unknown source. Of course, a particular chatbot might be designed to work just with people, but those details should go into the chabot, not into the chatbot interface. Toby On 5/13/05 11:54 AM, "Daryl Van Humbeck" <dva...@sf...> wrote: > It should be under csjava.chatbot.*, though if you're viewing the CVS > tree through SourceForge's viewer, it's csjava.csjava.chatbot.*. > There are three files, MessageListener.java, JabberBotFramework.java, & > JabberBotTest.java. > The version numbers (if you need them) are 1.3, 1.2, & 1.1, respectively. > > I don't think that changing it from threaded to event-listening would be > too hard, I'd just have to change it a little bit. > > I noticed I also need to add some more JavaDoc comments to indicate what > certain methods do. > I should be updating it some soon. > > The demo I have does exactly what you suggested, though I think I might > be able to make it a little more interesting by sending something like > "You sent this:", then whatever they sent. > > Suggestions as to what it should do would be appreciated, although I > don't have much experience with text-based user interaction. > > Daryl. > > Toby Donaldson wrote: > >> Daryl, >> >> I just updated from the CVS tree, and I don't see the Jabber code. >> Where should I look for it? >> >> I think it's probably simpler to use events instead of threads for the >> asynchronous chatting, if you know what I mean. Treat the messages >> that come from the Jabber server like events. The Smack library should >> have support for this. >> >> Also, I've been chatting with a Surrey high school IT teacher about >> running a Turing Test contest using Jabber, and if a demo is ready I'd >> like to let him try it (i.e. at least chat to it). >> >> Toby >> >> Daryl Van Humbeck wrote: >> >>> Hi, all! >>> >>> The Jabber chatbot framework is now at a state of some usefulness, >>> you can log-in to a server, listen for messages and send messages. >>> >>> It uses Jivesoft's Smack toolkit (which made the framework code >>> _much_ smaller), so you'll need to download it and point the projects >>> classpath to two of the files, smack.jar and smackx.jar, in order to >>> use the program. >>> >>> Just so you know, the test program logs into jabber.org, so if only >>> one person uses the bot unaltered, it will log into jabber.org with >>> the username "csjavaChatBot," and everyone can chat with it. >>> >>> I probably shouldn't have used threads to listen for messages, but I >>> hadn't been sure of how it works, so I'll probably change it later. >>> >>> To log into a server, just create a new instance of >>> JabberBotFramework, using the host name, username, and password (and >>> optionally, port) that you want to use. >>> The constructor will throw an org.jivesoft.smack.XMPPException if a >>> problem occurrs, so you need to catch it. >>> >>> For examples, look at the file JabberBotTest.java in the same package >>> as the JabberBotFramework, csjava.chatbot.*. >>> >>> To send a message, you just call .sendMessage(msg, to), where msg is >>> the String message to send, and to is the username to send it to. >>> >>> To listen for messages, add a MessageListener to your copy of the >>> JabberBotFramework with .addMessageListener(messageListener). >>> >>> That's basically it. If you want more functionality (it currently >>> only supports text messages), please post saying so. >>> Though I'm not sure how to recieve HTML, etc. messages. >>> >>> Anyway, here it is. >>> >>> Daryl. >>> >>> >> >> >> > > -- Dr. Toby Donaldson School of Computing Science Simon Fraser University |
From: Toby D. <tj...@sf...> - 2005-05-13 22:02:47
|
Hi, I recommend that you read one or more of the articles at junit.org to get an idea of the kind of test cases that are needed. You can use Junit if you like, but assert is fine, and less to learn. Just start to create simple, basic tests cases, e.g. If you set location (12, 42) of an image to be Color.RED, then when you get the color of (12, 42) it should return Color.RED. After you read the article(s), make your best guess about how the testing should go, and then send a note to the mailing list so that I (and others --- help would be appreciated from anyone!) can look at them and modify them if necessary. Toby On 5/13/05 2:30 PM, "he...@sf..." <he...@sf...> wrote: > Hi! Dr. Donaldson, > > Yes, I can work on that. > I will follow this site's ideas on doing the testing if this is what you > have in mind: > http://www.junit.org/index.htm > http://junit.sourceforge.net/ > http://junit.sourceforge.net/doc/testinfected/testing.htm > > Currently, I am able to run the code and observe what's going. All I need to > know is how much time do you expect me to get done? "Every important method > in TheMatrix should have a set of tests of autmotated unit tests" When > should this be due normally? I just solved my laptop problem by the way, at > the end I got rid of the spyware and everything fine now. I can help on > spyware problems if anyone ever need help. > > best wishes > > Henry Chan > > > > On Fri, 13 May 2005 14:14:04 -0700 tj...@sf... wrote: >> Hi Henry, >> >> Do you want to create a new package called "tests" in the csimage package >> (and any other package that you create tests for). >> >> Since it looks like we're going to re-design TheMatrix class, I want >> to have >> unit tests in place before making big changes. Every important method in >> TheMatrix should have a set of tests of autmotated unit tests for it >> so that >> we can be confident the changes don't break it. >> >> Toby >> >> >> On 5/7/05 7:37 PM, "henryc" <he...@sf...> wrote: >> >>> Hi! All, the problem on setting up is missing file from Java media >>> framework and FreeTTS. >>> Also, it is important that to go to compiler setting in Eclipse and set >>> all to version 1.4. >>> >>> http://java.sun.com/products/java-media/jmf/2.1.1/download.html >>> http://freetts.sourceforge.net/docs/index.php#download_and_install >>> >>> Set path by going to the project property, click edit and enter the path > >>> of the jar file for JMF.jar which is the java media framework (in lib or > >>> bin directory usually) and same idea as for FreeTTS. >>> >>> Testing, I realize that I should go in the direction of Junit for >>> testing. The webmatric problem so far is the buttons are not draw as the > >>> same equal size after resizing the frame and relocating the buttons >>> location from button to the left, etc. >>> >>> Redjustice >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> csjava-developer mailing list >>> csj...@li... >>> https://lists.sourceforge.net/lists/listinfo/csjava-developer >>> >> >> -- >> Dr. Toby Donaldson >> School of Computing Science >> Simon Fraser University >> >> >> > > > Thank you for your time. > > best wishes, > > Henry Chan > Computer Science Major > Simon Fraser University > > > -- Dr. Toby Donaldson School of Computing Science Simon Fraser University |
From: Toby D. <tj...@sf...> - 2005-05-13 21:14:16
|
Hi Henry, Do you want to create a new package called "tests" in the csimage package (and any other package that you create tests for). Since it looks like we're going to re-design TheMatrix class, I want to have unit tests in place before making big changes. Every important method in TheMatrix should have a set of tests of autmotated unit tests for it so that we can be confident the changes don't break it. Toby On 5/7/05 7:37 PM, "henryc" <he...@sf...> wrote: > Hi! All, the problem on setting up is missing file from Java media > framework and FreeTTS. > Also, it is important that to go to compiler setting in Eclipse and set > all to version 1.4. > > http://java.sun.com/products/java-media/jmf/2.1.1/download.html > http://freetts.sourceforge.net/docs/index.php#download_and_install > > Set path by going to the project property, click edit and enter the path > of the jar file for JMF.jar which is the java media framework (in lib or > bin directory usually) and same idea as for FreeTTS. > > Testing, I realize that I should go in the direction of Junit for > testing. The webmatric problem so far is the buttons are not draw as the > same equal size after resizing the frame and relocating the buttons > location from button to the left, etc. > > Redjustice > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > -- Dr. Toby Donaldson School of Computing Science Simon Fraser University |
From: Daryl V. H. <dva...@sf...> - 2005-05-13 18:55:18
|
It should be under csjava.chatbot.*, though if you're viewing the CVS tree through SourceForge's viewer, it's csjava.csjava.chatbot.*. There are three files, MessageListener.java, JabberBotFramework.java, & JabberBotTest.java. The version numbers (if you need them) are 1.3, 1.2, & 1.1, respectively. I don't think that changing it from threaded to event-listening would be too hard, I'd just have to change it a little bit. I noticed I also need to add some more JavaDoc comments to indicate what certain methods do. I should be updating it some soon. The demo I have does exactly what you suggested, though I think I might be able to make it a little more interesting by sending something like "You sent this:", then whatever they sent. Suggestions as to what it should do would be appreciated, although I don't have much experience with text-based user interaction. Daryl. Toby Donaldson wrote: > Daryl, > > I just updated from the CVS tree, and I don't see the Jabber code. > Where should I look for it? > > I think it's probably simpler to use events instead of threads for the > asynchronous chatting, if you know what I mean. Treat the messages > that come from the Jabber server like events. The Smack library should > have support for this. > > Also, I've been chatting with a Surrey high school IT teacher about > running a Turing Test contest using Jabber, and if a demo is ready I'd > like to let him try it (i.e. at least chat to it). > > Toby > > Daryl Van Humbeck wrote: > >> Hi, all! >> >> The Jabber chatbot framework is now at a state of some usefulness, >> you can log-in to a server, listen for messages and send messages. >> >> It uses Jivesoft's Smack toolkit (which made the framework code >> _much_ smaller), so you'll need to download it and point the projects >> classpath to two of the files, smack.jar and smackx.jar, in order to >> use the program. >> >> Just so you know, the test program logs into jabber.org, so if only >> one person uses the bot unaltered, it will log into jabber.org with >> the username "csjavaChatBot," and everyone can chat with it. >> >> I probably shouldn't have used threads to listen for messages, but I >> hadn't been sure of how it works, so I'll probably change it later. >> >> To log into a server, just create a new instance of >> JabberBotFramework, using the host name, username, and password (and >> optionally, port) that you want to use. >> The constructor will throw an org.jivesoft.smack.XMPPException if a >> problem occurrs, so you need to catch it. >> >> For examples, look at the file JabberBotTest.java in the same package >> as the JabberBotFramework, csjava.chatbot.*. >> >> To send a message, you just call .sendMessage(msg, to), where msg is >> the String message to send, and to is the username to send it to. >> >> To listen for messages, add a MessageListener to your copy of the >> JabberBotFramework with .addMessageListener(messageListener). >> >> That's basically it. If you want more functionality (it currently >> only supports text messages), please post saying so. >> Though I'm not sure how to recieve HTML, etc. messages. >> >> Anyway, here it is. >> >> Daryl. >> >> > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/05 |
From: Toby D. <tj...@sf...> - 2005-05-13 18:08:24
|
Daryl, I just updated from the CVS tree, and I don't see the Jabber code. Where should I look for it? I think it's probably simpler to use events instead of threads for the asynchronous chatting, if you know what I mean. Treat the messages that come from the Jabber server like events. The Smack library should have support for this. Also, I've been chatting with a Surrey high school IT teacher about running a Turing Test contest using Jabber, and if a demo is ready I'd like to let him try it (i.e. at least chat to it). Toby Daryl Van Humbeck wrote: > Hi, all! > > The Jabber chatbot framework is now at a state of some usefulness, you > can log-in to a server, listen for messages and send messages. > > It uses Jivesoft's Smack toolkit (which made the framework code _much_ > smaller), so you'll need to download it and point the projects > classpath to two of the files, smack.jar and smackx.jar, in order to > use the program. > > Just so you know, the test program logs into jabber.org, so if only > one person uses the bot unaltered, it will log into jabber.org with > the username "csjavaChatBot," and everyone can chat with it. > > I probably shouldn't have used threads to listen for messages, but I > hadn't been sure of how it works, so I'll probably change it later. > > To log into a server, just create a new instance of > JabberBotFramework, using the host name, username, and password (and > optionally, port) that you want to use. > The constructor will throw an org.jivesoft.smack.XMPPException if a > problem occurrs, so you need to catch it. > > For examples, look at the file JabberBotTest.java in the same package > as the JabberBotFramework, csjava.chatbot.*. > > To send a message, you just call .sendMessage(msg, to), where msg is > the String message to send, and to is the username to send it to. > > To listen for messages, add a MessageListener to your copy of the > JabberBotFramework with .addMessageListener(messageListener). > > That's basically it. If you want more functionality (it currently only > supports text messages), please post saying so. > Though I'm not sure how to recieve HTML, etc. messages. > > Anyway, here it is. > > Daryl. > > |
From: Daryl V. H. <dva...@sf...> - 2005-05-13 04:33:13
|
Hi, all! The Jabber chatbot framework is now at a state of some usefulness, you can log-in to a server, listen for messages and send messages. It uses Jivesoft's Smack toolkit (which made the framework code _much_ smaller), so you'll need to download it and point the projects classpath to two of the files, smack.jar and smackx.jar, in order to use the program. Just so you know, the test program logs into jabber.org, so if only one person uses the bot unaltered, it will log into jabber.org with the username "csjavaChatBot," and everyone can chat with it. I probably shouldn't have used threads to listen for messages, but I hadn't been sure of how it works, so I'll probably change it later. To log into a server, just create a new instance of JabberBotFramework, using the host name, username, and password (and optionally, port) that you want to use. The constructor will throw an org.jivesoft.smack.XMPPException if a problem occurrs, so you need to catch it. For examples, look at the file JabberBotTest.java in the same package as the JabberBotFramework, csjava.chatbot.*. To send a message, you just call .sendMessage(msg, to), where msg is the String message to send, and to is the username to send it to. To listen for messages, add a MessageListener to your copy of the JabberBotFramework with .addMessageListener(messageListener). That's basically it. If you want more functionality (it currently only supports text messages), please post saying so. Though I'm not sure how to recieve HTML, etc. messages. Anyway, here it is. Daryl. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/05 |
From: henryc <he...@sf...> - 2005-05-08 03:27:08
|
Hi! Also You need to go into the freetts-1.2.1-bin\freetts-1.2.1\lib and run jsapi.exe to create the jsapi.jar that u need. RedJustice |
From: henryc <he...@sf...> - 2005-05-08 02:37:10
|
Hi! All, the problem on setting up is missing file from Java media framework and FreeTTS. Also, it is important that to go to compiler setting in Eclipse and set all to version 1.4. http://java.sun.com/products/java-media/jmf/2.1.1/download.html http://freetts.sourceforge.net/docs/index.php#download_and_install Set path by going to the project property, click edit and enter the path of the jar file for JMF.jar which is the java media framework (in lib or bin directory usually) and same idea as for FreeTTS. Testing, I realize that I should go in the direction of Junit for testing. The webmatric problem so far is the buttons are not draw as the same equal size after resizing the frame and relocating the buttons location from button to the left, etc. Redjustice |
From: Toby D. <tj...@sf...> - 2005-05-06 06:01:51
|
I suggest you make a package called "csjava.chatbot", and put all the code there. We can change the name or re-organize later if necessary. Toby On 5/5/05 9:18 PM, "Daryl Van Humbeck" <dva...@sf...> wrote: > Hi, all, > > I was wondering what package to put my JabberBot framework code in. > > I know that TheMatrix (an image package) is in csjava, the > text-to-speech stuff is in csspeech, and the media stuff (mostly .mp3 > stuff right now) is in csmedia. > But where do I put JabberBot stuff in? > > cschat? > cschatbot? > ? > > I don't know right now :-\ . > > Any suggestions? Please? > > Daryl. > |
From: Daryl V. H. <dva...@sf...> - 2005-05-06 04:17:24
|
Hi, all, I was wondering what package to put my JabberBot framework code in. I know that TheMatrix (an image package) is in csjava, the text-to-speech stuff is in csspeech, and the media stuff (mostly .mp3 stuff right now) is in csmedia. But where do I put JabberBot stuff in? cschat? cschatbot? ? I don't know right now :-\ . Any suggestions? Please? Daryl. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/05 |
From: henryc <he...@sf...> - 2005-05-05 06:32:04
|
Hi, all! I am trying to use the enclipse and the Jbuilder to run the program, but I have little success so far. I would like to call for a 30 mins meeting to have someone to assist me in setting this up. The problem is not as easy it sounds by the way, I am trying to clean up my computer, I think there is some kind of trojan or spyware in my computer. It jumps to an search engine page automatically on start up with internet explorer, but when I trigger explorer after that it won't show that search engine page again. I used ad-aware and spydoctor, both it doesn't seems to work, I scanned it in safemode, checked in the registry. I am pretty sure it is not a virus, I scanned with virus scanner as well. Thanks for your time. Henry |
From: Daryl V. H. <dva...@sf...> - 2005-05-05 02:39:49
|
Ok, I wasn't sure if the buttens were supposed to be able to be attached, yet positioned someplace, or just detached in a default position. Yes, having options of places to put the detached "toolbar" sounds like a good idea. To change the part about the buttons obscuring the image when they're still attached, I'd have to delve into the repaint code, and maybe add another class (e.g., a BufferedImageIcon) to handle drawing the image. I'll see what's easier. Daryl. Toby Donaldson wrote: >Hi Daryl, > >I tried TheButtonMatrix test, and I think almost all there ... But a there >are some issues: > > - Some combinations of calling buttonsDetached() and, for instance, >buttonsAtTop(), don't seem to work correctly, e.g. The buttons appear at the >top but attached. I suggest that for now the detached buttons option be >disabled, and only have attached buttons. > > - When the buttons are attached to the image, they cover up part of the >image. Better is to have a separate panel beside/above/below the image >that's attached to the same frame and holds the buttons so that none of the >image is obscured. > >With those changes, I think it's ready to add to TheMatrix as a new main >feature. > >Toby > > >On 5/4/05 5:22 PM, "Daryl Van Humbeck" <dva...@sf...> wrote: > > > >>Ok, I've updated TheButtonMatrix, completing support for placing the >>buttons in any of five different positions (at the top of the window, >>the bottom of the window, to the left, the right, and in a separate, >>moveable window), as well as all three of the default buttons (load, >>save and close). >> >>I haven't yet included an icon for load because I'm working on that image. >> >>If anyone has any comments, please send them to me so I can address them. >> >>Daryl, aka, raceimaztion. >> >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. >Get your fingers limbered up and give it your best shot. 4 great events, 4 >opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >_______________________________________________ >csjava-developer mailing list >csj...@li... >https://lists.sourceforge.net/lists/listinfo/csjava-developer > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.4 - Release Date: 04/05/05 |
From: Toby D. <tj...@sf...> - 2005-05-05 02:26:25
|
Hi Daryl, I tried TheButtonMatrix test, and I think almost all there ... But a there are some issues: - Some combinations of calling buttonsDetached() and, for instance, buttonsAtTop(), don't seem to work correctly, e.g. The buttons appear at the top but attached. I suggest that for now the detached buttons option be disabled, and only have attached buttons. - When the buttons are attached to the image, they cover up part of the image. Better is to have a separate panel beside/above/below the image that's attached to the same frame and holds the buttons so that none of the image is obscured. With those changes, I think it's ready to add to TheMatrix as a new main feature. Toby On 5/4/05 5:22 PM, "Daryl Van Humbeck" <dva...@sf...> wrote: > Ok, I've updated TheButtonMatrix, completing support for placing the > buttons in any of five different positions (at the top of the window, > the bottom of the window, to the left, the right, and in a separate, > moveable window), as well as all three of the default buttons (load, > save and close). > > I haven't yet included an icon for load because I'm working on that image. > > If anyone has any comments, please send them to me so I can address them. > > Daryl, aka, raceimaztion. > |
From: Daryl V. H. <dva...@sf...> - 2005-05-05 00:21:07
|
Ok, I've updated TheButtonMatrix, completing support for placing the buttons in any of five different positions (at the top of the window, the bottom of the window, to the left, the right, and in a separate, moveable window), as well as all three of the default buttons (load, save and close). I haven't yet included an icon for load because I'm working on that image. If anyone has any comments, please send them to me so I can address them. Daryl, aka, raceimaztion. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.4 - Release Date: 04/05/05 |
From: Alex T. <caf...@gm...> - 2005-05-01 19:09:15
|
Hi all, Just to clarify a bit, since that link below doesn't actually do anything - the actual tracker page is here: https://sourceforge.net/tracker/?group_id=3D128733 (the below one doesn't specify a group, and therefore just leads to an error message) -Alex On 4/30/05, Toby Donaldson <tj...@sf...> wrote: > Henry, >=20 > I've added a couple of tasks for you in the "testing" category on the > feature tracking page: https://sourceforge.net/tracker/index.php >=20 > What we need is unit test --- written in Java --- using either the assert > feature, or Junit. I don't think we want to rely on other tools, otherwis= e > it could be too difficult for other people to contribute. >=20 > Toby >=20 >=20 > On 4/30/05 8:43 PM, "henryc" <he...@sf...> wrote: >=20 > > Hi! All, > > > > Yes, I will create automatic unit-tests for TheMatrix, and other > > frequently used classes. I have experience in using QuickTest Pro from = Mercury > > Ltd, if there are any other QA test program that anyone knows about ple= ase let > > me know. I will try to work on the testing part. > > > > Current status: trying to get Eclipse and CVS running ASAP. > > The laterest this Friday, I will have something on QA done, expecting t= hat I > > will be able to get a list of test parameter stated. > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > Get your fingers limbered up and give it your best shot. 4 great events= , 4 > > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 > > _______________________________________________ > > csjava-developer mailing list > > csj...@li... > > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, = 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > |
From: Toby D. <tj...@sf...> - 2005-05-01 05:55:43
|
Henry, I've added a couple of tasks for you in the "testing" category on the feature tracking page: https://sourceforge.net/tracker/index.php What we need is unit test --- written in Java --- using either the assert feature, or Junit. I don't think we want to rely on other tools, otherwise it could be too difficult for other people to contribute. Toby On 4/30/05 8:43 PM, "henryc" <he...@sf...> wrote: > Hi! All, > > Yes, I will create automatic unit-tests for TheMatrix, and other > frequently used classes. I have experience in using QuickTest Pro from Mercury > Ltd, if there are any other QA test program that anyone knows about please let > me know. I will try to work on the testing part. > > Current status: trying to get Eclipse and CVS running ASAP. > The laterest this Friday, I will have something on QA done, expecting that I > will be able to get a list of test parameter stated. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > |
From: Toby D. <tj...@sf...> - 2005-05-01 05:45:08
|
Hello Yip, What would you like to work on in the project? Toby On 4/30/05 1:32 AM, "Yip Ho" <goo...@gm...> wrote: > Hello everyone in the development team! My name is Yip and I am new to > this project. I am a first/second year computing science studnet at > sfu, and I wanted to do some volunteering jobs to sharpen up my > programming skills. I have done some programming in Java. I wanted to > get more experience on software development process so that it would > help me to find a job easier later on. My friend introduced me to this > project to me and > I think it's what i have been looking for. I am looking forward to to > working with all of you. Bye now. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > |
From: Toby D. <tj...@sf...> - 2005-05-01 05:43:50
|
I've assigned a task: https://sourceforge.net/tracker/index.php?func=detail&aid=1193234&group_id=1 28733&atid=712602 Let me know if I can clarify anything more. Toby On 4/30/05 9:29 AM, "Upkar" <ul...@gm...> wrote: > Thanks Toby, > > Yes, I would like to take on this project. I have taken macm101, 201, > 316, 498 and linear programming. I need a little more guidance in > terms of what the library will allow students to do. Is it going to be > a demo with some examples on some of the concepts taught in macm > 101/201/...? Or is it going to be a library that students can use for > their own programs? > Please assign me to this project. I would like to get started as soon > as possible. > Thanks, > Upkar. > > On 4/29/05, Toby Donaldson <tj...@sf...> wrote: >> Welcome Upkar! >> >> Since you have a background in mathematics, would you be interested in >> creating a library of code useful for students in MACM 101 and beyond? >> >> Toby >> >> >> On 4/29/05 9:56 AM, "Upkar" <ul...@gm...> wrote: >> >>> Hi everybody, >>> >>> My name is Upkar. I am a 4th year student at SFU Computing Science >>> doing a minor in Mathematics. I like to code. I have done a couple of >>> projects in java. I did testing and quality assurent in my coop term >>> and so I am confortable with that as well. I am interested in >>> developing code showing off fun/interesting/important aspects of CS. >>> >>> Great to join team and looking forward to work with you. >>> >>> Upkar Singh Lidder. >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r >>> _______________________________________________ >>> csjava-developer mailing list >>> csj...@li... >>> https://lists.sourceforge.net/lists/listinfo/csjava-developer >>> >>> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> csjava-developer mailing list >> csj...@li... >> https://lists.sourceforge.net/lists/listinfo/csjava-developer >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > |
From: henryc <he...@sf...> - 2005-05-01 03:43:48
|
Hi! All, Yes, I will create automatic unit-tests for TheMatrix, and other frequently used classes. I have experience in using QuickTest Pro from Mercury Ltd, if there are any other QA test program that anyone knows about please let me know. I will try to work on the testing part. Current status: trying to get Eclipse and CVS running ASAP. The laterest this Friday, I will have something on QA done, expecting that I will be able to get a list of test parameter stated. |
From: Daryl V. H. <dva...@sf...> - 2005-05-01 00:58:01
|
Good question. TheMatrix is situated under csimage, so to import it, you'd write: import csimage.*; Then it's a simple matter to create an instance of it. For example, to load an image you can write: TheMatrix m = new TheMatrix("C:\\temp\\temp_image.png"); Since it extends JFrame, you can display it using either show() or setVisible(true). There are more methods you can use for various purposes, but this is just a short introduction to TheMatrix. Hope this helps some, Daryl. Jeannie Chan wrote: >Dear All, > > >As I am really new to using CVS and csjava, I am trying very hard to figure >out how to open TheMatrix application. I have get my CVS working on Eclipse, >and I have downloaded all the files from the CVS tree (including the >csjava.jar). I do not know where can I find TheMatrix application though so >that I can run and take a look at it to start on the tutorial. Can someone >give me a hand on how to I open TheMatrix, or which file I need to compile >to get it start (I try quite a lot of files, but they don't seems to have >"main" in them...) Thanks in advance! > > > >From > >Jeannie Chan > >jea...@sf... > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. >Get your fingers limbered up and give it your best shot. 4 great events, 4 >opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >_______________________________________________ >csjava-developer mailing list >csj...@li... >https://lists.sourceforge.net/lists/listinfo/csjava-developer > > > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/05 |
From: Jeannie C. <jea...@sf...> - 2005-04-30 22:34:09
|
Dear All, As I am really new to using CVS and csjava, I am trying very hard to figure out how to open TheMatrix application. I have get my CVS working on Eclipse, and I have downloaded all the files from the CVS tree (including the csjava.jar). I do not know where can I find TheMatrix application though so that I can run and take a look at it to start on the tutorial. Can someone give me a hand on how to I open TheMatrix, or which file I need to compile to get it start (I try quite a lot of files, but they don't seems to have "main" in them...) Thanks in advance! From Jeannie Chan jea...@sf... |
From: Upkar <ul...@gm...> - 2005-04-30 16:29:10
|
Thanks Toby, Yes, I would like to take on this project. I have taken macm101, 201, 316, 498 and linear programming. I need a little more guidance in terms of what the library will allow students to do. Is it going to be a demo with some examples on some of the concepts taught in macm 101/201/...? Or is it going to be a library that students can use for their own programs? Please assign me to this project. I would like to get started as soon as possible. Thanks, Upkar. On 4/29/05, Toby Donaldson <tj...@sf...> wrote: > Welcome Upkar! >=20 > Since you have a background in mathematics, would you be interested in > creating a library of code useful for students in MACM 101 and beyond? >=20 > Toby >=20 >=20 > On 4/29/05 9:56 AM, "Upkar" <ul...@gm...> wrote: >=20 > > Hi everybody, > > > > My name is Upkar. I am a 4th year student at SFU Computing Science > > doing a minor in Mathematics. I like to code. I have done a couple of > > projects in java. I did testing and quality assurent in my coop term > > and so I am confortable with that as well. I am interested in > > developing code showing off fun/interesting/important aspects of CS. > > > > Great to join team and looking forward to work with you. > > > > Upkar Singh Lidder. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > Get your fingers limbered up and give it your best shot. 4 great events= , 4 > > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > > _______________________________________________ > > csjava-developer mailing list > > csj...@li... > > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, = 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > |
From: Alex T. <caf...@gm...> - 2005-04-30 10:38:07
|
Well, the naming is not a big issue - it's just some refactoring if anything. I think I had some comment in there about getRealX really needing a new name, or something. Did not know about the Graphics2D part, I'll look into that sometime.=20 Although, I think if that is used instead, it might behave differently than the way it is right now. It also seems that the translate function deals with this relative to the previous origin, which might be a problem since our origin setting is always relative to the actual device space coordinates. (Horray for new vocabulary) Of course, this conclusion is the result of 30 seconds of reading the Javadoc for Graphics2D after excessive amounts of World of Warcraft, so I will look into it more thoroughly tomorrow. -Alex On 4/29/05, Toby Donaldson <tj...@sf...> wrote: > Alex, looking at your code I was confused by your use of the world "real" > --- I thought it meant real numbers. :-) >=20 > Someone correct me if I'm wrong (I don't know much about graphics), but > "user space" and "device space" are the terms more commonly used to refer= to > the different types of coordinate systems. TheMatrix currently uses the > device space coordinates (top left is (0, 0), y increases downwards) for = the > user space. TheMatrixOrigin uses Cartesian coordinates as the user space. >=20 > So I think terminology should be used in the variable and method names. >=20 > Also, I wonder if there is perhaps a simple trick for getting this to wor= k? > In TheMatrix.paint, g2.translate and g2.scale are used. Could those (or > similar) methods be used to set the origin properly? >=20 > Toby >=20 > On 4/29/05 8:10 PM, "Alex Tsai" <caf...@gm...> wrote: >=20 > > Hi all, > > > > Didn't bother touching the mouse code since I found that out. > > However, I "updated" TheMatrixOrigin with a constructor > > TheMatrixOrigin(int width, int height) which just calls super(width, > > height) so my demo works properly. I should really add the other ones. > > :/I also wrote LameLineGrapher (found in my demo folder - it is fairly > > lame) as a demo of TheMatrixOrigin and how to use it. It is fairly > > straight forward, just that code needs to be written to check that > > you're not making anything go out of bounds. > > > > -Alex > > > > On 4/26/05, Toby Donaldson <tj...@sf...> wrote: > >> Alex, > >> > >> I don't know if the mouse code in TheMatrix has been kept up ... It mi= ght do > >> nothing! The simplest thing is to ignore it or delete it for now. > >> > >> By the way, can you post some sample code using TheMatrixOrigin for so= me > >> basic task so that others can see how it is meant to be used. > >> > >> Toby > >> > >> ---Alex's message copied from csjava developers forum > >> New concerns as my afternoon without World of Warcraft continues: > >> > >> Since all the mouse functions are done using internal coordinates in t= he > >> parent class, I opted to convert them to "fake" coordinates for now. H= owever > >> there is something that confuses me: > >> > >> Currently in mouseClicked, there is a line: > >> <b> _currentPoint =3D null;</b> > >> > >> But this is really weird to me, since _currentPoint is only declared i= n > >> TheMatrix, and it's only actually used in mouseClicked and mouseDragge= d. > >> However, in mouseClicked I don't think it does anything with _currentP= oint > >> but sets it to null at the end. What exactly is this supposed to be do= ing? > >> > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > Get your fingers limbered up and give it your best shot. 4 great events= , 4 > > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > > _______________________________________________ > > csjava-developer mailing list > > csj...@li... > > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, = 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > |