Wednesday, October 28, 2009

Conan: Age of Volta



Playing retro games tonight.

I had forgotten the noise the Apple II made when it booted. Fun.

Saturday, October 24, 2009

Ethical Problems in Computer Engineering (1965)

A book I want to read:

http://eureka.lib.csus.edu.proxy.lib.csus.edu/record=b1242250~S35

Author American Society for Engineering Education. Ethics Committee
Title Ethical problems in engineering, by Philip L. Alger, N.A. Christensen [and] Sterling P. Olmsted. Edited by Barrington S. Havens and John A. Miller
Publisher New York, J. Wiley [1965]

Tuesday, October 20, 2009

Computer Science Topic Generator

At least I will not have to worry about how to pick out my computer science thesis topic:

http://www.cs.purdue.edu/homes/dec/essay.topic.generator.html

  • A meta-level functional architecture related to a high-level secure preprocessor
  • A high-level digital network for a high-level mobile theorem prover
  • A parallel secure system derived from a synchronized binary architecture
and so forth. Excellent.

Monday, October 19, 2009

Duck Confit

Somehow in about two weeks I have to learn how to make duck confit.

Necessity is the mother of invention.

What I have learned so far:
  1. Frozen duck is expensive; fresh duck is probably more expensive.

  2. Several local poultry locations in Sacramento may carry duck; the downtown farmer's market may also carry duck meat. Or the Asian markets. Raley's and Wholefoods carry frozen duck.

  3. It takes rendered duck fat to make duck confit. A lot of rendered duck fat; about one pound of fat per cup of rendered fat. Good to know! Rendered duck fat is expensive to buy; about $10 per half-pound. :P Unrendered duck fat runs about $10 for 5 lbs.

  4. I will probably want to have on-hand: metal strainer; candy/deep-fry thermometer; covered baking dish

  5. It will take time to make: (1) 36 hours to salt cure the meat; (2) anywhere from 1.5-7 hours to bake; (3) curing time in the fat; (4) reheating time prior to serving.
Looking like too much for me to bite off right now; the rendered duck fat is too much. Maybe a roast duck instead, and reserve the duck fat for another occasion.

UPDATE: This person may have saved the day:

http://www.youtube.com/watch?v=fwpwqtmKcgc
http://www.youtube.com/watch?v=714ifZ-Kgnw

Not traditional by any means (not cured; not poached in rendered duck fat; not cured in fat); but for I bet it approaches the quality of duck confit without quite the cost and ingredient sourcing involved with the rendered duck fat.

UPDATE:
  • The Sacramento Farmer's Market sells "Beef, Pork, Chicken, Fish. No duck or lamb."

  • Corti Brothers sells frozen duck for $5/lb. They sell rendered duck fat, 7 ounces for $8.50

  • New American Poultry sells frozen duck legs and breasts for $3/lb. They sell frozen ducks for $2/lb. They do not sell rendered duck fat.

Graduate School: Spring 2011

When I last checked in with Dr. Cui Zhang, CSUS computer science department graduate program adviser, we dusted off my graduate school transcript and determined I had one or two classes to retake. This afternoon, I checked in with her again and reviewed my progress.

The bad news is from the cursory analysis she picked out several other classes she suggested I retake. The good news is she seemed upbeat about me getting A's in the two classes I am retaking. She suggested I consider taking four classes:
  1. CSC 60 - Intro System Program Unix (3 Units)

    • Spring 2010 TR 1:30-2:45 p.m. (Chung Wang)

  2. CSC 132 - Computing Theory (3 Units)

    • Spring 2010 TR 4:00-5:15 p.m. (Meiliu Lu)

  3. CSC 139 - Operating System Principles (3 Units)

    • Spring 2010 MW 5:30-6:45 p.m. (Senad Busovaca)

  4. STAT 50 - Intro Probability+Stat (4 Units, gulp)

    • Spring 2010 MWF 4:00-5:10 p.m. ("Staff")
