- On the joys of posting random notes 23:42
- Trackback implementation for Emacs 23:40
- Ching's office address 23:10
- ARGH! Drying clothes! 21:21
- Tentative Osaka plans 21:19
- First day 20:50
- Training so far 13:11
- Yesterday 00:38
9. On the joys of posting random notes: 23:42
8. Trackback implementation for Emacs: 23:40
This will be put into nnrss.el or weblogger.el, but, for now, here is an implementation of trackback.
(defun tb-find-tb-url (url &optional local) "Find the track-back URL for a resource." (with-temp-buffer (let* (xmlform htmlform) ;; bit o' work necessary for w3 pre-cvs and post-cvs (if local (let ((coding-system-for-read 'binary)) (insert-file-contents url)) (mm-url-insert url))) (when (re-search-forward "" nil t) (let ((rdf-end (match-end 0))) (goto-char rdf-start) (re-search-forward "trackback:ping=\"\\([^\"]+\\)" rdf-end) (match-string-no-properties 1))))))) (defun tb-get-trackback (url) "Get who's tb-ed an entry." (let ((tb-url (tb-find-tb-url url))) (when (not tb-url) (error "No trackback URL found at %s" url)) (w3-fetch (concat tb-url "?__mode=rss")))) (defun tb-send-trackback (url data &optional no-seek) "Send a trackback." (let ((tb-url (tb-find-tb-url url))) (when (and (not no-seek) (not tb-url)) (error "No trackback URL found at %s" url)) (let* ((enctype "multipart/form-data") (query (w3-encode-multipart/form-data data)) (url-request-method "POST") (url-request-data (cdr query)) (url-request-extra-headers (cons (cons "Content-type" (concat enctype "; boundary=\"" (substring (car query) 2 nil) "\"")) url-request-extra-headers))) (w3-fetch (or tb-url url))))) (defun w3-encode-multipart/form-data (items) ;; Create a multipart form submission. ;; Returns a cons of two strings. Car is the separator used. ;; cdr is the body of the MIME message." (let ((separator (format-time-string "--separator-%Y%j%H%M%S-for-www-form-data"))) (cons separator (concat (mapconcat (function (lambda (item) (w3-form-encode-make-mime-part (car item) (cdr item) separator))) items "\r\n") "\r\n" separator "--\r\n")))) Example Code: (tb-send-trackback "http://www.movabletype.org/mt/trackback/3" '(("title" . "Emacs Trackback Implementation") ("excerpt" . "An implementation of trackback for emacs webloggers.") ("url" . "http://elisp.info/archive/80614224") ("blog_name" . "elisp.info")) t)
Now all we need is a way to receive trackback pings...
7. Ching's office address: 23:10
-----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.5 (GNU/Linux) hQEOAzQ6c9jHW5SMEAP/aKRTH5qiZphFXFgqHM9o8r9R6ivuVW+l7QMKKb1eQPTD kaVEzLzYMguITd1jxag8oD3M3lEbWFjcLfuHydBqAU47HO6g/x5iwZjkWnf/0LxZ /6BwOitOK4gD53lUQiTS20JYEsvl9WvKBzxq/dcdfRYxOhjeNb/Ctl2uVm3AxC8E AKwrGlVDyZI1HYWrnnkxlGCgqovvFiV8Z7grKBrrAfdCEe4fg+IdvgRsyRHz/Oyr xR9Hh4SExAKqh5QbWrmU/ihjU62NqjefDmyHR1heroUwH3019uo+X+emDtM9wpX8 y0vMcDCaqYCgoH3LGml60RZVQK97SdV8BFEvnWYOapyr0n8BLRbH+KQrpnEwM3L3 gSSNZbqAKcCMrGDZXbuTML/f4lyor4ho3wF3Y5k3IFisKEPZAk/M5eZylBXDozpl sz3faHRITLP+kyFP1pi5w5o3Yrv1Ljxz4ZtO2yX2Tmu8vm2s8oF3gwL2RFaNrFhO S838762ozJLQZVyqE6Y7gdJA =6hfa -----END PGP MESSAGE-----
6. ARGH! Drying clothes!: 21:21
I'll hang the suits up to dry, but darn if I'll let most of my blouses
get away with that kind of threat. If I mess up, well, better that I
learn that lesson now, right?
So, sorry, hang-dry clothes, you're going to get spun-dried today...
(I'll leave the dry-flat clothes for some other time.)
5. Tentative Osaka plans: 21:19
Stuff I need to bring:
- mobile phone charger - laptop, charger - Debian keysigning papers - A day or two's worth of clothes. - Money, misc.
Possibly have these brought:
- business shoes - business clothes for Monday: white turtleneck, pleated black skirt.
4. First day: 20:50
Delphi is fun, although I miss Lisp's you-can-lowercase-everything style. I miss Lisp parentheses and easy syntax. I'm weird, aren't I?
S'okay. Am getting the hang of Delphi, and am looking forward to the translation challenge tomorrow.
I miss the academe, though. I feel more suited to it than to this. That's okay. I'll have the next few months to develop a really fine appreciation of the academe, something that'll sustain me through years of studies, frustrating classes, loads of tests to check... <laugh>
That said, I'm going to give this my best shot. It might not be one of my alternative careers, but that doesn't mean I don't want to be good at it. <grin>
Must figure out logistics for my Osaka trip.
3. Training so far: 13:11
I'm waiting for my Windows 2000 installation to finish formatting the hard disk. Our trainers don't really speak English, so I've asked them to e-mail us the design documents we need to study so that I can work on translating the specs. Aris will read up on Delphi. I think that'll work out.
I also asked about cheap places to get bento boxes so that we don't have to eat at restaurants all the time. With a lunch allowance of 800 yen, all the restaurants are too expensive.
We have a week to learn how to read specifications, understand Japanese software design, and write Java programs. I'm a bit worried about software engineering, particularly if they want to use lectures. I think we'd have an easier time with computer-mediated communication, because then I have an instant record of everything said, and I can look words up quickly.
Today's commute was one and a half hours. Longer than I expected, but apparently quite normal. We have monthly tickets, so we don't have to worry about transportation expenses unless we lose the ticket. I'll probably still spend a bit on transportation during weekends, as the paid segment doesn't give me access to a lot of tourist spots. Oh well, that's all right. =)
More stories soon.
-----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.5 (GNU/Linux) hQEOAzQ6c9jHW5SMEAP/YkaDAEWwX0v4eL+yoGJguE8HMsOzbV5UdhaPnZ1X0n3I 7PhNn7g/rWHdEo3lDbvSyd8JpUgz7NjfkvOTwdfJBw66z729G/kZFeHXlEim1ctZ jDzrF9ydQeBnvo/6/YrXG+mUwgJNwMf1orEXs7CY5ZtRN7TbVo7LciU7lfgPwU0D /0X3XwaXVIxGyyO6HokvPfM+x1V4dBxIDyOdwXn+TwGcXOkLKE4qDq58bcvAn8Zz JvXGnSALapgo/6XBUIcJGP161GIR4yd7Y4ugNpQL+NWpm1iCSu8pJ9VIIQgbWbpl ABQnim1TVmOkrs3BKgmJZesWVTzPOanU9Hn1lDMIRjRz0usBfsH6aqkfRGO2MDWa GZ9iPDyZ6IRwhgZsNQEyXFAAv9lmWJQN+cXbS9luLp9LWUwVck3Xjg+yuCAmnX8U 8c9cnWZ59xiaMI41LAdhX4k3Da62mToWUnY/qeC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nl8LF+eK/WlbeX7TgTT1hls MLqH5T+2GQZd2bosSh6gQiaTl5oFbwR7txJBTV6N7fjvKWBYvUqFlkTdkhc16NnL uGaoqsEN2RQnRx+tuwBahOX/OmWA/ZVL3wLWREkzODtCt+qAQUwWz8QkSADAaR5Y OQIrBXAzV1HMYmgf/gxXeOKmKB/5CpIPutPzUaJf/y5SwpzghPzcPwQh86L2O1++ kVdgn0FAKm1SS0PHONTvCzUAvIvm+jrI6ZWLPVdVCDhI2oJGeomCRe3j6ApeB+WR hUFmEiMLHGz/YLOYIMzo8GHmmnKtf5Bw69S/KMmR8LHSK9pGWJMJGr1JYzV9rgNt FQeMVxKlqKmmA4Ph8msP8E0RiapflMWX1hpZvYnPN+y9zSbih1+RYKr53FOumJ9m 0xYRlegSO7qpigpHH/l11Dfuh3QN6IGqT6oqgtnjQtv8KgMi3PUc24exG0uMZ7sl PzZq13ztHzWf3umwm33ByMzSPSGLa8iPUQPnihm8Rb+tUH1sOODT9Q/2CWL25gA2 cg6I8/W5O0KhSMl4SLdUce7ZASoh4V1HGS2DDXck043QpoPgpVpoRsErIA2zlOe4 JzaRWOW91wL4cHPRcNT2m7k9rw8cuX0MirRf8MLRu+IG2o+Gk1MXWn25tQNHSKin SAXDWinzSYltjPdiHZ3K35YoalQfqtVic+EC5KGDaWo8+Mk= =+8nb -----END PGP MESSAGE-----
1. Yesterday: 00:38
Mom was online, and she was really glad to know I had Internet access in my room. She got pretty worried when she rang my phone and I didn't answer. I told her about leaving it in YKC. Whoops! Silly me. She had a wonderful tea party with my godparents. I should take a video of me drinking tea so I can join the next one virtually.
Dominique was missing for a good part of the evening. Apparently had dinner with friends from Davao. Got to talk to him afterwards, though. =)
Now that I've gotten both homesickness and first-day jitters out of the way, I feel much more prepared to handle the challenges I'll encounter during our training. Yay!
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 firstname.lastname@example.org .