NEW: For a prettier blog interface, see the Wordpress version!
Headlines for Friday:
- Getting sound to work again (41 words)
- Emacs: Changing the font size on the fly (75 words)
- Emacs clinic at the Linux Caffe (336 words)
- Domain name (52 words)
Tasks
http://www.thinkvitamin.com/features/webapps/why-i-dont-use-social-software
http://www.danah.org/papers/FacebookAndPrivacy.html
http://www.aimpages.com/weneedanintern/profile.html
| A | X | Talk about research with Julie and Stephen |
| A | X | Blog about research proposal changes |
| A | X | Configure my kernel |
| A | X | Go to IBM |
| A | X | Ask Prof. Clement where to submit profile |
| A | X | Emacs clinic |
| A | X | Type up goals |
| A | X | Ping Craig Saila about mid-late September |
| A | C | Blog Power Within |
| B | C | @1200 Frank Dottori, Frosh Friday Seminar, SF1105 : E-Mail from ViceDean Undergrad |
Notes
1. Getting sound to work again: 01:20
Things to remember when setting up sound in Ubuntu Linux on a Sony Vaio U1:
- modprobe trident
- modprobe snd_trident
- Be very very thorough with alsamixer settings. For some brain-dead reason, all the important stuff is muted.
2. Emacs: Changing the font size on the fly: 09:14
I have a tiny laptop: 8.9" diagonally. With a 1024x768 pixels screen resolution, things can get *pretty* small. The following functions use the gnome-terminal-style shortcuts (Ctrl-plus, Ctrl-minus) to change the font size without the mouse:
(defun sacha/increase-font-size ()
(interactive)
(set-face-attribute 'default
nil
:height
(ceiling (* 1.10
(face-attribute 'default :height)))))
(defun sacha/decrease-font-size ()
(interactive)
(set-face-attribute 'default
nil
:height
(floor (* 0.9
(face-attribute 'default :height)))))
(global-set-key (kbd "C-+") 'sacha/increase-font-size)
(global-set-key (kbd "C--") 'sacha/decrease-font-size)
On Technorati: emacs, pimpmyemacs
3. Emacs clinic at the Linux Caffe: 20:35
Quinn Fung needed some help with Muse and RDF so that she could easily generate RSS feeds from Emacs, so we declared today to be Emacs Clinic day at the Linux Caffe.
We started by getting publishing to work. We then figured out how to get RDF to publish, and that was pretty okay too.
Quinn needed multiple authors, and muse-journal didn't support it yet, so we hacked it in. I told her to pick a syntax, and I added code to make it happen. It took us a while to track things down, but it turned out to be a reasonably easy addition. (I need to refactor that code sometime... that's a really long function!)
Along the way, we found a bug in muse-journal. Muse-journal summarizes entries by taking the first two sentences, but dies when the post doesn't contain at least two periods. I spent a fair bit of time tracing through the different changes we made before realizing that it wasn't my bug. I probably would've found it earlier, but debug-on-error wasn't getting honored. Odd. Anyway, here's the patch, which I'll submit to GNA when I get back into the swing of things:
--- orig/lisp/muse-journal.el
+++ mod/lisp/muse-journal.el
@@ -570,7 +570,9 @@
(let ((beg (point)))
(if (muse-style-element :summarize)
(progn
- (forward-sentence 2)
+ (condition-case err
+ (forward-sentence 2)
+ (error (goto-char (point-min))))
(setq desc (concat (buffer-substring beg (point)) "...")))
(save-restriction
(muse-publish-markup-buffer "rss-entry" "html")
Now Quinn's jumping feet-first into Lisp development by doing the Atom implementation. muse-atom does single-entry Atom files, but she can model it on muse-journal's RSS implementation.
I also helped Ian set up a very very basic Planner. It reminded me that I *really* need to package planner-bundle again, and either retire or update plannerlove. In fact, I need to set up scripts so that it's ridiculously easy to keep up to date...
I miss hacking on Emacs! This is fun. I'll reconfigure my kernel and get VPN working. Then I'll set up my Emacs development environment again...
On Technorati: emacs, pimpmyemacs
4. Domain name: 22:02
At some point in time, I think I should go for figuring out how to do my mail properly so that I can have sacha@sachachua.com on my outgoing mail. Jijo currently generously hosts my mail, but I should look into properly paying for it like the rest of the civilized world. <laugh>
E-mail sent
- E-mail to Jason Banico
- E-mail to Roger Yang
- E-mail to Michael Chan
- E-mail to Alex Sirota
- E-mail to Sy Ali
- E-mail to Jeffrey C. Berg
- E-mail to Ethan Perry
- E-mail to Andrew Clement
- E-mail to Jennifer Nolan
- E-mail to Sy Ali
- E-mail to Roger Yang
- E-mail to Shawn Pucknell
- E-mail to Syed Dilawar
- E-mail to Andrew Hessel
- E-mail to Andrew Cieszkowski
- E-mail to Carole St. Laurent, Gabriel Mansour
- E-mail to Carole St. Laurent
- E-mail to Himy Syed
- E-mail to Jamie McQuay
- E-mail to sacha
- E-mail to sacha
- E-mail to Joe Whitney
- E-mail to Jennifer Schachter
- E-mail to Joe Kim
- E-mail to Shiva Shahmohamed
- E-mail to Andrea Nagy
- E-mail to Joshua Meles
- E-mail to Greg Wilson
- E-mail to Xuan-Yen Van-Cao
- E-mail to Colin McGregor
- E-mail to Uma Chandran
- E-mail to Jason Banico
- E-mail to Alex Sirota
- E-mail to Sander A. Smith
- E-mail to Alan Hietala
- E-mail to Vincent Rallon
- E-mail to ILONA POSNER
- E-mail to Jane Zhang
- E-mail to Shengdong Zhao
- E-mail to Stephen Perelgut
- E-mail to Dan Howard
- E-mail to Roger Yang
- E-mail to Hugh Ranalli
- E-mail to Tarun Britto
- E-mail to Sambhavi Chandrashekar
I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at sacha@sachachua.com .