qbasic internet connection?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
iamdenteddisk
Veteran
Posts: 185
Joined: Mon Jun 30, 2008 4:10 pm

qbasic internet connection?

Post by iamdenteddisk »

I worked all night on getting my modem chat program working now I am wondering is there a way to brose with the internet connection I already have as in can I write a program to comunicate over my isp connection?

is it a matter of protocalls or bit width?

I have multiple computers home,cabin and office and have been playing with artificial inteligence and I want to let the computers chat together like a hive concousness or botnet but I want to do it with Qbasic4.5 instead of script and over the internet also so I have resources for research and multi connections too.
is this even possible in 16bit?
iamdenteddisk
Veteran
Posts: 185
Joined: Mon Jun 30, 2008 4:10 pm

second time through

Post by iamdenteddisk »

After reading the forum I see the suggestion to shell to a link wich I think is good but also I seen a suggestion to use TCPIP for creating a server game, now I know this is internet protocall and if its possible to use basic for an internet game then it should be able to do what I am asking but how can someone steer me the right way or point out some source code to examine?
User avatar
Kiyotewolf
Veteran
Posts: 96
Joined: Tue Apr 01, 2008 11:38 pm

Wanna make intelligent computer

Post by Kiyotewolf »

I'm going to attempt to make a computer that at the very least, has some interesting conversation.

If I was going to start off, I would begin with the source to Eliza, then add some neural net learning code (from MIT?), give my computer some easily interactive tools, (speech recognition hooks, speech synthesis tools), and.. .. ..

Some coder made a speech generator that takes phenomes from a computer optimized dictionary, but the phenome recordings are very weak. I've tinkered with a harsh speech synthesis program that only ran on a 8 to 5 MHz computer (using reverse speed emulation), (or my offical Tandy 1000 Hx way back when,..), but the voice was understandable. I would take the time to gut the same technique and record my own voice instead, and take out the extra emphasis and make it cut and dry.

Have you thought of making FTP clients that your computers can access like a shared file, so they can have shared variables? That's my idea, and I'm plainly blown away that you're even having as much sucess as you are. I would love to see the method, (not your source code, that would just be rude,..), of how you access your WWWeb client go-between program (Network I/O socket thingy???), cause I would like to do an online game that is my own take on IMVU, only it would be sprite based, not 3D based. (At least not yet for quite awhile)

Good luck, and hopefully your computers manage to take over the world!

Narf!

Kiyote!
Banana phone! We need more lemon pledge. * exploding fist of iced tea! * I see your psycho cat and counter with a duck that has a broken leg, in a cast.
iamdenteddisk
Veteran
Posts: 185
Joined: Mon Jun 30, 2008 4:10 pm

the inteligence is done I need conectivity.

Post by iamdenteddisk »

I got a prety good AI going here it Knows over 512 thousand English words, can cary an convincing intelectual conversation in any language you speak to it with, even suposes insight into subjects but I want some type of connectability to let two copy's talk to each other I want to see if it gets smarter or continues to grow realy.

can you help me with the ftp?
I got modem working but it requires the same program on both ends I would like to let it surf for information just like we do too then if it finds the second copy converse compare.
or even connect with non-native software or hardware like tivo just what ever connect to it all! , its objective "comunicate learn"

I have been using basic,Ml,ASM since the 80s with a commie but never realy wanted to learn that part I was allway's interested in AI and Game's graphics n stuff like plugging my calculators or guitar in or hacking eproms .I allways thought of the internet as Pornography, now I find I need to learn conectivity to go any further and keep pushing my limits it's realy the only interest, I could care less who's in control of the world...

who knows maybe it can find the interest in that..lol
User avatar
Kiyotewolf
Veteran
Posts: 96
Joined: Tue Apr 01, 2008 11:38 pm

ftp help

Post by Kiyotewolf »

Once you get to being able to download html files using your network connection gadget, you should be able to access a FTP site in the same type of manner. You just have to access it on the correct ports, provide username and password, then do regular access type commands.

You might have to look into the BASE64 type mime encoding and how to do a network transfer between the net and your client. I don't think it's anything like an XMODEM or anything like that. I'm really unsure on how to do transfers, but it should be documented somewheres.

Once you master BASE64 encoding, you should be able to make any binary into a transferrable file type, (the base64). BASE64 compresses 3 bytes, dissects the bytes into new groupings, then converts it into 4 ASCII characters that should pass through any text document editor type environment (any OS filename filter), or some kind of re-arranging like that. I did xerox the actual encoding scheme, a pretty consise but moderately vague version of the routine. Code to do it should be somewheres.. * check the map Indy.. *

Instead of fighting with the two computers trying to find each other in the cloud called the internet, (or even a small network), the FTP creates a home-base for your programs to access where they can run there, then run home, no guesswork. The only thing you would have to worry about is DNS name forwarding if your FTP site becomes dislocated and your programs are not set up to accept addresses or go into a moderated sleep type mode if an interrupt of connection happens.

What is you have one connective to the net and the others in serial connections with each other? I know.. not very fun.. but it might give you something to play with in the mean time while you get the code to start working.

I love ASM language. My personal favorite is 6502/6507/6510 flavor ASM. 8088+ type assembly is a bit sketchy for me. I don't like the switch of architecture, but moving on into thread based programming gives me a new window back into 8088 flavored ASM language so I can take it and work with it again.

I would love to test out some really awesome AI that could work on a single client Win32 based system. I wanna see how interactive it is.

I hope you get this off the ground in a big way.

Kiyote!
Banana phone! We need more lemon pledge. * exploding fist of iced tea! * I see your psycho cat and counter with a duck that has a broken leg, in a cast.
iamdenteddisk
Veteran
Posts: 185
Joined: Mon Jun 30, 2008 4:10 pm

I am willing to post code but where

Post by iamdenteddisk »

I dont mind sharing my code but where and with the data bases involved its prety good size, I could offer one with empty data bases to allow you to teach what you want but I am still aroud 940Mb of just code my first compile with skeliton database came in just under 2Gigs all that is required is putting the wave library and phenoms into a dir called wavs and the main program files in a dir called compiler which is my qb directory I haven't yet made a setup/intall program for it I never thought about serving it out but if only a few are interested and will keep it to them selves I dont mind, maybe we could do a colaboration

My initial idea with this was for an english speaking programing enviroment based on qb, I modified allot on the speech engine I found and the moorock compiler but then I got into the inteligence part and found this thing had potential to become an "intelipresence" capable of self writing code based on it's objectives and things you tell it.

I call it "naomi" nural_ aware_ opperative_ machine_ interface.

its intended to learn all it can about "machines" and all we can tell it about humans and define&calculate the best methods for comunication and hopfully be the thing that integrates the two.

I had this idea of using multiple copy's to handel a larger bit width by letting each copy handel a 16 bit chunk of the data and communicate betwixt copy's to be able to handle 128 bit or higher compiling and software creation

as in creating a 128 bit qb...a near humanly impossible task but if you teach a computer to do it how long can it take?
even self modification/creation is an awesome concept in my book.

the qb1.1 source is free info now but I dont have the capacity to concieve it all in one train but I think the computer does but it is just a touring machine or analitical engine and requires the human aspet ratio

what I want is a user friendly machine without the cryptic coding some how reaching a new standard.
Post Reply