- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I think Gabrielle taught the MIPS assembler class I took as an undergrad too...
I think the best thing a student in that web dev class could do would be to run one of her HTML files through http://validator.w3.org/ and show her the resulting smorgasboard of errors and warnings. Not that it would do any good, but it would be tremendously gratifying.
Admin
"Geek fu"? I love it!
Admin
It didn't occur to me this may not be about a teacher... which should tell you something about some profs at my uni.
Admin
Agreed!
Admin
One of the tutors in a course I took while at university, was under pressure because over 60% of his class had failed the course for the last three years he had taught it (exams marked by another tutor to ensure no bias).
If this happend again with our class he would be fired. During the exam he got up, announced he was going to go and get a coffee and would not be back for exactly 25 mins. Since his teaching was crap and most of us were going to fail as soon as he was out of the room the brain boxes started answering the questions as for everyone else to reword. 25 mins later most people had finished the exam and when the tutor arrived back right on time handed in their papers and walked out. No one wanted to report it because it was a required course and it would have ment re-sitting and probably failing the exam. Now days I look back and wish I or somone else had reported it, so the next years class didn't have to suffer his incompetence.
Admin
Have you ever seen "those MIT freaks"? They are most definitely out of touch in almost a blue powder leisure suit with cowboy boots sort of way.
Admin
Thread winner.
Unlike the rest of the nerd herd that like to whip out the "turing-complete" catch phrase as often as possible, and argue about whether or not HTML is a programming language (which it's not).
Admin
> While that claim is convenient its not really correct, for instance ANSI/SQL is not turing complete, and its still considered a programming langage. There's also Charity :)
Some of my friends are considered smart. All depends on the fact, who considers.
SQL is not a programming language. PL/SQL is.
Admin
You guys got that much instruction? We didn't even have "vim", much less a "vimtutor". We had a one page cheat sheet of commands handed out, end of story. Students who couldn't learn tools on their own were in trouble (which is good, since they couldn't survive in the real world). Programming languages were also not taught extensively during lectures, but were mostly covered in sections or office hours (for those unfamiliar, sections are smaller discussion groups run by graduate students).
The WTF here for me is that not only are there such things as "Web Development" classes, but that these are upper division courses and that someone used the words "graduate level" in the same sentence. Sheesh. Please tell me this was ITT Tech or DeVry and not a university.
Admin
Okay, once more with feeeeeeeeeeeling...
This is not a rendering issue. A rendering issue this is not. Rendering issue? Not this!
Have we chapter-and-versed this enough, yet?
--
Christopher Clark
Admin
Admin
Admin
I assume you are referring to Dell Precision. You will realise that this is not an idiotic design once you envision yourself accidentally bumping your knee into that large silver "switch" thingie. If it were indeed a power switch, you'll be sorry
Admin
That doesn't sound bad to me at all. He encouraged you to be curious and to learn on your own, and he didn't fill you full of BS. I'm much more put off by people who will lie or let you believe anything as long as you think they know everything.
Admin
I'm going to give everyone an out here. It's obviously valid HTML. It's most definately not valid XHTML.
This will never hope to validate:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>foo</title>
<p>foo</p>
Yes, I know that wasn't your point, but it'd be nice to think that enough people are using XHTML these days that they've just mentally swapped the two terms HTML and XHTML.
Admin
Oh God... I had classmates like this, but... oh god...
Admin
I just wrote a TXT program and ran it in notepad. Amazingly, it also ran in Firefox... there must be a TXT emulator in there.
Admin
This may have come from pressure from industry. Ie, big Fortune 500 company complains that all their entry level web developers from WTFU are hopeless with HTML, and they only know useless skills like queueing theory, LALR parsing, and computational complexity. Now you can't even begin to create a great web infrastructure without having people who know something about those skills, but industry doesn't see it that way. They've already got the senior engineers who can do that hard stuff. They want universities to churn out entry level employees who work cheap and who don't have to be trained. Universities on the other hand, prefer to educate. Industry wants short-term gains; universities prepare for long term results.
So many universities go half way; they add these silly courses (often utilized by the continuing education schools and non-majors) which don't get in the way of their main mission. There's an added advantage that visiting professors can teach them with minimal preparation.
Admin
Good heavens why?!?!?
XHTML is another name for the devil!
Admin
I teach IT classes part-time at the local community college. Once in a while they give me something a little out of my field--such as this past spring when nobody else was willing to do the Saturday morning class on help desk administration. One of my students was himself an experienced help desk admin, who knew more than I did about the topic and just needed the credit to complete his IT degree.
So it was probably at least once per class period, I'd catch something that didn't make sense in the textbook, or I'd find a gap in my own knowledge. I didn't feel bad about interrupting myself to ask Gary to fill the class in on that point.
Community college can be like that because so many of the students are older, more experienced in a very specific area, and no longer used to being lectured to anyway. I've often had students with advanced degrees in related (or unrelated) areas, taking my classes to fill in gaps. For example, in my VB.NET class one semester there was this brilliant guy from Nigeria, probably over 50 years old, who already had a PhD in biology but wanted to learn programming. Working with him was very different from working with my post-high-school students.
There was also a local fellow who already had a four-year degree in CS and about fifteen years' experience but had been out of work for two years after the dot-com bust; he wanted a refresh/update of his VB6 knowledge. I leaned on that guy a lot too, because he was smart, eager to share what he knew, and experienced in slightly different application areas from what I was used to.
So... yeah. It's important for instructors at all levels to know what they are talking about, but I honestly don't think it's a bad thing when students help a little. In community colleges it happens all the time because of the very diverse student body and the varying backgrounds of instructors.
Admin
You must be a time traveller from the early 16th century or something. Universities in the late 20th century and early 21st century simply prefer to bjork money from gullible "students". Education is a known side effect.
Universities no longer prepare for long term results. They simply hope the short term results will last a long time.
Admin
I forgot to point out that while education is a known side effect, it isn't necessarily a common side effect. Please consult with your physician to determine if university is right for you. If you have a family history of mild or severe idiotic tendencies, university may not be right for you.
Admin
Whether it's a useful language or not, I don't think that necessarily invalidates my original argument.
Admin
Your original statement invalidates your argument. HTML is a markup language. As somebody else pointed out, it is no different than using MS Word or WordPerfect and changing the font type or making some text bold or underlined.
Admin
Your prof might have been smarter than you think. I've worked on a couple of very old operating systems where that *is* a valid IP address. What the comptuer would do is keep subtracting 256 from each quad until it got a result in [0,255]. I believe this used to be used in obfuscating links in web pages.
B
Admin
Ah, yes, SGML -- one of the original proofs that getting someone who doesn't program to design your specification is a terrible idea. Optional (implied) tags for required elements require an inordinate amount of parser smarts, way beyond what it turns out is actually necessary in real applications. Add in a surprisingly wide variety of tag syntaxes, any or all of which may be in use at the same time, and SGML is just a nightmare to parse correctly.
Predictably, web browsers don't even try. You can't use the perfectly valid construct <b/bold text/, for instance, and expect it to work in the real world.
Also, note this, straight out of the HTML spec: Elements are not tags. Some people refer to elements as tags (e.g., "the P tag"). Remember that the element is one thing, and the tag (be it start or end tag) is another. For instance, the HEAD element is always present, even though both start and end HEAD tags may be missing in the markup.
And to the guy who changed the subject to XHTML: yes, because XML intentionally doesn't have most of SGML's warts. That doesn't say anything about HTML.
Admin
SQL is a declarative programming language. PL/SQL is an imperative language. I'm going to assume you fell into programming rather than coming from a CS undergrad where that's laid out in detail.
Admin
Nobody said it was XHTML. They said it was HTML, and it is. We don't need you're out because we aren't actually wrong. Whether we tend to use xhtml or not really isn't relevant.
Admin
at my university CS104 is a required course for majors - it covers html, visual basic, how to use office, etc. stupid shit
the professor was even dumber than the class' content and couldn't teach out of a wet paper bag.
Admin
"... and now I'm going to present my absurd generalizations from that single data point."
Hurrah! All the mysterious difficulties of higher education, revealed and resolved for our benefit!
And yet I had a good half-dozen courses in my undergrad years where we used draft textbooks written by the course instructor, and easily a dozen where we used no textbook at all. And very few of the graduate courses I took used "textbooks", though a few did include technical books with some teaching apparatus (such as Stallings' Data and Computer Communications).
What country was this? In the US, the AAUP (American Association of University Professors) has some influence, but many professors do not belong to it, and there are few institutions where it's significant in scheduling courses. Typically program directors, department chairs, and associate chairs make most of those decisions in consultation with curriculum committees, which are staffed by faculty; and those decisions more or less follow program plans coordinated with college- and university-level administration (deans, provosts, and their minions).
Universities don't let just anyone teach because (accredited) universities employ scholars as teachers. Teaching at a university is a career, not a hobby. Unions have nothing to do with it.
Yes, the barriers to entry into university-level teaching are not negligible. Nor should they be - and if they were, the university would put its accreditation at risk.
Admin
I recall that my professor for Theory of Programming Languages -- an implementor of a popular Scheme distribution -- argued that any input you give to a computer to produce a desired output was programming, including things like HTML and GIF files (which contain a primitive control structure: looping animation). It's an unconventional viewpoint, but it does get you to think about where you're drawing the line.
If you constrain yourself to Turing-completeness, you leave out a lot of stuff, like SQL, as people have mentioned. Is someone programming if they write bison/yacc code? I'd say they were, even if they were only pushing around context-free grammars. How about a state machine-based AI for a game? Or a file that tells an editor how to highlight code using regular expressions? How about "Hello world" programs that restrict themselves to a non-Turing subset of the language that only produces output (which is also the case for many Postscript/PDF/Flash programs)?
I think his viewpoint has merit, but it gets pooh-poohed by many programmers because they like to think they're doing something that's beyond mere mortals, as if programming has to be hard for it to count.
Admin
That seems familiar...
In high school I trained two teachers on web development while I was in the class then they just regurgitated it to them. It kind of worked out, I made the templates for the school's website and the students filled in all the content while learning HTML and CSS (it was ugly...)
During uni I had one professor who was teaching assembly and later comp architecture who could barely use a computer and whose code never ran correctly.
During uni I had a different prof who was teaching us various intelligent systems and ai...we ended up teaching her A* because she explained it four different ways, each conflicting with the other.
CAPTCHA: creative
Admin
dumberer...Yes you did
Admin
A document with no <html> tag may well be valid HTML, but one thing it isn't is valid XHTML, due to XML's explicit rule that there be one and only one "document element". Note though that I'm not criticizing your example, since you were kind enough to provide a DOCTYPE declaration. shizzle
Admin
Am I the only one who actually has the feeling he is/was learning something in the various "programming" classes? Every week I learn one or two new paradigms, Design by Contract, Prototyping Languages, etc. etc. Each with a 16+ hour lab assignment. Just created my first compiler, and working implementing OO-support in an existing one.
For you die-hards that must be peanuts, but I'm quite it...so far. :)
Admin
I can admit when I'm wrong. I honestly could have sworn that HTML at one time required <html>, <head> and <body> tags to be compliant. (No, I'm not thinking of XHTML.) But I am seeing that not even HTML 4.0 or HTML 3.2 requires them. I see some wording in the spec that might have misled me (like "Every HTML document must have a TITLE element in the HEAD section"), but the spec, the SGML, the validator, and this page all confirm that I was wrong. I wish I knew where I got the idea from to begin with.
Admin
I was in a database course once where the instructor bitched at me for going Right Click Start->Explore All Users->directory instead of going through My Computer as per her instructions. Her rationale was that she was afraid that I'd get "lost" if I didn't follow her exactly.
Admin
Well, then whoever assumes an HTML document needs an <HTML> tag to be valid is fucking stupid (misinformed). However, you would need that tag to have a valid XHTML document. My assertion was that, possibly, the morons (uninformed souls) that thought an <HTML> tag was needed on an HTML document had just been using XHTML and didn't really think about the difference.
Admin
Actually I can believe this. I've encountered similar issues during my 'edumacation'...
During a 10 week project period involving Oracle databases, we (the students) actually had to teach the teacher how to work with that cr#p. I only wish it was a test from him...
And we had a Java course given by someone who only had a minor understanding of Pascal, and called "sleep" functions "slape" and a 'thread' was pronounced as 'treat'. Mind you, this was on a Dutch school, so English might not have been his best side, but still "Slape"?
Oh and we didn't have work-classes for that course, but it was more like a writing exercise (pen and paper) than actual programming. No practical lessons or anything. Even the exam was paper only.
Admin
I transferred to another university after my second year. For some reason the "Computer Fundamentals" I took at the first school wasn't good enough for the second, and so I had to retake. The real WTF is that they let me take a Java programming class. Even funnier is that I had them back-to-back. So at 9:00 I would learn how to use the calculator, and at 10:00 I would learn how to make the calculator.
Admin
Oy. Yes, an HTML document must have an HTML element, which must contain a HEAD and a BODY element, and the HEAD must contain a TITLE element.
And you actually have to state the TITLE element with a tag.
Not the HTML element, not the HEAD, not the BODY. Just the TITLE.
Just like in English, every sentence has to have a subject and a verb.
But you don't actually have to state the subject.
See?
Admin
Being penalized for using techniques not taught yet is ridiculous. If you want the student to use a specific technique, you MUST SPECIFY IT. If you don't say "don't use Strings" or "read the chars one at time", I'm going to use arrays!
Admin
Or even clearer, from http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.1:
Admin
You ever seen The Ring? (the American version)
At one point the title character does a Google search, but the filmmakers are 'smart' enough to show the address bar, and what address do you see?
"file://c|/Temporary%20Internet%20Files/..."
Admin
333.333.333.333 is never a valid IP address. It doesn't matter what the computer thinks, ip addresses are dotted quads with each value being 0-255. This is the way ipv4 is defined (along with some other requirements).
Just because it happens to work doesn't make it ok. Isn't that the major lesson here?
Admin
What about XPM?
Admin
This is a valid IP Address: 92672
In dotted quad form: 192.168.1.1
Admin
Hrm... except I think I did the math wrong. I'm distracted. Regardless, the point stands. :)
Admin
"Gabrielle's grasp of "documents" versus "programs" was just as painfully embarrassing. After editing an HTML document, she'd always say, "OK, I'm now saving my HTML program and will run it in Internet Explorer." I won't even get into how much Gabrielle struggled with doing actual web development in PHP."
I know it's pedantic but the L in HTML stands for Language (HyperText Markup Language) so an HTML document is a program and it does run in IE.
Admin
Well, if we're going to be pedantic, then it's time to point out that no, IP addresses are not, at the lower levels, dotted quads, but rather a single unsigned 32 bit integer. Each quad represents one byte of that integer.
But, only if we're being pedantic :)