| luis | minion: tell drifter747 about telent-date |
| minion | Sorry, I couldn't find anything in the database for ``telent-date''. |
| csimon | minion: tell csimon about lisp |
| minion | csimon: have a look at lisp: "Lisp in Small Pieces". This book covers Lisp, Scheme and other related dialects, their interpretation, semantics and compilation. To sum it up in a few figures: 500 pages, 11 chapters, 11 interpreters and 2 compilers. <http://www-spi.lip6.fr/~queinnec/WWW/LiSP.html> |
| luis | csimon: ? minion: tell drifter747 about net-telent-date |
| minion | drifter747: please look at net-telent-date: net-telent-date is a Library consisting mostly of the time parsing routines from CMUCL that were removed from SBCL. http://www.cliki.net/net-telent-date |
| luis | drifter747: not sure if that's what you're looking fo |
| myrkraverk | what is ''() excactly, in terms of (quote)s and (cons)es ? (before (eval)) |
| Zhivago | (quote (quote nil)) |
| myrkraverk | as in, (cons 'quote (cons 'quote nil)) ? |
| kpreid | No. |
| myrkraverk | oh? |
| kpreid | 1. These two S-expressions are equivalent: ''() (quote (quote nil)) 2. What the reader *does* when it reads "''()" is roughtly (list 'quote (list 'quote 'nil)) |
| myrkraverk | hmm, ok |
| drifter747 | thxs luis. not quite what i was hoping for but it might help a bit i had hoped for something that would help with something like 16:40 + 75min = 17:55 etc. trying to learn lisp while doing something practical i need with it. and that involves generating a bunch of start/stop times with random durations. |
| Astro | help, my emacs looks too ugly :( is there a way to compile it with gtk (on gentoo)? |
| rahul | hah Astro: #emacs. |
| Zhivago | are you familiar with encode-universe-time? er, universal |
| kpreid | adding offsets to a decoded time wouldn't work in the edge cases (DST, etc) |
| Zhivago | well, you add to the encoded time as an integer so you should be able to encode the local time, encode a time offset from epoch, add them, then decode universal-time might not be quite what he wants -- but it might be a start. |
| kpreid | oh, I was misremembering |
| rudi | gbyers: 1, "let's have UTF-16 internally" crowd: 0 |
| luis | For some reason I thought SBCL used UTF-16 rudi: but it seems to use UTF-32, am I right? |
| rudi | luis: yes, and for the same reasons as sbcl does, iiuc the argument pro utf-16 seems to be "everyone else does it, it's cheaper to call out to foreign libraries, and it saves space" two of them are utterly bogus, and gary just demolished the third one |
| lemonodor | well it probably will save space, right? but yeah, the library thing seems bogus. |
| rudi | lemonodor: on 64 bit no, on 32 bit a little - gbyers did the unfair thing of estimating implementation effort and measuring typical strings in a running image :) |
| lemonodor | ah, i missed that. |
| luis | huffman-coded arrays! what a great idea |