@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> my imac has arrived
<0> unfortunately, I'm at work now
<1> "The types RATIONAL and FLOAT are disjoint subtypes of REAL." --clhs. But it does not say that they are an exhaustive partitioning of REAL. So does this mean there are/could be REAL that are neither RATIONAL or FLOAT?
<1> s/or/nor/
<2> rr--: there could be, yes
<1> in current cmucl/sbcl, is there
<2> no
<3> for what it's worth, it looks like the issue was one line left over from an uninstalled package, left in /etc/ldap/ldap.conf : TLS_CACERTDIR/var/lib/ultrapossum/tls # after commenting-out that line, then slapd can run
<3> SSL certificate management could be another thing to clean up in a new os, fwiw
<4> eek, ldap
<3> yeah, it's used by the gforge setup. funny thing is, though, the gforge setup populates the ldap directory on an sql database
<3> finally, finally got one broken package fixed
<0> lichtblau: ((-:
<0> eekdap (:
<3> now this is funny: Gforge base DN is knotes_4%3a3.5.3-2_i386.deb knotes_4%3a3.5.3-3_i386.deb notification-daemon_0.3.4-4+b1_i386.deb under the existing server base DN -- fail



<0> using ldapvi makes it the lichtblau directory access protocol (:
<0> ntpd problems? (:
<2> does anyone remember what the variable in clsql that needs to be changed from its default setting is?
<5> Is it reasonable to use (ldb (byte 4 27) #b1011000000000000000000000000000) to get the 4 highest bits of a 32-bit number?
<2> I think that's what ldb is for, yes
<5> Thanks.
<6> I'm trying to get the following code running with sbcl http://www.norvig.com/paip/clos.lisp
<6> (the last part with define-cl***)
<6> the first thing is that sbcl says it couldn't expand the macro (define-cl***) because make-clause is missing.
<6> I could fix it
<6> with swapping the macro and the function definition
<6> But now SBCL can't find a rest2 function (in make-clause)
<6> there is symbol called rest2 but it is not a function and it is not in hyperspec
<2> you know that there's quite a lot of support code in the PAIP tarball?
<2> (there are one or two things that need to be fixed in it, like defining functions called IGNORE and SYMBOL, but it's straightforward to make it work)
<7> kingruedi: rest2 is probably a utility function Norvig wrote that drops the first two elements of a list.
<8> rydis, memo from michaelw: you mentioned pools when I was looking for fast resizable arrays. do you have any pointers for them?
<6> oh, ok
<6> ok, actually it is obvious if you look at the code (d'oh)
<9> hi all, I'm trying to get cl-opengl examples running on sbcl 0.9.14 with cffi 0.9.1 but I'm getting (SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR)s...anyone with ideas on how to resolve this?
<2> load whatever shared library you haven't yet loaded
<9> would this be a lisp library or the alien C library ?
<2> the alien C library
<9> alright... thanks, I'll have to look up how to do that with cffi then...
<10> minion, logs?
<8> logs: #lisp logs are available at http://meme.b9.com/ (searchable,customizable filtering & highlighting); http://tunes.org/~nef/logs/ (text); and http://tunes.org/~coreyr/ (prettified version of ~nef)
<10> tom_elam, did you get it set up?
<11> kire,
<11> which?
<11> you're talking about trac, right?
<10> your clnet login
<11> no, i've been in a meeting all day... ;-)
<11> i will try a bit later. thanks.
<10> ok, you should be able to decrypt that message I sent you and see all info you need there. if it doesn't work, let me know.
<11> i need to eat something now, then have a phone call...
<11> thanks!
<11> kire, what about trac? can i get access to that?
<10> tom_elam, yes just decrypt and read that message.
<11> will do. i will try it right now. should only take a minute, i guess.
<12> Xach: around?
<11> kire, I am using KGpg and it seemed to have died some time ago. now I can't find my private key in its database. i will try to figure out where the key is.
<10> ok
<11> kire, kgpg is acting strangely: every kgpg process i start exits but it looks like abnormal exits: the init process (pid 1) is taking ownership.
<11> these processes are exiting immediately.
<10> tom_elam, i've never used kgpg so i wouldn't know. why not just use gpg?
<11> kire, i will try, but first i need to find my key.
<10> are you sure it doesn't store it in the same database as gpg?
<11> i would bet it does. where would that be?
<10> try gpg --list-keys
<10> probably ~/.gnupg/
<11> yes, it's there.
<5> Doing "(defvar *aaa* (make-array 1 :element-type '(integer 0 31))) (setf (aref *aaa* 0) 222)" I get this error: "The value 222 is not of type (UNSIGNED-BYTE 7)". Is something wrong with the element-type I used?
<7> z0d: Yes, (integer 0 31) is integers between 0 and 31, inclusive. 222 isn't such an integer.
<5> Oh. Thank you. Somehow I thought it's the number of bits. Silly me.
<13> z0d: that's (unsigned-byte 32)
<5> Thank you.
<11> kire, ok, i got the message decrypted. thanks.
<11> kire, need to make my phone call now...
<11> nick tom_elam-away



<14> voidengineer: hi
<15> Anyone with Climacs loaded who'd attempt something for me?
<15> Just start Climacs and press yank (C-y) with an empty kill ring.
<16> RFFi pasted "C (client) <-=socket=-> Lisp (server)" at http://paste.lisp.org/display/23082
<17> Hi! There is a new scene in the net ftp://all:q1w2e3@netherworld.is-a-geek.net:5000 if you like it, please consider uploading any related and relevant material. No porno, no movies, no musics! 100GB purely educational!
<18> one hour before the end of the ICFP.
<19> in ASDF, how do i specify that file A may only be compiled if file B is loaded?
<5> :depends-on
<19> i tried using in-order-to but it has no effect
<5> (defsystem #:foo :depends-on (#:bar) ...)
<0> yay, new imac!
<20> announced or you got?
<19> z0d, so should the two files be in separate defsystems?
<0> JKnecht: one I got (:
<19> z0d, that would be irritating, as there's 15 files with dependencies on each other
<19> using defsys, i had :uses-definitions-from and that worked fine
<21> wilm: have you read http://common-lisp.net/~mmommer/asdf-howto.shtml ?
<21> wilm: "A more complex example" looks similar to what you are saying
<10> wilm, you could use :serial t
<19> sqweek, that's what i have.. compiling the files is done in the correct order, but it want asdf to _load_ each file immediately after that
<21> alright, sorry for the distraction
<21> i'm new at lisp, and was just linking together two things that sounded similar
<19> thanks anyway :-)
<10> wilm, how do you call asdf:oos?
<19> (asdf:operate 'asdf:compile-op 'clpython)
<19> or load-op
<19> in both cases it goes wrong
<19> :depends-on seems not to imply "load"
<10> perhaps i don't understand. i have a system x with file a and b where file b depends on functions defined in file a. i have (:file "b" :depends-on ("a")) and that works fine. is that your situation except it doesn't work?
<22> how can I ensure that certain slots in a cl*** are of a certain type?
<19> i have metacl***es and stuff, so a must be loaded before b is compiled
<7> beef: check-type/***ert when ***igning them. The :type option to slot definitions isn't guaranteed to be checked.
<22> good to know
<7> (I'm fairly certain there are other ways, too, that I don't think of, right now, such as writing methods for ***ignment that are specialized on the wanted type, and one specialized on t that errors.)
<22> I'm creating make-xxx constructors anyway
<7> Oh, you're writing a porn-site generator? ;)
<23> Hey... there's an idea.
<23> Could probably make quite a bit of money with an automatic porn-site generator...
<7> nyef: There was a porn search engine that was running under CMUCL; I don't remember the name, though.
<7> booble.com, it seems.
<23> That'd be the one.
<10> it uses cmucl? ***y
<24> I guess that porn doesn't have too many lexemes in it :)
<25> ha ha
<20> wonder what web server booble.com uses (w lisp)?
<0> it's a porn site. pound.
<22> lol
<22> dammit at work, can't check it out ;)
<22> probably mod_lisp or something similar
<20> they definitely use Apache and errant URL on the main site don
<20> 't annouse a lisp server.
<20> s/annouse/announce/
<7> <meta name="generator" content="cmucl-19a cl-html-template EMs Pg module and emacs" /> is about all I know.
<20> yeah, that doesn't imply anything about the HTTP server. Seems to be a Edi Weitz pkg (HTML-TEMPLATE).
<5> Is there a way to specify the endianness when reading from a stream?
<26> unfortunately not
<24> :external-format might
<27> z0d: this is implementation specific. In clisp, you can choose between charset:utf-16le or charset:utf-16be for example.
<24> but only for character streams
<5> I'm reading numbers
<27> An implementation could interpret these parameters: :external-type (unsigned-byte 16) :external-format :little-endian
<27> clisp always use little endian for numbers.
<27> You can easily swap them, or just use bytes and build the numbers yourself.
<27> (to stay portable)
<28> How similar is emacs lisp to common lisp, and would learning emacs lisp help with learning common lisp?
<27> cn28h: if your purpose is to write common lisp programs, why shouldn't you learn directly common lisp?
<28> pjb, well, I found a great doc on emacs lisp, which I wouldn't mind learning also :)
<5> cn28h: there are great books for CL too
<5> , pclbook
<20> cn28h: not much and not really.
<28> ahh, okay
<27> supperficially, they're close (both lisp-2), but since native emacs lisp lacks lexical scope and closures, one could argue that scheme is closer to cl than emacs is.
<5> minion: tell cn28h about pcl-book
<28> can you guys recommend a good book for CL then?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #lisp
or
Go to some related logs:

restrt network interfaces kubuntu
php stripslashes necessary
#math
#lisp
sudoers asterisk nobody
#fedora
playground xmms fedora
gentoo hostx hostname
#sql
nv_disable_pat,example



Home  |  disclaimer  |  contact  |  submit quotes