NEW: For a prettier blog interface, see the Wordpress version!


Priorities - A: high, B: medium, C: low; Status - _: unfinished, X: finished, C: cancelled, P: pending, o: in progress, >: delegated. Covey quadrants - Q1 & Q3: urgent, Q1 & Q2: important
A1XFinish checking OS161 papers {{Tasks:480}} (E-Mail from Ariel Maguyon)
A2XReply {{Tasks:478}} (E-Mail from Danna Maye Enierga)
A3XAdd multiple categories to planner-rss-add-note {{Tasks:477}} (PlannerModeCompletedTasks)
A4XReply {{Tasks:476}} (E-Mail from rea talaboc)


13:30 14:00 Steven Ang and Kristhine Chan - CTC213
14:00 15:30 Jaeyoun, Raymong Ong - CTC213


5. Twiddler problem unsolved

Categories: None -- Permalink
Still getting
usb 1-1: new low speed USB device using address 7
ohci_hcd 0000:00:02.0: urb c1361c00 path 1 ep0out 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:02.0: urb c1361c00 path 1 ep0out 5ec20000 cc 5 --> status -110
usb 1-1: device not accepting address 7, error -110

from my kernel. That's with USB-OHCI support compiled in already.

4. Good idea for nethack.el

Categories: EmacsHacks#10 -- Permalink
From the Emacs channel:

kanaldrache: yes, therefor i want a mapping function ... take a picture of that level when you leave it so that you can chekc nine levels later "Mhh, where was that expensive shop? Level 4 or level 7?" without walking back or use you /oT

3. Checking planner-rss autocategories

Categories: PlannerMode#21 -- Permalink
I've added `planner-rss-category-feeds' to planner-rss. This examines the text of the note and copies it to different RSS feeds depending on the regular expression match. In the future, I might actually just run a lot of hooks on the thing.

If this works, I should have a new entry in


2. Geekiness

Categories: None -- Permalink
On's Geeks community, Joel said:

You're right. Geekiness is the state of wanting to know and understand everything. True Geeks can geek on any topic, after very little preparation.

Example: My degree is Chemistry, I work in computers, and I do theater tech/SF conventions/other cons/etc. on the side. My GF is a mechanincal engineer (and just as much a geek). I make her crazy sometimes because just talking about what she does at work I'll pick up enough about stuff (that she has a degree in and I don't) to make informed suggestions as to how to fix problems they're having.

This goes hand-in-hand with the state of "Being an Engineer". PEs will make you believe that it involves much training, experience, and certification. I claim that it is a state of mind, encompassing a certain level of geekiness, and a whole lot of logical problems solving.

1. nethack code to check if a character has something in the inventory

Categories: EmacsHacks#9 -- Permalink
(defvar nethack-temp-log nil "String containing captured messages.")

(defun nethack-has-item-p (regexp)
  "Return non-nil if the character has an item matching REGEXP in the inventory."
  (let ((nh-filter-hook (append (list 'nethack-store-log) nh-filter-hook))
        (nethack-temp-log nil))
    (nh-send-and-wait "inv 1")
    (nh-send nil)
    (string-match regexp nethack-temp-log)))

(defun nethack-store-log (string)
  (setq nethack-temp-log (concat nethack-temp-log string "\n")))

(defvar nh-filter-hook nil "Hook that is called with the received line.")

(defadvice nh-filter (around sacha activate)
  "Insert contents of STRING into the buffer associated with PROC.
Evaluate the buffer contents if we are looking at a prompt and then
delete the contents, perhaps logging the text."
  ;; insert output into process buffer
  (with-current-buffer (process-buffer proc)
    (goto-char (point-max))
    (insert string)
    (forward-line 0)
    (if (looking-at nh-prompt-regexp)
	(let ((prompt (match-string 1)))
          (nh-log (buffer-substring (point-min) (point)))
          (unless (run-hook-with-args-until-success 'nh-filter-hook (buffer-substring (point-min) (point)))
	    (eval-region (point-min) (point)))
	  (cond ((or (equal prompt "command")
		     (equal prompt "menu"))
		 (sit-for 0)
		 (setq nh-at-prompt t)))))))
Previous day | Next day

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 [email protected] .

Page: 2004.02.19
Updated: 2004-12-3021:38:3721:38:37+0800
NOTE: ANTI-SPAM MEASURE NOW IN PLACE. Please answer the following question with the right number in order to send me your comment.
What is two minus one? (hint: one ;) )