Boring But Useful Post: Printing to BYU Printers from Linux

BYU uses the Pharos print system around campus. Unfortunately, there doesn’t seem to be direct Linux support for Pharos. But linuxers are in luck, because it is still possible to print to the campus printers.

On Ubuntu 9.10 I did the following:

  1. Opened http://localhost:631/ in Firefox (not Chrome — this didn’t work for some reason)
  2. Clicked “Adding Printers and Classes”
  3. Clicked “Add Printer”
  4. Entered my regular username and password when prompted
  5. On the “Add Printer” page, selected “LPD/LPR Host or Printer” and clicked “Continue”
  6. In the “Connection” field, entered “lpd://USERNAME@isis.byu.edu/CampusBW” where USERNAME is my Route Y login (NetID)
  7. Clicked “Continue”
  8. Entered a name of “CampusBW” and an appropriate description and location, then clicked “Continue” again
  9. From the list next to “Make:” I chose “Generic” and clicked “Continue”
  10. From the list next to “Model:” I chose “Generic Postscript Printer (en)” and clicked “Add Printer”
  11. I don’t know if this is strictly necessary, but I clicked the “Query Printer for Default Options” button on the next page. It may or may not have actually worked.
  12. Last of all, under the “Maintenance” dropdown I chose “Print Test Page”. Then when I swiped my card at the Pharos kiosk, the test page showed up, ready to print.

I hope somebody out there in the vast recesses of the Internet finds this information somehow useful.

Posted in comp/tech | Leave a comment

Fall Semester

I blame my lack of blogging in recent months on being busy with my first semester of graduate school. In the interim before I start the next semester, I want to let you — oh loyal reader — know what was going on in my life during that time.

1. Per my stake president’s counsel given more than a year ago and which I sadly only barely got around to heeding, this semester I went on a date a week. This was a fabulous experience. Going on more frequent dates made me less nervous about going on any particular date. It gave me more opportunities to get to know some really amazing girls. I’m often amazed at how such excellent girls are willing to give me some of their time. It’s been a pleasure learning about them and getting better at letting them learn about me.

2. I worked really, really hard doing data mining for the BYU bookstore as part of a class project. I got to be really passionate about this, as boring as it might sound on the surface. The bookstore gave my group a large amount of sales data from their website over nearly the past decade. Our task was to turn that dry data into actionable knowledge about the bookstore’s customers. That challenge is somewhat akin to an archaeologist being trying to reconstruct the daily lives, beliefs, and values of an entire civilization given a site full of pot shards and millennia-old garbage. The only way to make the bookstore data really useful, it seemed to me, was to leverage every possible datasource in existence. To that end, I augmented the bookstore data with the following datasources:

I also worked on using weather data to determine what the weather was like at the place and time an order originated from, but this was too time-consuming so I had to drop it. Yet I still think it would be interesting to see what correlations you would find between weather conditions and people’s desire to shop online. If the NOAA would make their historical observation and model data available via their web services this would be trivial.

Anyway, our final report is here. It’s not the best-written thing, but the pictures are at least interesting!

3. I kept up a fairly full schedule with my dinner group, poetry club, Institute classes, some running, tennis, one game of racquetball, hiking, camping, helping at a school, playing trombone in a pit orchestra, occasional family history research (that has certainly suffered since returning to school), reading about all kinds of random things in the library, and generally being really bad at replying to phonecalls.

Overall it’s been a really happy time. School’s stress has usually been manageable, the projects and homework often enjoyable, and the material just plain cool. Dating, for perhaps the first time in my life, became more enjoyable than overwhelming. Things unmanageable became manageable because there was usually somebody to talk to when life was perplexing me. My bishop has provided sound counsel and inspired blessings, helping me feel more connected to God by means of one of his servants. And, as if things couldn’t get any better, the price of cheese went down, small children kept on bravely facing the world, and the sun returned from its absence every day. Boy, life is good!

Posted in everything else | 4 Comments

What Will Become?

So there’s this girl
who
thinks she’s no
good because she’s
like
me and you
you know
she makes mistakes
does not
nice things
does good
things for wrong reasons
in other words
she’s amazing, just
not perfect

I wish she could see
wish she could feel
wish that she
would stop hurting
herself
but remember how
I said she’s just like us?
what if we
don’t love ourselves either?
just like you and me
so where’s the higher ground?
I really want to lift her up
I need some
higher ground
need some

What will become
of the Devil
when we all
learn to love
all learn that
God loves us for a reason?
What will become?

Posted in poetry | 2 Comments

Dinner on 19 October 2009

Tonight for my dinner group I cooked an assortment of dishes:

1. Greek-inspired beef. I bought several pounds of roast for something like 5 dollars, sliced it into long strips, and cooked it along with fresh parsley, tomatoes, fresh spinach, red wine vinegar, soy sauce, tomato paste, a little bit of hot hungarian paprika (which I got from David a long time ago — thanks, Dave!) and — added last to prevent melting and dissolving — crumbled feta cheese.

2. Pilaf. I simmered 3 cups of rice in about 1/4 cup of butter until many grains of rice turned clear and some had been browned. Then I cooked the rice in 6 cups of water, just like I normally cook rice except with added chicken bouillon powder. Because I didn’t put a lid on it I had to add a bit more water later to let the rice get soft enough. Then I added a bit of turmeric and some little bits of carrot (which this photo from Wikipedia reminded me David used to put in his plov, which is the Russian analog to pilaf) and some leftover bits of parsley.

3. Beets and beet greens. I washed three whole beets and chopped the greens off. In one little pot I boiled the actual beets, and in another little pot I boiled the greens. The beets took a little while to soften up — maybe 60 to 90 minutes (I wasn’t really paying attention.)  I thought the beets and greens were all fabulous as they were, but those who didn’t grow up on such delights might like the beets better with butter and the greens better with salt.

