Teaching Computer Science: The Last Day

 
Space Invaders

On the last day of class, I gave students the code for a partially working Space Invaders game, along with instructions for adding collision detection and completing the implementation. The instructions didn’t leave too much to the imagination because I wanted to give everyone a chance to finish out the year on a successful note. I estimated it to be about a 30-minute activity. It didn’t occur to me that that students would do anything but finish the program and spend whatever time was left over blasting aliens.

What they actually did was, they finished the program, tweaked the firing interval so they could shoot faster, changed the speed of the sprites, added more aliens, changed the program to shoot two bullets at a time instead of one, changed the program to shoot five bullets at a time, enabled the aliens to drop bombs, had the game recognize that when the alien count gets to zero, it should stop and write You Won or Game Over, switched the image files to cooler looking spaceships and missiles . . . one student changed the alien image to a picture of my dog (available from a previous assignment), pugs from outer space.

So when I say that we couldn’t have had a better group of students, that’s the kind of thing I’m talking about. They exceeded expectations on all metrics. I wish I could have thanked each of them individually for their unique contributions to the class.

Programming is what I do, it’s been a big part of my life for a long time. I’m glad to have had the opportunity to share it and I’m sad that it’s ending . . .

Summer Triptych

 

1.
The world is water
to these bronzed boys
on their surfboards,
riding the sexual waves
of Maui
like so many fearless
cowboys, challenging
death on bucking
broncos of foam.

2.
On the beach at Santorini
we ate those tiny silverfish
grilled straight from the sea,
and when the sun went down
in the flaming west
there was applause
from all the sated diners,
as if it had done its acrobatic plunge
just for them.

3.
Swathed from head to toe
in seeming veils of muslin,
the figure in the Nantucket fog
poles along the shoreline on a flat barge.
It could be Charon transporting souls
across the River Styx, or just
another fisherman in a hoodie,
trolling for bluefish
on the outgoing tide.

— Linda Pastan, “Summer Triptych”
Ho'okipa Beach Surfing Maui
Ho’okipa Beach Surfing Maui 

The Bamboo Ceiling

 

Michael Wang had a 4.67 GPA and a perfect ACT score. He placed first in the state of California at the AMC 12 – a nationwide mathematics competition. He performed with the San Francisco opera company, and sang in a choir that performed at Barack Obama’s first inauguration. He volunteered his free time to tutor underprivileged children.

He applied to seven Ivy League schools and was rejected by all seven.

I saw recently that a local kid from Fullerton High School here in Orange County was accepted at all eight Ivy League Schools. His name is Fernando Rojas.

Fernando Rojas

Here’s another young man, Harold Ekeh, who was also accepted at all eight Ivy League schools:

Harold Ekeh

Last year, Kwasi Enin was accepted at all eight Ivy League schools:

Kwasi Enin

A study by Princeton sociologist Thomas Espenshade examined applicants to top colleges from 1997, when the maximum SAT score was 1600 (today it’s 2400). Espenshade found that Asian-Americans needed a 1550 SAT to have an equal chance of getting into an elite college as white students with a 1410 or black students with an 1100. I suspect that disparity has, if anything, widened.

If you’re Asian and applying to Ivy League schools, don’t hesitate to check the box next to “Black” or “Hispanic.” Or Eskimo. Eskimos are kind of Asian-looking.

Aedh Wishes for the Cloths of Heaven

 

William Butler Yeats

Had I the heavens’ embroidered cloths,
Enwrought with golden and silver light,
The blue and the dim and the dark cloths
Of night and light and the half light,
I would spread the cloths under your feet:
But I, being poor, have only my dreams;
I have spread my dreams under your feet;
Tread softly because you tread on my dreams.

— W. B. Yeats, “Aedh Wishes for the Cloths of Heaven”

My 2nd Favorite Hockey Team

 
Lightning at the Dog Park

Hi, everybody! It’s me, Lightning!

I’m sad today because the Ducks lost. The Ducks are my favorite hockey team. I like to watch hockey games on TV with my owner because even though I’m old and I can’t see anymore I like the sounds of the skates and the pucks and the sticks.

My second favorite hockey team is the Lightning. I hope they win the Stanley Cup. I like to watch Lightning games because the TV says “… blah blah blah Lightning blah blah blah Lightning blah blah blah Lightning …”

— Lightning paw

Aside

I try to stay unimpressed by that which is unimpressive, as a result of which I get into a lot of arguments . . .

Is Dignity an Obstacle to Success?

 

Sometimes life requires that we take jobs below our station until we learn skills, offer apologies even when we are wronged, suck-up to power when necessary, work long hours when we “deserve” some rest, risk embarrassment in front of witnesses, risk failure and humiliation, and get rejected by the people we hope to love. In that sort of game, the player unburdened with human dignity usually wins.

Are the Viet Cong Still in Those Tunnels?

 
Cu Chi tunnels

The tunnels of Cu Chi are an immense network of connecting underground tunnels located in the Cu Chi district of Ho Chi Minh City (Saigon), Vietnam, and are part of a much larger network of tunnels that underlie much of the country. The Cu Chi tunnels were the location of several military campaigns during the Vietnam War, and were the Viet Cong’s base of operations for the Tet Offensive in 1968.

Wikipedia

The tunnels are now a popular tourist attraction. My son and seven of his friends are currently on a post-graduation trip to Southeast Asia. Here’s a picture of him in the tunnels.

There were Japanese soldiers hiding out on Pacific islands for decades after World War II. They never heard the war was over. Is there any chance there are still Viet Cong in those tunnels? I think I see one over his shoulder . . .

I Will Show You How a Pug Eats an Ice Cream Cone

 

Hi everybody! It’s me, Lightning!

There’s a funny video of dogs eating ice cream on the internet:

[youtube https://youtu.be/tHvExOg4NI0]

The puggle on the left is an embarrassment! What kind of dog eats ice cream like that? She would not last one day in the wild! Do beagles eat ice cream like that?

I am old and I can’t even see anymore so if there’s something in front of me I can’t tell what size or shape it is but when I decide that it’s edible I CHOMP on it!

[youtube https://youtu.be/27pAiQuWYqw]

— Lightning paw

Berkeley Commencement 2015 (Photos)

 

Who Do They Think They Are?

 

If you disagree with these religious groups on a particular moral issue, they complain, they threaten you with a loss of money or votes or both. I’m frankly sick and tired of the political preachers across this country telling me as a citizen that if I want to be a moral person, I must believe in A, B, C, and D. Just who do they think they are? And from where do they presume to claim the right to dictate their moral beliefs to me?

Barry Goldwater, 1981

Now What?

 
Sather Tower (the Campanile) looking out over ...

We’re in Berkeley for Casey’s graduation tomorrow . . . we got a text from him earlier this week saying “I just took my last two college exams.” Thus ends a journey that began 17 years ago on the first day of kindergarten, which I feel like I remember too vividly for it to have been 17 years ago, but it was.

Now what? I don’t mean for him . . . he’s got a job lined up in San Francisco. I mean for me. I’ve had the milestone birthdays — the ones where your age ends in zero — that seem to depress a lot of people . . . they didn’t bother me at all. But my boy becoming an independent person in the world is really disorienting me . . .