Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Are you sure there even is a solution? Yeah, so what you call (BC) is what would normally be 10*B+C, which is exactly how positional number systems work. You can trivially verify if a given solution is correct in constant time. You just need to generate all 9! = 362880 different permutations and check each one until you meet a correct solution. If you don't find any doing this, there exists no solution.
  2. Why don't you just ask the question? How you are doing it now: 1) Ask if someone has it. 2) Someone answers 'yes'. 2) You ask the question. 4) That person returns to answer it. How you would do it optimally: 1) You ask the question. 2) Someone who is able to answer it posts in this topic.
  3. 500 means "internal server error". Check your webserver's error log.
  4. The regex I provided allows negative integers. ctype_digit() doesn't allow negative integers. is_numeric() allows floats.
  5. Yes, doing like this should be fine for checking if it's an integer: if (preg_match('#^-?\d+$#', $theInteger)) { // is int }
  6. is_int() checks if the data type is an integer. He is getting input from input from a user, so the data type will always be a string. Does that mean is_int() will return false as the input is a string and not a number? Yes: daniel@daniel-laptop:~$ php -r 'var_dump(is_int("123"));' bool(false)
  7. is_int() checks if the data type is an integer. He is getting input from input from a user, so the data type will always be a string.
  8. http://php.net/string ?
  9. I don't pay any money for attending the university, so that's not a universally applicable argument. You're also assuming that money is the most important thing in your post, but that isn't really true either (for most people at least).
  10. That's on purpose.
  11. Oh, nice. You've just made it way easier for me spoofing my address on your website
  12. The function selects a rank following a query which is dependant on the user_id parem, so im not sure how that'd work? Well, return the values in an array.
  13. They'll compile to the same opcodes, so unless you aren't using an opcode cache (you should always use an opcode cache), this will only affect the first execution, and even then the performance gain/loss is negligible.
  14. Just pass the values as parameters instead.
  15. There will always be a remote address. Where else should the response go?
  16. If they're connected to the internet, yes.
  17. Basic networking. TCP/IP and HTTP is most important, but other things can be valuable as well.
  18. Good. Well, then we agree. I think it's wrong that some universities don't make a distinction though.
  19. Problem is just that you can't say anything general about whether or not it's worth it pursuing a degree. It depends on which institution you get it from, and which degree it is. It also depends on where you live. Do you have to pay huge sums of money for it, or is it financed through taxes? It also depends on how much you know about the subject already. It depends on whether or you think you'll benefit from being around experts in that field and being around other people who are interested in that field as well. There are just too many factors to make any blanket statement about the worth of an education. Again, the answer is "it depends". You can do quite fine both with and without a degree.
  20. This topic is also missing some pretty crucial information: Brian W, what exactly do you want to work as? What kind of things interest you? What kind of skills do you have right now?
  21. And you don't think it's a problem that if a university mislabels the educations so that two different programs with different contents are given the same label? Well, then they're not the same. If A ⊂ B, then A ≠ B. People who study electrical engineering will also have to take some classes about physics, but that doesn't mean that that electrical engineers are physicists just because they use physics. The problem with CS/SE is just that there aren't enough CS jobs so a lot of CS people end up doing what is essentially SE eventually. This brings us back to the mislabeling issue; people need to state more clearly what kind of qualifications they seek, and HR departments need to stop being retards. No, this is not the case at all. All my graduates did Software Engineering and mostly chose modules in Web Development. None were from a Computer Science degree. My argument is that what they had learnt over the 2-3 years of their degree within the web development modules did not even scratch the surface of what skills are required in the real world. It took a lot of time to train them up to the standard where they could work on a clients project. This is why I have the opinion that experience is more valuable than a degree and seems to be the opinion of current employers. Okay, so then I made an incorrect assumption. Nevertheless, as my parenthesis said, I've seen that argument made before. Your experience with the SE candidates doesn't say anything in general about that education though. You could just be unlucky that the SE programs offered near you aren't very good. A degree is worth pursuing if it gives you the qualifications that your potential employer wants (of course you may still benefit socially and by getting a network, but this is irrelevant to the matter at hand). That's how comparing degrees is relevant.
  22. You need to stop saying this. Many universities don't make the distinction. If we go with Wikipedia for starters, the following are some of the sub-fields of computer science that are listed: Computational geometry, type theory, computability, algorithms, data structures, cryptography, machine learning, natural language processing. If we look at "Software Engineering" we have things such as software design, QA, testing, and software development and methodology. Engineering is the practical application of science. From our department, here are some of the recent titles for thesises: "Gyroscopic Mouse Input for Wall-Size Displays: Improving interaction using Estimated Point Of Focus" "Better time series forecasting using machine learning" "Sensoric CSP Networks" "Automatic detection of emphysema in 3d CT scans" "From Automatic to Adaptive Data Acquisition - towards scientific sensornets" "Semantic Patch Inference" "Curve Evolution in Subspaces and Exploring the Metameric Class of Histogram of Gradient Orientation based Features using Nonlinear Projection Methods" "Distributed Fluid Simulation on Multiple GPUs" None of those sound like software engineering. This isn't software engineering either:
  23. What kind of graduates were you looking at? Computer science is not the same as software engineering for instance. They're somewhat related, but the difference gives you the same problems with hiring a theoretical physicist to do applied physics. With a bit of training, he could fit the job, but that doesn't change the fact that in the short-term you would be better off with an applied physicist. Similarly, how does the courses the graduate took match up with what your company does? You'll have the same problem with experienced autodidacts, because would someone with experience in embedded programming be suited for a web development position? Also, when looking at the graduate, did he do the bare minimum to pass his courses and get the certificate, or did he research on his own beyond what the courses covered and practice in his free time? The former person will be guaranteed to be inferior. Did the graduates have a BSc, MSc, PhD? That kind of makes a difference as well. TL;DR, there is no such thing as "experience is better than degree" or vice versa. The answer is "it depends". More than likely, your graduate candidates were either a) people who didn't make a very great effort in university, or b) people who were specialized in areas unrelated to your company's specialty. The thing you get out of a degree is experience. It just didn't happen to be the kind of experience you were looking for.
  24. The user can do whatever it wants with the stuff you send it.
×
×
  • Create New...

Important Information

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.