journal
all ![]() | Rob is 20,117 days old today. |
Entries this day: Dreams Internet emacs zzzz Dreams 4:10am JST Saturday 15 April 2006 (day 13170) I was showing someone how to load half-printed paper into the copy machine so that it would be printed on the blank side; in order to conserve paper, we were printing on used sheets. Watching this copy machine work (not work) across the street; when it did work, it was amazing, able to throw/spit/shoot large sheets of paper into perfect stacks up by a telephone pole, but when it tried to use the reused paper, the sheets that were creased got caught and mucked up everything; the large sheets couldn't fly and paper started to get misdirected all over the place. D'oh! - - - - 8:17am JST Saturday 15 April 2006 Filming a scene for a movie, of this little car zooming around and around an obstacle far huger than it, but the car was fast and could get around it in about 10 seconds, but we made many many rotations and then finished and went back out onto the street in front of my apartment on West Gray and checked the footage: nothing. Fuck! I told my driver that it hadn't been recorded, and we would have to do it again, and she super complainy and I was like, "I know, and I'm sorry," and I headed back between the buildings to the parking area and she came up and was like, "I know you didn't mean it," and when we hugged she was a young black boy, about 14 years old. I was like, "how about we film something that doesn't need that other character?" and she agreed, but then I was like, "first I need to write the scene," Thinking of a scene, perhaps her as a fashionable woman walking down the street, with voice over: "Meet Jane. She's fashionable, stylish," and she pulls out a tiny weapon and kills some guy about 50 meters down the street without missing a step, "and an assassin." permalinkInternet 12:00pm JST Saturday 15 April 2006 (day 13170) Tony took me to the library today where I was able to use internet on a machine that had a direct connection and a browser a bit more supported than AOL. Got a chance to poke around on google calendar, and got a crazy idea of mirroring my journal on a public calendar. The interface is not all that great for such things, and there's really no *reason* to do it, but it was just an idea for a moment. I'm sure I will not spend much more time on it. Was impressed that google map was available on the location bar, but ... of course it was available! Then I thought it would be rad to pinpoint locations easily from google maps to the calendar, but I didn't see a way to do that. Just a one way thing, from Calendar to Maps.. In this case, "west of Kyoto" did not resolve to a location anywhere near Japan, but came up with about four points scattered across the US. Didn't see a way to have something repeat an arbitrary number of days; I'd like a 500 day counter for my days old, but that still doesn't seem possible. Have to write it myself. - - - - Unfortunately, their computer wasn't able to read my USB keychain, so I couldn't do what I had hoped: upload journal entries from the past 10 days or so. This is basically a longer break from uploading than even during PB voyages! So even if I write a Rob Update on my keychain, I can't upload it via their machine. I may try to wander around the neighborhood, looking for hotspots. Man, how I wish to have a little palm-sized WiFi detector that would just vibrate or something when it detects a free connection. Just have it in my pocket, walk around town for a stroll, and feel when the love is in the air... - - - - Though the sign read (in Japanese) specifically not to use mail nor chat, I got to chat with Fred a bit; that was nice. permalinkemacs 9:49pm JST Saturday 15 April 2006 (day 13170) Kick ass. All this time messin' around with emacs has just paid off nicely... I've just finished tweaking sgml-mode.el so that I can automatically print a full date in Japanese format: 2006年4月15日(土)21時51分 Just like that. For the record, here is the code: (define-skeleton html-full-japanese-date "Prints the full date in Japanese format in a class=\"date\" paragraph." nil ;; set the Japanese symbol for the day of the week '(setq j-dow (cond ((string= (format-time-string "%w") "0") "日") ((string= (format-time-string "%w") "1") "月") ((string= (format-time-string "%w") "2") "火") ((string= (format-time-string "%w") "3") "水") ((string= (format-time-string "%w") "4") "木") ((string= (format-time-string "%w") "5") "金") ((string= (format-time-string "%w") "6") "土"))) (if (bolp) nil ?\n) "<p class=\"date\">" (format-time-string "%Y年%-1m月%e日(") j-dow (format-time-string ")%H時%M分") (if sgml-xml-mode "</p>") "\n\n<p>" _ (if sgml-xml-mode "</p>")) (I've replaced < and > with their & equivalents. Also, on my browser, the backslash characters are showing up as Y yen symbols. They should be backslashes.) - - - - Also, I had been using some crazy function in my .emacs file to print the full (English) date, but I've moved that to sgml-mode.el as well: (define-skeleton html-full-date "Prints the full date in a class=\"date\" paragraph." nil (if (bolp) nil ?\n) "<p class=\"date\">" (format-time-string "%-1l:%M%P %Z %A %e %B %Y") (if sgml-xml-mode "</p>") "\n\n<p>" _ (if sgml-xml-mode "</p>")) Here they are in action: 10:01pm JST Saturday 15 April 2006 2006年4月15日(土)22時01分 Awwright. (Feel free to use the code as per GNU Copyleft. I can barely take credit for it myself.) 2006年4月16日(日)00時08分 Kick even more ass! I was just reading about the M-x compile command, and see that it will automagically go to the line number of a particular error message.. The interface is a bit crude, but this bit of code added to ~/.emacs file automatically sets the compilation command for perl files. (g, you might be interested in this:) (add-hook 'perl-mode-hook (lambda () (set (make-local-variable 'compile-command) (concat "perl -wc " (buffer-file-name)))))permalink zzzz 12:14am JST Sunday 16 April 2006 (day 13171) 2006年4月16日(日)00時14分 Okay, for real I'm going to bed; I may have to be ready to go work at the farm at 8:30am (and have eaten before that). permalink |