Forgot your password?
typodupeerror
Programming

How Should I Teach a Basic Programming Course? 452

Posted by Soulskill
from the week-one:-beards dept.
riverman writes "I have been 'provisioned' at the school where I work to teach a new Computer Science/Programming course. I'm supposed to be teaching everything from the very-very basics (i.e. where that myspace thing is in your computer monitor, and how it knows who your friends are) to the easy-advanced (i.e. PHP classes and Python/Google App Engine). I'm an experienced programmer, but I'm not sure where to start — I could easily assume that my students know something basic they don't. Are there any resources on the internet that could help me find a solid curriculum? What are your suggestions?" I'm sure many of us have gone through intro-level programming courses of some sort; what are some things your teacher or professor did that worked well, and what didn't work at all?
User Journal

Journal: This is why I don't post here anymore 6

Journal by sllort

How could I possibly out-do the events of this week? I became redundant a long time ago. Rob Malda gets anonymously bitchslapped by a World of Warcraft Administrator. He spends hours* writing a rant about how he totally understands, isn't angry, and then renames his character "Violated". Right.

Comment: Here's my plan and it's the best one you'll get (Score -1) 1216

by wackybrit (#13514239) Attached to: Infrastructure for One Million Email Accounts?
A million e-mail accounts. That's a lot. You're facing the potential of hundreds of thousands of users hitting a POP3 server once a minute, without taking into account the webmail and any IMAP use (with its associated socket inefficiencies). This means you need a lot of equipment and hacking skills.

So, to handle the load you need a lot of servers. For a million accounts, you might be looking at twenty medium specced Linux boxes. So log into the company's GoDaddy account or whatever and set up twenty MX records for each of the different machines. Now you're ready to do the real work.

Set up a basic POP3 and MTA on each machine. Doesn't really matter which. Sendmail is fine, but make sure to order a book so you can correct any config mistakes over the coming weeks. You also want to install SpamAssassin. Avoid the latest version for certain reasons. SpamAssassin 3 will do. Get this all running on each machine. Assign usernames and passwords to all users and create all the accounts on every single machine (more on this later). Tell all users that any who have problems can get in touch with you, otherwise they might get upset. Try to send this e-mail before the MX records propogate otherwise they won't get it for a while.

As the multiple MX records mean mail will be going to a random server, it is essential every user be on every machine. So how will people get all their mail rather than a twentieth of it? Easy, you set up a round robin DNS on mail.DOMAIN.com. This way whenever a user checks their mail, they'll randomly end up on a different mail server, therefore collecting more of their mail.

IMAP gets trickier in this situation, but I came up with a solution. Since no-one uses IMAP, you can dedicate one box to it. Set up all the accounts there and write a Perl script which logs into all the other boxes on POP3 for every account, then puts the messages into the folders on the IMAP server. Get this script to run (with crontab) every minute.

Webmail will need a similar script, but I leave that as an exercise for you as I've given you enough strategy already.

Good luck!
User Journal

Journal: Farewell Slashdot!! 2

Journal by Jack Wagner

Yes, Hello.

It would seem after many years of posting to slahsdot I've been struck with a "bitchslap" and have thusly decided to retire, rather than fight against the humourless cretins who wielded their heavy handed justice on my account.

Comment: "Punished for Bad Behavior"? (Score 1) 12

by sllort (#9380052) Attached to: Excessive Bad Posting?!
Hey pudge I looked in the FAQ for some documentation on what bad behavior is and how Slashdot would punish me, and I couldn't find any. Do you guys have any plans for telling your users what they're doing that the administration thinks is wrong, and what the list of punishments are?

It appears that sulli was banned from commenting for posting this comment. Personally I would have never known that this was bad behavior, or that Slashdot would feel the need to punish me for it. Who judges? What is bad? What are the punishments?

Your system, I feel, is a bit weird.
User Journal

Journal: The Mailbag 4

Journal by sllort

It came to my attention recently that my ongoing trouncing of CmdrTaco had been interrupted by having myself retired from Whatsbetter.com. Of course I had to do my best to rectify the situation, and the good folks at Whatsbetter.com were happy to oblige. Much to my dismay they had interpreted my lack of recent journal posting as a sign of my demise. While I admit I owe you all a status update on Slashcode (it's com

Portables (Apple)

Journal: GREAT NEWS 3

Journal by Jack Wagner
I've just gotten off the phone with Rusty from kuro5hin dot org and he's got a proposal on the table for Wagner Consulting LLC., to come in and completely rewrite the internal database code as well as most of the backend for kuro5hin!

The rule on staying alive as a program manager is to give 'em a number or give 'em a date, but never give 'em both at once.

Working...