Link concentrate in a can.

So this week, in exchange to some currency (paid only a month of more later) I had to wake up WAY WAY early, and EVERY FREAKING DAY OF THE WEEK, and teach Perl programming to Comverse employees.
Usualy it’s now that bad, but this time there were two factors in the way.
First, I had to teach another course the week before, which cause my concentrations, and tolerance to stupid people to be lower.
Second, the students in this specific course were extra stupid.
I’m sorry, “C Programmer with years of experience” should KNOW what pointers are and how to use them.
Or functions. They should be able to grasp the trivial concept or return value.
I’m sorry.

There are prerequisits for the course which is “basic knowledge of unix and programming, and preferably a BSC in CS.”
Not knowing what | does or what’s cat, or how to use
cat /etc/passwd | youscript.pl
well – just means you probably neved used unix command line in your life.

Teaching this week means i had less time at home, so Less blog posts. But, i hereby provide you with a concentrate of links for stuff i bumped into while boredomly surfing while the students were doing some excercises:

From Boing Boing and later a few other places:
Guess the logo quiz . I got 60% right.

From Al Lowe‘s cyberjoke 3000:

Think you can tell what’s real and what’s computer generated? Here’s a test from Autodesk, the company that recently bought Maya, one of the major 3-D graphics programs. Vote whether 10 objects or real or CG. Personally? I didn’t do very well. Tell me if you get a perfect score.
http://www.autodesk.com/eng/etc/fakeorfoto/quiz.html

Well Al, I got 9 out of 10 right. Ha !

Kim tells us about Best blog post EVAR!. I tend to agree, it is a prestine fine work of blog posting.
I’m gonna take kim up on his challenge.

A guy called Yishai Raziel hired the guy who does the “In a world” promo’s and made a promo for Sabich. It’s stupidly entertaining.

I remember there were other stuff i bumped over the week that i thought were blog post worthy, but i can’t remember them.

This entry was posted in Uncategorized. Bookmark the permalink.

4 Responses to Link concentrate in a can.

  1. roie_m says:

    I’m sorry, but I feel compelled to point you in the right direction [sial.org]

    Not that I never say cat file | process, but at least I know why I shouldn’t.

    • SoundGuy says:

      while i agree with the theoretical assumption that there’s proccess being “wasted” when calling a script with cat, there are a few methodical reasons to use cat anyway:
      1. one of the excercises is writing your own cat.pl perl scripts. If the students dont’ know what’s cat or what it does, they cannot perform this trivial task.

      Side note :

      #!/usr/bin/perl
      print while();

      2. Consider :
      ./myscript.pl > /etc/passwd

      this is bad. Very bad.
      because studetns are STUPID ! if they cannot grasp the concept or | they sure can’t understand whats the “” instead.
      Since each have its own linux PC and to save the classroom admin trouble they all log in as root, you might end up looking for the admin to fix back the /etc/passwd while your precious time is needed to answer questions to other students (or browse the web).

      3. methodcally, explaining the pipe is easier then other methods. You cannot under any circumstance explain more than one method for those people because they cannot grasp it, and will not understand the better one anyway, so sticking to the basics, i.e. cat /etc/passwd | myprog.pl is best.
      4. They do nead to run a script that does concatenate of its input. I.E cat /etc/passwd /etc/hosts | ./myscript.pl

      Reason 4 throws your link out the window. The others are really based on the pure stupidity of “experienced Unix C programmers” who won’t understand the link from sial.org anyway.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>