February 22, 2004

“Inventors Strut Stuff at Demo Show”

February 22, 2004 - Categories: -Uncategorized

From ACM Technews:

Dozens of high-tech innovations, ranging from small PCs to blogging tools
to “augmented reality” software, were spotlighted at the Demo conference in
Scottsdale, Ariz. Perhaps the most incredible product on display was Total
Immersion’s D’Fusion software, which uses Windows XP hardware to render …
http://www.acm.org/technews/articles/2004-6/0220f.html#item4

E-Mail from technews@hq.acm.org

“View From the Alpha Geek”

February 22, 2004 - Categories: -Uncategorized

From ACM Technews:

Programmer Rael Dornfest keeps track of IT innovation and innovators as
part of his job putting together O’Reilly & Associates’ Emerging Technology
Conferences. He says the key to understanding technology trends is to find
the trend-setters, or alpha geeks, that are widely recognized by their …
http://www.acm.org/technews/articles/2004-6/0220f.html#item10

E-Mail from technews@hq.acm.org

Fantastic news! Wonderful news! Excellent news!

February 22, 2004 - Categories: -Uncategorized

We get to postpone finals for juniors in CS161 to the normal time.
Wheee! I feel so much better now.

Of course, this gives us time to make really nasty tests… <evil
grin> CS students can expect lots of problem-solving, as we’re
_supposed_ to know this.

Exemptions for CS161

February 22, 2004 - Categories: -Uncategorized

No MIS student qualified for exemption.

CS161 Finals

February 22, 2004 - Categories: -Uncategorized

The following students are to take the CS161 final exam on Thursday.
They can e-mail me at sacha@free.net.ph to find out their pre-final
grade and what they need to score in order to attain a target letter
grade.

000100 Alindogan, John Marlon J. 4 BS MIS
000146 Ang, Lindsay Ritz T. 4 BS MIS
000257 Balagot, Julyett D. 4 BS MIS
000322 Bautista, Jose Miguel O. 4 BS MIS
000336 Baybay, Maria Margarita F. 4 BS MIS
000459 Cadelinia, Dwight Jr. M. 4 BS MIS
005011 Chan, Jacky T. 4 BS MIS
000612 Ching, James Henry Y. 4 BS MIS
000628 Chua, Aimee Lou T. 4 BS MIS
000822 De Claro, Ada Mae I. 4 BS MIS
000834 De Guzman, Myron Patrick S. 4 BS MIS
990791 Delfino, John Tristan S. 4 BS MIS
001191 Garcia, Miguel Jose A. 4 BS MIS
991211 Irigo, Justin A. 4 BS CS
001469 Kho, Krystle Ann G. 4 BS MIS
991571 Marchan, Allison Lilac S. 4 BS MIS
002032 Ong, Emmanuel I. 4 BS MIS
002050 Ong, Wendilyn Lou O. 4 BS MIS
992113 Sabilano, Jose Leonardo A. 4 BS MIS
981077 Sanchez, Patrick Philip R. 4 BS CS
002477 Santiago, Victor Roberto Manuel O. 4 BS MIS
002478 Santillan, Arthur A. 4 BS MIS
002536 Sembrano, Cyrus V. 4 BS MIS
002601 Songco, Marvin L. 4 BS MIS

YASD: Don’t cast sleep on the priest!

February 22, 2004 - Categories: -Uncategorized

Thought I’d help my pet baby green dragons out by casting sleep on the priest. This, apparently, is a Very Bad Idea.

Sample array code

February 22, 2004 - Categories: geek
import java.applet.*;
import java.awt.*;
import java.awt.event.*;

/**
 * Demo class for arrays
 * @author Sacha Chua (sacha@free.net.ph)
 * @date 22-Feb-2004
 */

public class ReallySimpleAddressBook extends Applet implements ActionListener
{
    private Button set;
    private Button show;
    private TextField index;
    private TextField name;
    private String names[];

    public void init()
    {
        names = new String[10];
        set = new Button("Set");
        show = new Button("Show");
        set.addActionListener(this);
        show.addActionListener(this);

        index = new TextField();
        name = new TextField();
        Label label1 = new Label("Index:");
        Label label2 = new Label("Name:");

        setLayout(new GridLayout(3, 2));
        add(label1);
        add(index);
        add(label2);
        add(name);
        add(set);
        add(show);

    }

    public void actionPerformed(ActionEvent e)
    {
        if (e.getSource() == set)
        {
            int i = Integer.parseInt(index.getText());
            names[i] = name.getText();
        }
        if (e.getSource() == show)
        {
            int i = Integer.parseInt(index.getText());
            name.setText(names[i]);
        }
    }
}

../../tmp/ReallySimpleAddressBook.java