Muli Ben-Yehuda's journal

February 14, 2004

Filed under: Uncategorized — Muli Ben-Yehuda @ 12:37 AM

Rewrote ljablog.el’s main loop to be more lispish in nature. Sexy!

 
(defun ljablog-post () 
  "Post a ljablog entry to both livejournal and advogato."  
  (interactive) 
  (let 
    ((blogs 
      '((lj-compose lj-post) 
        (advogato-start-post advogato-save-post)))) 
    (progn 
      (mark-whole-buffer) 
      (copy-region-as-kill (point-min) (point-max)) 
      (mapcar 
        (lambda (x) 
          (funcall (car x)) 
          (end-of-buffer) 
          (yank) 
          (if ljablog-debug-do-post 
            (funcall (cadr x)))) 
    blogs)))) 

February 13, 2004

Filed under: Uncategorized — Muli Ben-Yehuda @ 10:47 PM

I decided to start posting blog entries to both livejournal and advogato. Since I post to both via The One True Editor anyway, it seemed only natural to write an elisp mode to post to both from. A few hours later, ljablog.el made its first appearance. Horribly hacky, but hey, if you’re reading this, it Works For Me…

Filed under: Uncategorized — Muli Ben-Yehuda @ 9:10 PM

testing unified blogging to advogato and livejournal via blog.el

February 11, 2004

Filed under: Uncategorized — Muli Ben-Yehuda @ 2:41 PM

advogato.el/advogato-el-let-user-specify-mozilla-profile-name-1.2-A1, a patch to advogato.el to allow the user to set his mozilla profile name. advogato.el uses the cookies file in the mozilla profile to dig up the advogato cookie. Without this patch, it fails if the user has a .mozilla profile but the profile name is neither the login name nor ‘default’. Example use:

 
;; posting to advogato 
(load-file "/home/muli/src/elisp/advogato.el") 
(defun advo-compose () 
  (interactive) 
  (advogato-start-post)) 
(setq advogato-mozilla-profile-name "whatever") 

February 8, 2004

Haifux logo

Filed under: Uncategorized — Muli Ben-Yehuda @ 9:45 AM

I have to admit, I didn’t vote for this logo. But the more I look at
it, the more it grows on me. Good job, Alon!

February 4, 2004

syscalltrack and s[yi]n promotions

Filed under: Uncategorized — Muli Ben-Yehuda @ 12:09 AM

Amir S. has been busy hacking on syscalltrack, including porting it to all of FreeBSD, NetBSD and OpenBSD. Awesome! He wants to make a new test release tomorrow (a year to the day since our last release). Watch this space…

I added a couple of syndicated feeds to livejournal in the last few days. The first is planetdebian, the collection of blogs of Debian developers, users and hangers-on (that would be me). The second is sikritinfo, the blog of Itamar Shtull-Trauring. Enjoy!

February 3, 2004

it’s the small things that make me happy

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:18 PM

I like emacs’s mode bar to be choke full of information. To that end, I have it display for example the battery status, and also the current date and time. By default (XEmacs 21.4.14), when showing the date and time, it also shows the “you have mail” icon. But since I don’t read mail on the laptop, here’s how to get rid of it:

 
;; prepare to show current time 
(defun prepare-and-display-time() 
  ;; no mail icon - I don't read mail on this box 
  (setq display-time-form-list '(date time load)) 
  ;; do show the day and date 
  (setq display-time-day-and-date t) 
  ;; turn it on 
  (display-time))

;; turn it on 
(prepare-and-display-time) 

Filed under: Uncategorized — Muli Ben-Yehuda @ 10:56 PM

What is up with Linux Journal? as soon as I cancel my subscription, they start having quality articles!

The Feb 2004 issue has a nice motivational piece on the LinuxBIOS project. Unfortunately, it doesn’t seem to be available on the web.

February 1, 2004

weekend musings

Filed under: Uncategorized — Muli Ben-Yehuda @ 1:39 AM

Hacking on shpte (shared page tables) now, after a long hiatus. Tonight’s loot is a brute-force forward port to 2.6.2-rc1, running under UML. Surprisingly enough, it boots and runs userspace with Tom’s rootboot root file system. I’ll try the debian root filesystem tomorrow, and then give it a spin on real hardware. Last time I worked on it, it didn’t even boot (l)userspace, so this is progress, of sorts.

Playing with orkut is fun, especially as new people I know keep joining. Two very useful features would be the ability to see when your friends add new friends (because many times friends of your friends are your friends as well – got that, Joe?) and the ability to see people’s RSS feeds. Because orkut to me is all about putting real people behind names, and what better way to get to know someone than read what they have to say? I better send this to feedback@orkut, me’thinks.

I finished reading rml’s Linux Kernel Development book. Overall, I liked it very much. It’s a great introduction, and I constantly recommend it to people who want to start kernel hacking. I do have a couple of nits to pick, mostly to do with the fact that it is overly simplistic at times and doesn’t mention the underline complexity of things. Kernel hacking is fun, true, but it’s also hard. Also, several of the structures had “comments” added to them which weren’t particularly instructive. Other than that, rock on, rml!

Ranny, ladypine’s officemate and our friend, went to the U.S. a couple of weeks ago to work with his thesis advisor who’s on a sabbatical. I gave him tea, the faithful thinkpad R30 laptop that serves as my main kernel crash box usually, for the trip. Today he stopped by and dropped off tea. He also brought me a bottle of 15 year old Glenmorangie Burgundy Wood Finish 15-year-old Single Malt Scotch Whisky. Tasted marvelous. Thanks, Ranny, and cheers!

Plans for next week: on Sunday and Monday Paul McKenney is visiting IBM HRL, on Monday evening choo will give Haifux the second part of an introductory talk talk on Linux drivers that I should attend, on Thursday there’s the developers meeting that Shachar is hosting in Herzliya, that I should attend as well. Also the usual stuff, work, study, hack, bla bla. Life is good 馃檪

« Previous Page

Blog at WordPress.com.