freenode/#lisp - IRC Chatlog
Search
20:01:25
verisimilitude
I have an experimental little TCP client library I've named EASY-PEASY-TCP I'm currently fiddling with; it's only useful for basic network clients, but it's only intended for such things.
20:48:11
Shinmera
I hope to write some articles and maybe even a paper once things have crystallised a bit more.
20:48:32
jasom
anyone know when SBCL won't open-code sb-rotate-byte:%rotate-byte? I'm rotating by a constant value and a hand-written rotate-byte is over an order-of-magnitude faster becuase it's making a function-call when I use sb-rotate-byte:rotate-byte
20:50:49
Shinmera
I'm mostly working on a GL one though since that's what's useful to me at the moment.
20:52:40
clothespin_
the latest release of 3d-matrices and 3d-vectors fixed some problems in the quicklisp version, suchas mlookat
20:55:08
clothespin_
I am planning on making it compile seperate packages for single-float and double-float since I use both at the same time
20:55:43
clothespin_
and I'm considering making the memory be in the foreign heap for communication with C++
20:57:06
Shinmera
On SBCL at least you should be able to just pin the matrix arrays and get a pointer while pinned.
21:00:03
Shinmera
static-vectors are also moot if the vector comes from or is shared with some native lisp library.
21:15:50
Shinmera
I've been considering it a lot, but I don't know. Current university semester looks deadly busy, especially later in the year
21:16:14
Shinmera
I could maybe do a one-day trip, I don't know. Would have to check travel times and all.
21:19:19
Xach
I enjoyed my time in Zürich last year (3 minutes running from airport gate to airport gate for my ELS connection)
21:19:56
Shinmera
I'll bother didier to check my els-web changes and maybe publish it if he thinks it's time.
22:42:52
fragamus
where in the blue blazes is the source file containing the main for lisp.run in clisp
0:29:58
vms14
and I call it with (route "/" () (format nil "~a~a" (header) (body (select "posts"))))
0:33:00
no-defun-allowed
(Also, I probably wouldn't count on TBNL sticking, it's literally To Be Named Later, and it has been named.)
0:33:49
no-defun-allowed
You could use a package-local nickname now, unless you have some weird targets.
0:34:31
no-defun-allowed
Or you could use the package if it really bothers you, since Hunchentoot isn't going to change much soon, but that is still bad form to some people.
0:42:03
aeth
Speaking of packages, I think cl-documents is what I might call my Markdown->HTML library (and main package) since it'll stay strictly in the realm of text files (i.e. documents) rather than binary files (e.g. opticl with image files)
0:43:23
aeth
or maybe cl-document (singular) because then that's also a form of the verb "to document", so it would be a wordplay on its primary purpose, documentation
0:44:11
aeth
I'm half tempted to use trivial- instead of cl- because I suspect that it will grow into something nontrivial over time, so it would be funny to have the trivial- prefix.
3:56:57
tourjin
I opened emacs ctrl+x 3 . and compiled ctrl+c ctrl+c then error occured . left windows shows the errors. but how can I go back to original file?
4:13:23
tourjin
in my file I wrote a defparameter on first line. then I wrote a defun using that parameter . but if I compile it . error says undefined variable: *MYVAR*. is slime different from writing in command line?
4:27:57
pjb
tourjin: C-c C-c only compiles 1 defun. Having stuff in buffers, or even in files doesn't help at all.
4:28:36
tourjin
hm.. ctrl+c ctrl+c just compiles one line or one block where the cursor is . is this normal?
4:33:55
tourjin
how do u memorize the whole keywords? C-c C-c , I can figure it out it's a acronym of compile. what does k stand for?
4:34:49
beach
tourjin: You don't. Your fingers will remember at some point and you no longer have to think about it.
4:35:20
beach
tourjin: And please don't use abbreviations such as "u" for "you". Turn on your abbrev processor.
4:38:06
tourjin
thank you pjb you remind me i have a lot of docs to read. I don't get what s-expressions means. i see . i shoud'nt use 'u'. thank you. by the way it's not abbrev processor. I even don't know how to use abbrev processor in irc. it was me who typed 'u'. :-)
4:38:46
aeth
C-c C-c is for Command: Compile function. C-c C-k is for Command: Kompile file, since C was taken. at least, that's my justification, who knows what the authors thought?
4:45:10
beach
tourjin: If you use a decent program for IRC, such as ERC for Emacs, it will have an abbrev processor, so that you can define abbreviations. For example, you can make "u" expand to "you" automatically every time you type it as a word.
4:51:13
tourjin
i see. probably most of you must use irc in emacs. but I'm really really new to emacs or lisp.
4:54:38
beach
Then I guess you just have to do it the hard way, i.e. type everything out. Oh, the pain that people inflict on themselves by using mediocre tools.
4:56:26
tourjin
I would have'nt thought about irc if it was easy to find informations on lisp. now I get there was full of online documents out there and experts who will give me tips for solutions as much as even I can't comsume. thank you.
5:01:32
aeth
I don't use IRC in Emacs because I prefer having it in a separate program. I think I might be in the minority, though. I don't even use IRC locally, I ssh into a server and have a terminal IRC running in tmux.
5:03:51
beach
aeth: But I am sure it has an abbrev processor, right? I mean, you know to choose your tools.
5:05:45
pjb
aeth: you can use a different emacs instance for erc, if you prefer it in a separate process.
5:06:14
pjb
aeth: this is what I used to do, because of network delays: one emacs to program, one emacs for erc, and one emacs for gnus.
5:18:49
aeth
pjb: I often restart emacs several times a programming session mainly because that's the easiest way to close a bunch of buffers
5:24:00
beach
As far as I am concerned, people are free to inflict pain on themselves by using mediocre tools, but they shouldn't export that pain to others by (say) showing badly indented code or exposing unexpanded abbreviations such as "u".
5:29:05
thijso
I use irssi as my IRC client, mainly for historical reasons... And indeed, I have it running on a separate machine inside a screen
5:35:34
aeth
thijso: I used screen+irssi for a very long time when I switched to Linux a very long time ago, but I evnetually upgraded to tmux+irssi because of the superiority of tmux
5:36:35
pjb
aeth: (defun kill-all-buffers () (interactive) (dolist (buffer (buffer-list)) (kill-buffer buffer)))
5:45:23
thijso
aeth: screen does what I need it to do. I've heard of tmux and have this idea to check it out one of these days. Like for a couple of years, now... ;)
6:14:46
thijso
Is there a (semi-)convention for marking function names internal/external/exported and such? I've seen, for example #make-thread in bordeaux-threads, but that's mainly to distinguish it from other make-threads, I think?
6:16:28
Shinmera
The % is typically for functions that are closely tied to some other context and are thus "extremely internal"
6:16:38
thijso
Shinmera: yeah, obviously, but it's more a style thing I had in my mind. But there isn't really, probably
6:17:36
thijso
Well, I basically have something now where I have an internal function that logically should have the same name as an external one
6:17:52
pjb
thijso: you write the name of exported functions explicitely in the :export list of the package. This is the convention.
6:26:24
jeosol
If I have an image saved from a previous run, and restart sbcl with the core file. I create a new module (defsystem) and tried to load it in and was getting errors. I am able to load the new system elsewhere through (e.g., fresh sbcl)