She said the Los Rios Community College system does not offer the statistics class, so I would need to take Math 50 through CSUS. She suggested I not retake courses in calculus (I guess not as big a deal for CSUS computer science grad students as I thought). I am tempted to take them again anyway, though, as my memory of the subject is rusty and I think it would help me with my GRE.

She seemed relieved when I told her I was considering entering in Spring 2011. The current deadline for Fall 2010 enrollment is mid-November. Some other random notes:
  • The CSC department assigns grad students to an adviser based on last name, after they become fully classified (all entrance requirements met).

  • There is no such thing as an unclassified graduate student any longer. Everyone is either conditionally classified or fully classified.

  • Graduate students may choose either a thesis or a project. It is student-dependent, and not something to really think about until the student approaches advancement to candidacy.

  • Once a student advances to candidacy (begins working full time on the final project/thesis), the student gets to pick their own faculty supervisor. This may be different than the adviser they were assigned when they became fully classified.
So, a mixture of good news and bad news. To put a positive spin on it, I will be stronger for taking these classes over again.

UPDATE: CSC 60 is also ARC CISP 453, MW 10:30-11:50 a.m., and Lab from 12:00-1:20 p.m.

Radio Songs

Heard on KYDS, 91.5:

Calgary, Alberta-based Tegan and Sara's "Monday Monday Monday" from their 2003 album, "If It Was You," on the Vapor/Sanctuary label. Video.

Sunday, October 18, 2009

CSUS CSC 130 First Midterm Exam Grades

The first midterm grades from my class this semester are in; it was a bloodbath:

Section One Section Two
80+ 3 3
70-79 3 3
60-69 7 5
50-59 11 9
49- 7 6
Average 58.81 59.62
Standard Deviation 12.84 15.48

Maximum possible points were 100. Out of 57 test takers: 6 earned better than a B (11%); 6 earned a C (11%); 12 earned a D (21%); and 33 earned an F (58%). The test counts for 15% of the final grade.

To repeat: 60% failed using a scale of 90+ = A, 80-90 = B, and so forth.

Saturday, October 17, 2009

Unicode to the Windows Console

Spent a lot of time refreshing my memory of Unicode this evening, trying to figure out how to get Unicode in Java to appear properly in the Windows console.

Apparently, native calls to the Windows subsystem are suggested as the best way, but how can this be a good thing for a write-once, run-anywhere language?

Running "chcp 65001" to select the Unicode code page for the console, and then executing the Java code as "java -Dfile.encoding=UTF-8 class" barfs all over my screen. The Unicode character I want to print comes out OK, but the rest seems broken.

UPDATE:

Apparently this works:

System.console().writer().print("\u2591");
System.console().writer().flush();

UPDATE #2:

OK, this only works for code page #437. o_O Time to call it a night. Will attempt to print my character tomorrow: http://www.fileformat.info/info/unicode/char/2591/index.htm

UPDATE #3:

This link was informative: http://stackoverflow.com/questions/1272032/java-utf-8-strange-behaviour . Perhaps it is because I am encoding some values and not others?

I Heart Java Debugger

I love it, I hate it. OK, I love it!

So far so good. Once I got past the weird quirk with the java compiler not overwriting already compiled classes with debugging information. :P

Java Debugger is Dumb

Took me about 15 minutes to realize the java bytecode compiler was not overwriting all my class files when I compiled with debugging information (-g) turned on.

Removing all the class files, then recompiling worked.

Monday, October 05, 2009

2009 Vision Exam

My last eye exam was in May, 2008. Today I had new results:

SRX (Spectacle Prescription)
O.D. (Oculus Dexter, my right eye):
  1. SPH: -0.75
  2. CYL: +1.00
  3. AXIS: 170
O.S. (Oculus Sinister, my left eye):
  1. SPH: -0.75
  2. CYL: +0.50
  3. AXIS: 178
Instead of the eye puff, they used a puff-less, more accurate measurement to test my eye pressure, which turned out to be 15. I asked what abnormal eye pressure would be, and she said borderline high is 22, and low would be around 4, I think.

I went in today because I have been having intermittent vision issues, which after consultation seem to be...migraines. I have never had them before, so apparently they affect vision pretty severely.