Blogs

ACM SigPlan style with latex on ubuntu

These are just some notes on how I got the ACM sigplan class style working with LyX under Ubuntu.

  • Install class file
    • Download class file
    • Save in /usr/local/share/texmf/tex/latex/sigplanconf.cls (must be root)
    • Tell latex it’s there: sudo texhash
  • Reconfigure LyX
    • In Lyx, Tools->Reconfigure. Then restart LyX.
  • Open this LyX template

Strangely, after doing this (probably the texhash), my paper size changed to A4 from letter.

How to bypass voicemail prompts

David Pogue of the NYT has been tirelessly bugging cell phone companies to reduce the irritating messages that you must listen to before you can leave your friend a voicemail. Today, he posted some interesting instructions:

And I’ll admire you if you’ll re-record your own voice mail greeting so that it includes instructions for bypassing the carrier’s own recording: “Hi, it’s David.

New recipes posted

Theresa had a “cooking club” meeting at my house last week. She showed us how to eat Polish Borscht (I say that because she prepared it that day before). And she showed us how to cook Gołąbki. Both were delicious.

I’ve also posted one of my favorite The Pump Energy Food recipes, the Dionysus Plate. It’s light, fresh, and full of protein for you muscularnes out there.

Video and music with XBMC, Boxee, and Windows Media Center

Here’s what I do today. Mostly I’m running XBMC on Linux on a computer under the TV. I get TV shows via bittorrent — mostly documentaries from PBS. I also boot into Windows 7 so that I can watch streaming Netflix via Windows Media Center (which is built in to Win7). Unfortunately, I hate the music interface to WMC, so I use 2 programs.

I just tried the (closed) Boxee beta today. Someone figured out how to download the beta and posted it to bittorrent (see [1] below). Running on Win7, it searches all the various places to get media (such as Hulu.com and Netflix).

9 Gigabytes of Spam

I run my own mailserver, for better or for worse, and I use SpamAssassin to catch spam. For years I have been tucking it away in a folder. Guess how much was there? Give up? Nine gigabytes! Thanks, spammers!

Tomato 1.27 and Ubuntu Karmic

Curious thing some of you may run into. I tried to plug a Ubuntu Karmic 9.10 linux machine into my router running Tomato 1.27, but it failed. Turns out you need to disable IPv6, since Tomato does not support it.

Right click on NetworkManager panel applet.
Choose Edit Connections…
Choose “Audo eth1” (or whichever port)
Press “Edit”
Select IPv6 tab
Set Method to “Ignore”
Click Apply

LyX, Memoir, run-in headings

Here’s the magic code for your document settings -> LaTeX preamble to get run-in headings:

% makes 4-th level (SubSubSection) headings run-in
% page 154 of memoir manual
\setbeforesubsubsecskip{0ex}
\setsubsubsecindent{\parindent}
\setaftersubsubsecskip{-1ex}

What is a run-in heading? Normal headings are on their own line. Run-in headings have the text immediately following on the same line.

This is a heading
This is the body text that is in the paragraph. This is the body text that is in the paragraph. This is the body text that is in the paragraph.

LyX and Jurabib

I’m writing a book, so fussy things like getting references to appear right in the text have been occupying my time unexpectedly. I use the LyX document processor, which I really enjoy for writing long documents like my thesis and this book.

Here’s how to get nice reference to appear in the text like this (Smith, 1995).

Adding comments to PDF's -- free

My extensive research into the subject (i.e., googling for 30 seconds) has revealed that there are two free PDF readers (Win/Mac) that will let you add comments to PDF documents. I’ve tested them, and those comments can be seen when you open it up in other readers, like Adobe’s free reader.

Good to know if, like me, you plan to send out PDFs and hope to get comments back on them.

Chapter revision

Ok, so it doesn’t have the pizazz of a whole new chapter, but the chapter on architecture models has been seriously revamped. I changed the example that runs through the chapter and added several sections on views. But perhaps the most important change is that I packaged it better — frontmatter introduces the topic and sets expectations better, transitions are more effective at signposting, and the conclusion really is one and not just a summary.

It’s kind of nice to be back on book writing after taking a few months off to teach classes. Still, I hope to be doing some more classes soon.

Syndicate content