Jump to content

Sparda

Dedicated Members
  • Posts

    7,832
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Sparda

  1. Looks good. I do have a couple of suggestions though:

    Your main function is used recursively and never returns. This is very memory inefficient and will fill php's call stack quickly. You should change it to use a infinite look instead.

    The use of $GLOBALS makes me sad, especially since you are using a class and could have made the global variables a property of the class.

  2. The Linux kernel (as well and BSD and Windows kernels) are written in C because they have to be. The alternative would be assembly. C++ won't compile to bare metal.

    C is still a good language to learn, but in terms of jobs, C++ developers are often more sought after.

  3. Depends on how the AP maintains the session for the paying user. It may be the case, for example, that the IP and MAC address have to be the same. Either way, having two computers with the same mac or IP results in the network not working right for either client.

  4. Some aspects of such a device are possible. For the most part it is complete fiction.

    The device I would want most that is presently fictional? Complete mind mapping and implementation in a simulated mind (aka true AI). An opportunity to live forever perhaps. This is probably most renowned because of the game Portal, but it has many places in science fiction and could possible be a reality in the future. Should it ever transpire to be a reality and all captcha mechanisms are instantly useless. Of course this type of technology has many sociological implementations. If a simulation of a person is exactly like them in every way, how do you define some one to be alive. In fact, how do you know thy are not?

    Sadly, the device used in prison brake is unlikely to be a reality because it is just silly, braking all manor of theoretical and practical limitations. It is whats known as a plot device. You should watch torchwood ;)

×
×
  • Create New...