Posted in cooking | 1 Comment

Real, or Ideal? OR What To Name A Post When No Cohesive Theme Binds It Together

1. Academia

Last night I went to the “Evening for New Graduate Students” at BYU (which was actually secretly or not-so-secretly open to all graduate students — note for next year :-) ). President Samuelson spoke first. During that short talk and during his devotional address on Tuesday, I had the feeling that I have really undervalued President Samuelson’s ideas in the past. Maybe that’s because he doesn’t have the sort of voice you might hear on TV or the radio. The last part of the program was a speech by Dr. Wynn Sterling, Dean of Graduate Studies. He presented a very exciting view of grad school and the potential to become involved to a greater degree in mankind’s quest for knowledge. He encouraged us to engage in that pursuit, even to the point of disagreeing with our advisors and their colleagues. (This seemed promising for me, since I can never seem to keep my mouth shut at lab meetings, colloquiums, and thesis defenses….)

Dr. Sterling’s view of graduate school was idealistic. It contrasts with another common vision of the graduate experience: the realistic. This is the viewpoint of the likes of PHD comics and the satirical essay How to Publish a Scientific Comment in 1 2 3 Easy Steps (which I discovered via Greg Mankiw’s blog). It also seems to be confirmed by the extreme frustration felt by some of my friends in their master’s programs.

I do not accuse Dr. Sterling of any sort of blindness or naiveté when I say that his vision is idealistic. In fact, I like to think that he presented an idealist vision as a sort of counterpoint to the difficulties and even cynicism that often afflict grad students.

2. Opinion Leaders?

When the media announce a new trend in public opinion, I often respond skeptically, asking whether their report is cause or effect. Can data-based analysis determine whether this is just paranoia or if there are some instances of the media leading rather than merely reporting public opinion (not including editorial and opinion page articles)? Most recently articles like this on rising skepticism about the mission in Afghanistan have reminded me of this question.

3. Bathwater

Two retrospectives on the economists’ role in the financial crisis:

The two articles paint eerily similar and yet vitally different pictures. Largely, Eichengreen blames the crisis on selective reading and self-serving interpretation of free market economics. Krugman blames an idealistic romance with the neo-neoclassical economics that arose after Keynesianism faded. Eichengreen suggests that the future holds a prominent place for empirical economics research. Krugman highlights behavioral economics and hopes for a Keynesian renaissance.

Krugman’s paper is well-crafted, but I think Eichengreen’s is a better portrayal of reality. Maybe that’s my free-marketeer self speaking. But I just can’t help thinking there’s a baby sitting in the economic bathwater that people are dumping out their windows these days. The ideas I learned in my economics classes were not empty — they were just idealized. To abandon them wholesale now reminds me of the ideologically-motivated cataclysms that Chomsky led linguistics through every decade or so. To put it another way, while relativistic physics explained major gaps in the Newtonian model, it didn’t keep Newtonian physics from being a good-enough description of the world for most purposes. Newton wasn’t wrong so much as he was incomplete.

But it’s Eichengreen’s focus on empiricism that really wins me over. We live in an age of data: vast — almost incomprehensibly huge — stores of data waiting to be utilized. Actually making use of it is at once one of the greatest challenges and one of the greatest opportunities of our time. (I believed that even before my two weeks in a class about data mining.) These huge amounts of data give us an opportunity to reason inductively more than ever before, whereas past models of reality relied on a small number of unproven fundamental tenets (“axioms”, “theorems”, “laws”) from which a theoretical structure was assembled by means of deductive reasoning. While these deductive systems are very powerful in addition to having much the same elegance as mathematics (an aesthetic appeal not to be underestimated), they build a very large superstructure atop a relatively small foundation. Any cracks in the foundation can threaten the whole system.

In a way the tension between fact and theory mirrors the idealism/realism contrast mentioned earlier. Humans seem to have a cognitive bias in favor of uniform explanations of phenomena, giving fuel to idealistic theories. Linguists face a similar crisis of empiricism versus theory; sadly(?) there won’t likely be a linguistic analog to global economic catastrophe to shake their academic confidence and encourage a reassessment (Tower of Babel 2: Confoundations ?)

4. Why Are Academic Disciplines Polypolistic?

Or rather, when will disciplines rely less upon a small number of arbiters of what is or isn’t “credible scholarship”? Instead of a few important journals, couldn’t much of the discussion occur right here in the blogosphere? Are scholars really so ill-mannered that they can’t carry out their debates in real time before a world audience just like the open source hackers and the Wikipedians? Even the U.S. Congress seems transparent when compared to some of the academic oligarchies.

Had economics been democratized, in a sense, would it have been less susceptible to the sort of groupthink that seemingly got it into trouble? Or would it just have been a different type of groupthink? How do you kill the echo chamber without simply gagging everybody?

Speaking of open scholarly discourse, I now wish to present a(n) hypothesis [indefinite article parenthesized for correctness in certain British Commonwealth nations {hint: it's not Fiji.}]:

5. A(n) Hypothesis

I hypothesize that music modeling will encounter much less of a data sparseness problem than word-level language modeling. This issue came up in a PhD thesis proposal I attended today, and it made me think: though I agree that music and human language are similar in many ways, music seems more closely analogous to the character-level or phonological properties of language, rather than to its word-level, syntactic properties. In other words, a phoneme trigram model’s entropy will be much closer to a note trigram model’s entropy than to a word trigram model’s entropy. Does that even make sense? And, is it correct?

6. Terminus

And so it ends. 10 bonus points if you read this.

Posted in information theory, research | Leave a comment