Still no breakthrough. I’m trying to automatically set up SSH tunnels.
Because sysads doesn’t like passphrases, I have to use expect to
automate the password. I want the tunnels to be automatically brought
up when and only when the interface is up and the school profile is
selected. I’m using laptop-net to manage different network
configurations – I’m a laptop user, so I tend to move around a fair
I need this to work in order to have tunnelled secure SMTP out to
cyrus.free.net.ph, as firewalls prevent me from making a direct
connection. Any ideas? I’ve been playing around with expect, but so
far, no joy.
Apparently, someone has written a fairly long description of common
Slashdot trolls on WikiPedia#Slashdot_trolling_phenomena. Strange,
– The meaning of String args
– Maybe some kind of game or the Caesar cipher.
– Declaring, creating and using arrays
– Arrays can’t be mixed
– Multidimensional arrays
– Role-playing? Some sort of contest? 20 students in class. 4 groups of same or different lengths, with a script?
– Minesweeper! http://www.dickinson.edu/~braught/courses/cs132s03/labs/lab10.html
– Die rolling and frequency statistics
Provide a piece of Java code with a few syntax errors; finding and
fixing these errors becomes an “adventure game” when all the Java
syntax is not yet fully explained.
Provide a piece of badly-styled Java code; make fixing the style into
a contest. This can be done before Java syntax is fully explained.
– Make a presentation about a computer or Internet pioneer
– Go online to learn how Fibonacci numbers occur in nature
– Find out about a collaborative web-based project
for discovering Mersenne numbers
– Find some cool Java applets that illustrate lessons
from math, physics, and chemistry
– Use search engines to find sounds and images for
your Java projects
– Find Java resources and documentation online
– Make a presentation about an issue of ethics in
Two technicians wiring the right side of ENIAC
(Courtesy of U.S. Army Research Laboratory)
The term “bug” was popularized by Grace Hopper, a legendary
computer pioneer, who was the first to come up with the idea of a
compiler and who created COBOL. One of Hopper’s favorite stories
was the story of a moth that was found trapped between the points of a
relay, which caused a malfunction of the Mark II Aiken Relay Calculator
(Harvard University, 1945). Technicians removed the moth and affixed
it to the log shown on the photograph.
Many people mistakenly believe that the mouse was invented
by Apple. Others believe that idea came from Xerox, where
the mouse was used on an early office PC called the Star. But
in truth, the mouse was first conceived of by Doug Engelbart
in the early 1960’s, then a scientist at the Stanford Research
Institute, in Menlo Park, California.
The Dance Studio applet teaches basic dance steps
for Rumba, Cha-Cha, Salsa, Swing, and Waltz
Determine the responsibilities of various
objects within an application by
assigning the roles of objects to students
and playing it out.
Stage popular algorithms such as sorting
algorithms and Binary Search.
The Poll applet implements voting for a school president. Students
enjoy choosing the candidates’ names and colors in this applet.
Fill in the blanks in the code for the Fortune Teller applet, adding
an array of “fortunes” (strings) and the statements necessary for
randomly choosing and displaying them.
Create a picture of your choice for the puzzle. For instance you can
draw circles, polygons, or letters of different sizes and colors that
intersect the grid.
Example 1: Rainbow
Example 2: Ramblecs
– “Fill-in-the-blanks” projects — most of the code is provided
– “Paint-by-number” projects — detailed instructions for each step are provided
– “Cut-and-paste” projects — reuse Java classes from previous projects in a new one
Fill in the blanks in the applet’s code, adding an array of a few
“fortunes” (strings) and the code to randomly choose and display one
of them. Recall that the static Math.random method returns a random
double value 0 x < 1.
– The teacher (or the textbook) supplies the “front end” (GUI, a.k.a. the “view” or the “view” + “controller”)
– The student supplies the “back end” (processing / calculations, a.k.a. the “model”)
(I think; I’ve already closed the PDF…)
Andy Sy posted a link to http://www.hyperdictionary.com .
I have printed out hard copies of some of the things I’m working on in
school. Time to see how useful binders really are…