Jump to content
xisto Community

ghostrider

Members
  • Content Count

    399
  • Joined

  • Last visited

Everything posted by ghostrider

  1. What Operating System are they using? I know that some of the more advanced features, like encryption with WinZip, don't work on other operating systems. I'd try asking them that and see what there responses are.
  2. I really like it. It made me laugh. Its a very interesting error page.
  3. I just read about this in Google News. I don't think the draft should be reinstated, I like staying in the USA and not in some middle eastern country. I turn eighteen in about 1 and a half years and my goal is to go to a great university, not fight for a war I really don't believe in anymore. Its almost turning into the Vietnam war, we're not making any real progress, our men are just dying.
  4. eight. Idk how high we will be able to get, but probably not over 200 because of the amount of active members. 8 is ocho en espanol.
  5. Did you happen to see the new movie Borat?? Notice from KuBi: Ho---Wha---....What? What does this have to do with the topic at hand? Warning issued.
  6. I don't think using someone else's WIFI would be legal, unless they give you permission too. Its almost like stealing, and it is most definently taking advantage of someone else's WIFI. They are paying for their internet, not you.
  7. you can always create 3 partitions on your hard drive, on for linux, one for linux swap, and one for Windows. Its not that hard to do .
  8. Hello and welcome to Xisto! You'll find many helpful and friendly people here. Be sure to follow the rules, and read the README. I sent you a friend request on myspace an hour or two ago.
  9. Wow, that is interesting. I also notice you have 7000 some spam messages. I don't think I'd be able to use that for day to day browsing either.
  10. An Indepth Look At the Winsock Control Part II - Events of the Winsock Control Stuff Covered in Part II: During this part of my tutorial I am covering all the Events of the Winsock tutorial. I'll also tell you how to add it to your project if you don't already know how. Be sure to have read my first tutorial, An Indepth Look At the Winsock Control Part I - The Basics The 7 events of the Winsock Control: The Winsock Control is an event-driven control, meaning that whenever data is received or a computer wants to connect to ours, the control will call an event and our code will handle it from there. There are 7 events, and they are named, Close, Connect, ConnectionRequest, DataArrival, Error, SendComplete, and SendProgress. The Close Event: The Close event is fired whenever a connection is closed. This only happens when you are using the TCP protocol. I usually never use this event when I write code for the Winsock control. It has no arguments The Connect Event: The Connect event is fired whenever a connection is made. This also is only fired when you are using the TCP protocol. I also almost never use this event. The ConnectionRequest Event: The ConnectionRequest event is fired when a computer is listening for a connection and a computer would like to connect to it. It has one argument, called requestID. Each connection made to a control has its own unique requestID. To connect to a computer you use the Accept function of the Winsock control. The accept function finalizes the connection and allows both computers to start sending data. This event is only fired when you are using the TCP protocol. The DataArrival Event: Unlike the last 3 events, this event event can be fired using both TCP and UDP protocols. It has one argument, called bytesTotal. This arugment contains how many bytes were received. You can get the data using the function GetData or PeekData. The Error Event: The Error event is fired whenever an error occurs. It has a lot of arguments, 7 to be exact, but we are only going to use the first two arguments, Number which contains the error number, and Description, which describes the error. This event is fired regardless of the protcol you are using. The SendComplete Event: This event is fired when the data is completed sending. I never really use it. It has no arguments and can be used when you are using TCP and UDP. If I choose to include file sharing in our chat program, then it will be used. The SendProgess Event: This event is fired whenever data is being sent which is pretty much all the time. It has two arugments, bytesSent and bytesRemaining, which are both self explanatory. I almost never use this, but like with the SendComplete event, if we share files it will be used. You can calculate the percent of the file that has been sent using this equation. percent = bytesSent / (bytesSent + bytesRemaining) * 100. How to Add the Winsock Control to your Toolbar: Here are the steps for adding the Winsock control: 1. On the menu at the way top, click Project. 2. Click Components. 3. Find Microsoft Winsock Control 6.0 (SP5) 4. Click the check box next to it. 5. Click OK. The Winsock control should now be on your toolbar and be ready for use. Part III is coming soon, and we will start writing some actual code then.
  11. I think it would be simple enough to do a counter. I'm working on a counter script actually that might be able to help you out. I don't know when exactly it will be done, but I can PM you once its up and running. If you want an answer right away, I'd be glad to help you too.
  12. I'm glad I was able to help you out. I know Assembly starts out boring and not fun, but ever since I learned it I have noticed that I prorgam more creatively, and problem solving is much easier. Both of those skills are great to have. Also, why do you have 5 semicolons in front of your include statement? ;;;;;%include "NASMENV\lib\io.mac"
  13. I'm sorry I can't elorborate on this more, but I found this on the internet. It explains the xlatb function. You need to put the address of the table in EBX, not the table itself. lea EBX, hex-table;lea stands for load effective address. Here is what I found on the internet: Hope this helps.
  14. EBX is a 32-bit variable. This means it can hold a total of 32 bits / 8 bits per byte or a total of 4 bytes. The value you are trying to put in there is 17 bytes. Perhaps you are supposed to be putting the location of hex_table in EBX? I'm not familiar with some of the instructions you are using so I couldn't tell you. Post back and I can try and help you out more. I've been using assembly for 3 years.
  15. Another thing I would like to point out, you might want to get a 64-bit processor. These processors are the future of computing. Once applications start utilizing this amazing technology everything will go so much faster.
  16. I've been programming for 10 years, since first grade, and I can give you some advice. As said above, practice makes perfect. I wouldn't start just yet, education is something that just throws off people because of stress, and you need to be calm to program at your very bests. Try developing a small application, and set yourself a deadline that you want to meet. This will get you used to making deadlines and setting them long enough for you to complete your work. Do you have summer vacation in college? This is something I would try over the summer, or during a long break, just to get a small taste of what its really like to be a freelance programmer. You don't always have to design stuff for money either. I write stuff for other people, and I usually get something small in return, adspace, but usually just hosting credits because the majority of my clients are from Xisto. Good luck with this!
  17. I think I might just go to Best Buy here and hope on of the smashmyps3 people are there! That would be absolutly funny to see!
  18. An Intel Core Duo 2 processor is good, but what is going to make your games work great is going to be a really nice video card. ATI and nVidia both make great video cards. I believe they both tell you if they support Aero.
  19. I wrote this just today. Please tell me if its written well. If you guys like it I'll continue you to write more.An Indepth Look at the Winsock ControlPart I - The BasicsWho This Documentation Is For: This documentation on the Winsock control is for any Visual Basic programmer that wants to learn about communication between two or more computers. Communication between computers was something I found fun to learn, and also teachs many other key concepts like string parsing and control arrays. I recommend that you have some expierence with Visual Basic, enough that you are able to handle variables and know what the functions Chr(), Asc(), Mid(), and other common functions do. You should also know the difference between functions and subs, and how to return the result from a function. You should also understand how variables work. I will add comments on any code that might not make sense.What is covered in Part I: In Part I, I will go over the two different protocols (ways that data is sent and how the connections are set up), what IP addresses are, and what ports are. No actual code is written in this part, however by the end we will have made a fully useable chat application that is capable of chat between 2 or more than 2 different people.The Two Different Protocols: Using the Winsock control there are two different protocols, or two different ways of connecting to another computer and sending data. They are named Transfer Control Protocol (TCP), which is the default protocol if you do not define one. The other much less used protocol is called User Datagram Protocol (UDP). There are many technical differences between TCP and UDP, but they do not affect us. The difference that is important that we need to concern ourselves with is this, TCP requires a connection between, and UDP does NOT.How TCP connects to computers: In a TCP connection, one computer is the server. The server 'listens' for incoming requests, and then either 'accepts' them or closes the connection. The client(s) 'connect' to the server. In order for you to make the connection, the client(s) need to know either the host name or IP address of the server, and the port that the server is listening on. TCP is very much like a telephone, the client(s) call the server, and the server picks up the phone. After the connection has been established, both computers can send data back and forth.How UDP works: Very unlike TCP, UDP does not need a connection. UDP does not have a server or a client. Each computer needs to know the port the computer is transfering data through, and the IP address of the other. UDP is suitable for sending small amounts of data between computers. UDP is like passing a note in class, no connection is needed like a telephone.What are IP Addresses and Ports: An IP address is like the address of your house. Each person has a different one, and it identifies you. An IP address has a format like this xxx.xxx.xxx.xxx. Not all of the x's have to be used in each set of x's. The 4 x sets can be from the values of 0 to 255. IP addresses within Local Area Networks always start with 192.xxx.xxx.xxx or 172.xxx.xxx.xxx or even 10.xxx.xxx.xxx. It is important that you understand that computers can have more than one IP address. For example right now, my computer has two, one of them being the one that it has inside of my local area network (the network I have in my house) and one for the internet, that other computers outside of my LAN know my computer as. Each computer 65536 ports, number from 0 to 65535. Ports were designed so that data doesnt come through all at once, it can be seperated. HTTP (Hypertext Transfer Protocol) or more commonly know as web pages uses Port 80, and FTP (File Transfer Protocol) uses port 21. These ARE NOT different protocols that the Winsock control usees. Don't get confused by that. HTTP and FTP both happen to work using TCP.
  20. If what I think he is thinking about is right, its a simple enough concept. This is how I would approach it. 1. The PHP program writes some data to a file in some format. 2. The VB program constantly sees if a file is there for it to read. 3. The VB program processes it and puts the result back in another file. 4. The VB program deletes the original file. (so that the PHP program can create a new one later) 5. The PHP program opens the file the VB program wrote, and has the results. 6. The PHP program deletes the file. Another way I could see this working is using a Winsock control in the VB program, and then using the socket functions of PHP to connect to it and process the request. This technique seems more practical now that I think about it. Here is how I would write this one. 1. The VB program is constantly listening for connections. 2. The PHP program connects to the IP address 127.0.0.1 (your computers IP) or localhost 3. The PHP program sends what needs to be done to the VB one. 4. The VB program returns the data and closes the connection. The technique I wrote above seems more practical because it can handle multiple requests, instead of just one file. It probably is slightly faster (by a very small amount) because the computer doesn't need to write to the hard disk constantly. The opposite, using VB and calling a PHP program can be done. I am currently writing a game that will use this technique for match making. It works like this. 1. You have a PHP program that does a certain function and accepts its data through GET <?PHP$variable = $_GET['mode'];// if you have the url, whateversite.com/cgi-sys/suspendedpage.cgi?mode=1, the $variable = 1.PHP?> 2. The VB program uses the Inet control, and sends the request.3. The PHP program would output its result using the print() or echo() variable. I hope this helps you guys out a lot. I'll be happy to guide you along and answer any other questions you have.
  21. I think you need to explain what exactly your talking about so we all can understand. I'm in Honors Advanced Algebra and I have no idea what the hell you're talking about.
  22. Not all youth are this way. Quoting Dagoth Nereviar, No one path is right or wrong. Some people would say I am going down Path B, but I still have the urge to learn. So what if I am slightly rebelious? I am not hurting anyone, or doing any sort of vandalism. Also a lot of people who take Path B and really stick to it do a lot more harm to themselves than they do to others. Even people on Path A can bring out society down. Let people grow up. I think you will see a lot of Path B people convert to Path A. I also think that there are no real right or wrong paths to take. The majority of things that we do as people are in a sort of 'gray' area, not really good but not really bad either. Take for example a teenager getting drunk at a party. Is this really that bad? I can see that it is if he or she drives or does reckless things, but even when you are drunk you have a conscience. My psychologist said to me, I have been drunk before at a party, and I will admit to it. But is this really something that would put me on Path A or Path B? I think teens still have a lot of choices to make, so they really aren't on a defined path at all yet.
  23. I've been programming in VB for ten years, can you describe what you are trying to do with a little more detail? I think it is possible to do. PM me or post back and I'll help you out.
  24. Wow, thats amazing! I can do about one pullup on a good day. Maybe 2 if I'm really really lucky.
  25. What might be happening is that each of your frames might have its own palette. Each palette in a GIF file takes up 768 bytes, if you have a lot of frames that really adds up. Try using GIF Construction Set (google it), it has a lot of ways that it can decrease file size. You one palette for the entire thing, but this limits you to a total of 256 colors. Decreasing your frame rate will also decrease the size of your video by A LOT.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.