nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: 201 very sleepy
http://nvcc-fitton-csc.blogspot.com/2009/04/201-very-sleepy.html
Thursday, April 23, 2009. You can put your program to sleep. Try { Thread.currentThread().sleep(millis); } catch (InterruptedException e) { System.out.println("Error sleeping"); }. This code is seen in StdDraw. Why put the program to sleep? For animation: otherwise, it might move too fast. If you have a sequence of instructions, possibly in a loop, that you want to execute more slowly so you can admire your work at a humane pace, put a few milliseconds of sleep-time between them. DrJava IDE, date 8/28.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: 201 final project with random numbers
http://nvcc-fitton-csc.blogspot.com/2009/05/201-final-project-with-random-numbers.html
Sunday, May 3, 2009. 201 final project with random numbers. Subscribe to: Post Comments (Atom). SkelCL (does not exist) (yet). DrJava IDE, date 8/28. Latest Java SE JDK here. Fitton NVCC home page. OLD Skeletons 1 and 2.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: You're invited to outer space
http://nvcc-fitton-csc.blogspot.com/2009/03/youre-invited-to-outer-space.html
Wednesday, March 4, 2009. You're invited to outer space. Ah, the final frontier, at last! The American Astronautical Society. Is having its annual Goddard Memorial Symposium, which takes place in Greenbelt, Maryland on Tuesday – Thursday, March 10 – 12, and you're invited. Just $30 for students — it's a steal! This year's theme is sustainable space exploration. See the student rate at the very end of the registration form. Subscribe to: Post Comments (Atom). SkelCL (does not exist) (yet).
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: Graphics links
http://nvcc-fitton-csc.blogspot.com/2009/03/graphics-links.html
Friday, March 20, 2009. Last fall I found these super math references for computer graphics, one from the University of Waterloo. In Ontario and another from SIGGRAPH. A subset of the Association for Computing Machinery, the professional organization for computer scientists. We'll be using matrix math to move some pictures around on the screen, and the math is described in these documents. In case you don't have a calculator with matrix ops at hand, try this IT-84 calculator emulator.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: 201 how to read Tri data
http://nvcc-fitton-csc.blogspot.com/2009/04/201-how-to-read-tri-data.html
Friday, April 24, 2009. 201 how to read Tri data. The best mechanism I have found for reading the characters 'P', 'S', etc. in the data file is this:. Examine the first character of the string with String.charAt(0). Which looks at the first character stored with the string. Then, for characters 'S', 'T', and 'R', use a switch. One could also try various compare. Methods of the String class, but life is short. And switch. Oh, and here's a program to demonstrate: click. Subscribe to: Post Comments (Atom).
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: Week 12 (?): more complex builds and automating builds, part 1
http://nvcc-fitton-csc.blogspot.com/2009/04/week-12-more-complex-builds-and.html
Monday, April 6, 2009. More complex builds and automating builds, part 1. Ordinarily, Java programs have many more parts than ours have had, with separate source files for whole groups of methods. Out of the experience of those who came before us comes a standard hierarchical system of organizing the many files and directories that make part of a big project. Then building and rebuilding from source code becomes more involved, and we're going to look at methods for doing that, too. Linux make for C.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: Week 11: matrix operations
http://nvcc-fitton-csc.blogspot.com/2009/03/week-11-matrix-operations.html
Monday, March 30, 2009. Week 11: matrix operations. Today in the lab we write a proram to multiply matrices. To make it interesting, these matrix multiplications are carrying out affine transformations. Very much used in graphics programming, as discussed in class last week. Here's code for an interface. It would be a good idea to check your caluclations using a calculator that can handle matrix multiplication. Subscribe to: Post Comments (Atom). SkelCL (does not exist) (yet). DrJava IDE, date 8/28.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: Week 9: make a web page so we can put Java code online
http://nvcc-fitton-csc.blogspot.com/2009/03/week-9-make-web-page-so-we-can-put-java.html
Monday, March 16, 2009. Week 9: make a web page so we can put Java code online. Here's Sun's starter applet. Which says Hello, naturally. Here are simple web pages zero. That I wrote so that you can do View Source in the browser menu and see some simple HTML. And on an old weblog that I wrote for another class, you can find all sorts of how-to: look in the neighborhood of January and February of 2008. One how-to that will be especially helpful is on uploading. To the student web space.
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: a blast from the past
http://nvcc-fitton-csc.blogspot.com/2009/04/blast-from-past.html
Saturday, April 25, 2009. A blast from the past. Student GW sent me a link a few weeks ago about how to build one's own Linux distro. I took my time before reading it because the site Lifehacker.com. Is such a honey trap for me: I can waste hours reading about how to become more efficient. What I did on that occasion was look at all the Linux articles for the past 30 days. That took about two hours. And I ran into a picture of my second computer. Wow! Subscribe to: Post Comments (Atom).
nvcc-fitton-csc.blogspot.com
NVCC Fitton CSC: 201 my sample Tri program
http://nvcc-fitton-csc.blogspot.com/2009/04/201-my-sample-tri-program.html
Saturday, April 25, 2009. 201 my sample Tri program. This is a jar file. That should work with any data set created by TriData.class. Run it like this:. Java -jar Tri.jar. You seem to have been very busy. Thanks, Clarence. April 25, 2009 at 10:32 AM. Subscribe to: Post Comments (Atom). SkelCL (does not exist) (yet). DrJava IDE, date 8/28. Latest Java SE JDK here. Fitton NVCC home page. OLD Skeletons 1 and 2.