Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. I don't mean to sound condescending, but I was a teaching assistant on a first-year university level programming course (Object Oriented Programming and Design). The course load was 7.5 ECTS-credits. I would have expected my students to be able to solve that problem. Indeed the exam was creating a Tron-like game with a GUI and simple AI strategies for computer based players using Java. The only programming course prior to that one was Introduction to Programming, which used functional programming, so the for many students, it was the first time they had to program imperatively. Having these expectations of first-year students, I would certainly expect that anyone who has completed a four year degree that claims to teach programming would be able to solve this problem with no trouble at all. That's the impression I got as well. I suppose this would mean OP's degree has what I called a "shitty curriculum". That's not his fault of course. You cannot really know what is essential to be taught in a particular field if you're not already experienced with that field.
  2. Of course you can learn to program in a school. Imperative programming and functional programming is based on models of computations known as the Turing machine and the λ-calculus respectively, both "invented" in the 1930s. Object-oriented programming became more widespread with the emergence of Smalltalk in the 1970s, but the concept of objects started in academia over a decade earlier. Imperative programming works by manipulating the state of the computer until a particular set of variables/registers have the desired value. This hasn't changed at all. There hasn't really been much development from the von Neumann architecture, which is really the practical "implementation" of a Turing machine. If a school doesn't teach its students how to manipulate computers (not necessarily by introducing them to the aforementioned theory) by breaking problems down to things that can be handled by those models of computations, then it simply has a shitty curriculum. Sure, if a school only teaches trivia about a particular programming language's API then there is a problem, but the fundamental problem in this thread isn't that he is having trouble because of API changes during the course of his education, but that he hasn't learned to program, something which transcends the choice of programming language. If you've learned to program object-orientedly in Java, then you shouldn't have much trouble programming in another object-oriented programming language (e.g. C#). Sure, the syntax might be a bit different and you'll have to get used to the different API, but thsoe are things are encyclopeadic knowledge, things that can be looked up. You cannot look up "how to program". The only time you'll have real trouble is if you switch to a programming language in an unfamiliar paradigm. For programming, I would at any time recommend an theory based education instead of a vocational one, i.e. an education that teaches the "whys" instead of the "hows". If you understand the theory, then it's (fairly) easy applying that in many different scenarios (such as picking up a new object-oriented programming language when you already understand OOP). Note that I'm not advocating a strictly bottom-up approach though. I'm not saying that you should introduce people to things like Turing machines before you start teaching them programming, nor that they necessarily need to know what that is. However, they do need to understand what it essentially means to program. As for keeping up with particular technologies, that's the students own responsibility.
  3. Right, so I installed Atheme instead of Anope. The database seemed to be corrupted and there was issues with Anope anyways. Unfortunately, people will have to reregister their nicks.
  4. Virtually any kind of hosting should be able to do that. There are 86,400 seconds on a day and you expect 15,000 page views each day. That's only 5.76 seconds per view.
  5. I'm a TA on a first year CS course at my university. I grade programming assignments each week. Let's just say that not all of the code beautiful
  6. What is your students' background?
  7. The problem with doing that, is that it is statistically inaccurate for small data sets. Which is more likely to be the most popular item? Item A, which has a score of 4.8 with 100 votes, or item B with a score of 5.0, but only 2 votes? So the question you want to ask is, if item B had as many votes as item A, how would their ratings compare? Simply using the arithmetic mean is not sufficient for determining relative popularity amongst multiple items. When using a rating scale like this, you can use the Bayesian average instead.
  8. Seems like it's been a while since that page was updated. LinuxForum did once have that many members and Eric recently started the site again. It's a long time ago since MySQLFreaks and ApacheFreaks was shut down. PHPFreaks now also has over 100k members instead of 38k.
  9. What is a social website? You interact with other people on this website and that is a social activity, but you don't interact with those people the same way you do on websites like Facebook, which are typically referred to as "social networking" websites. You use both the term "social website" and "social networking website". Which do you mean?
  10. Sorry, yes. The callback must be an array. See: http://php.net/callback
  11. You can do it like this: class ClassName { function display ($a, $b) { return call_user_func($a, $b); } } or class ClassName { function display ($a, $b) { return $a::$b(); } }
  12. Are you serious? Seeing as you're used to just clicking .exe files, I assume Windows. This is how you do it: Go download that: https://code.google.com/p/modwsgi/wiki/DownloadTheSoftware#Windows_Binary_Downloads Then: So basically: [*]Download file. [*]Add line to config file. [*]Restart Apache. How much more simpler do you want it to be?
  13. https://code.google.com/p/modwsgi/wiki/InstallationInstructions
  14. A program is a sequence of instructions for a computer, so yes, a PHP script is a program.
  15. Zend_Translate supports gettext as backend.
  16. The only such forums are the introduction board and deleted posts, by the way.
  17. How the hell is it supposed to translate the text for you?
  18. It makes perfect sense, but why would you want that? If the user leaves the page, don't you think there is a reason?
  19. Sorry, the webchat client is now running as well.
×
×
  • 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.