freenode/lisp - IRC Chatlog
Search
21:51:40
KZiemian
jmercouris: this is one of my problems, I can see only part of project, but I try to make my part as good as I can
21:52:48
jmercouris
It's unfortunate that I don't speak polish, otherwise I would read what you've done :D
21:53:25
jmercouris
Looking at the HTML, it looks okay, there is indent a lot of work that could be done on it though
21:54:18
jmercouris
Mostly indentation and some spaces throughout, but the CSS will make it look fine, so it should be okay
21:55:03
KZiemian
jmercouris: I know that laguage is big problem, but until I understand ccldoc I will write in polish, because that is much faster to me and now I must note a lot
21:55:48
KZiemian
jmercouris: many of this things will became probably irrevelant when we understand what is going on
21:59:17
KZiemian
jmercouris: one problem of CLUS is that, that I take a break after ending last stage
22:05:37
KZiemian
jmercouris: thank you for questions, I will try not forget to tell phoe about them
22:06:08
KZiemian
jmercouris: I must go in next 5-10 minuts, so if you want ask about somthing now is the time
22:09:21
jmercouris
I think I'll wait to see what you guys talk about on Monday, for now I think we've covered all the bases, thanks!
22:14:17
jasom
any suggestions for improving numeric performance on ccl? I'm seeing it currently ~10x slower than sbcl right now
22:21:52
foom
jasom: I think if you tell it the exact types of inputs and outputs to every math call it will compile it efficiently. E.g. (the fixnum (+ (the fixnum a) (the fixnum b)))
22:38:27
alandipert
i see #'(lambda () ...) in CLHS example code, is there a reason for the #' with the inline lambda?
22:39:57
Shinmera
If I recall it used to be necessary. Now that it isn't, some people just prefer it that way.
22:45:44
pjb
alandipert: so either you're in code position and the macro will do the right thing, or you're in data position, and writing #'(lambda will introduce the (function (lambda …)) sexp which is not evaluated, so probably not what you want anyways.
22:46:33
pjb
alandipert: furthermore, lambda may be not cl:lambda (if it's shadowed). So writing #'(lambda … may expand to (CL:FUNCTION (NOT-CL:LAMBDA ...)) which is not conforming!
22:46:51
pjb
alandipert: while NOT-CL:LAMBDA may be a macro that do what it needs to do. Adding #' in front prevents it.
22:47:41
pjb
(now of course, if you take the pain to shadow lambda you should also shadow function, and override #' too for consistency…)
4:10:01
Ober
pillton: ok. that's what ive been doing. saw a shinmera video where he appeared to hit a swank server directly.
4:16:18
turkja
yeah i'd make swank to listen localhost only, then use SSH -L to redirect to that port
4:25:33
aeth
Rewrite it in Common Lisp. Most of the content won't be there, but that's a feature, not a bug.
5:33:37
asarch
I made this script to render the book from HTML pages into PDF with HTMLDOC: https://github.com/asarch/pcl/blob/master/doit.sh
6:01:20
beach
asarch: gigamonkey worked pretty hard to write that. I think he deserves his royalties. Perhaps you should send him some money.
6:01:24
asarch
Besides, I'm saving for "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp", "The Elements of Artificial Intelligence" and "Introduction to Artificial Intelligence"
6:07:02
beach
I am the first to admit that publishing companies are unethical in the way they treat their authors, and in the way they make money. That is why I use self publishing when I write books.
6:08:30
asarch
I thought I could get the hard copy of the book the same way you can get books from the Free Software Foundation
6:15:46
beach
Well, I haven't checked whether what you did is legal; perhaps it is. I just think that the author deserves to be compensated for his work. The FSF does not have as a goal to make money from their publications (though they would be happy for you to order a hard copy, or course). But I pretty sure that gigamonkey did not write that book just to be a nice guy and in order to spread the word about Common Lisp.
6:15:56
asarch
If you need to change some parameters of the book, like the paper size, download the source code and compiles it
6:18:57
beach
But thanks for the information. I am now convinced that I absolutely should not make HTML versions of my books available online.
6:29:09
asarch
Even Wikipedia had a great conversion tool to get the PDF version of each article those days
6:41:29
jackdaniel
asarch: there is a huge gap between "fair share" and "free books", I think that you mistake these two terms
6:43:03
jackdaniel
I'm pretty sure RMS doesn't promote idea of free labor in contrast to fair share and the consumer rights to have control over what he bought / use
6:46:28
jackdaniel
and generally, fsf encourages to buy the manuals from them, but doesn't close the door for people, who are not interested in spending money for other people effort (wikipedia, on the other hand, encourages donations, which for some reason outrage some people)
7:01:26
beach
My solution to expensive books is to self publish and to set a reasonable price on the book. That way, more people can afford it, and I get paid significantly more per copy sold than if I had used a publishing company.
7:06:45
jackdaniel
I like the idea promoted by leanpub (namely: author sets minimum price and suggested price, user may pay any amount [min-price; inf)) and service takes 10% itself
7:07:22
jackdaniel
so royalty for the author is 90% and it is possible to publish book with minimal price 0 (of course it is only for electronic books afaik)
7:08:02
jackdaniel
study shows, that people often pay more for books which have minimal cost $0 if they find them useful
7:10:03
jackdaniel
// one last remark, there is apparently service called lulu, which allows you to print electronical books *you own* for some reasonable fee
7:14:19
beach
https://www.amazon.com/Introduction-Computer-Science-Robert-Strandh/dp/1479206660/ref=sr_1_1?ie=UTF8&qid=1513148554&sr=8-1&keywords=Robert+Strandh+introduction+to+computer+science
7:17:32
beach
https://www.amazon.com/Introduction-Computer-Science-Robert-Strandh/dp/1479206660/ref=sr_1_1?ie=UTF8&qid=1513148554&sr=8-1&keywords=Robert+Strandh+introduction+to+computer+science
7:18:03
beach
I think we should drop the subject now, and pick it up when I have Common Lisp related books to show.
7:24:29
minion
swhc: please look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
7:24:31
minion
swhc: please see gentle: "Common Lisp: A Gentle Introduction to Symbolic Computation" is a smoother introduction to lisp programming. http://www.cs.cmu.edu/~dst/LispBook/
7:25:59
beach
jackdaniel: Since the maintainer of minion does not want to adapt it to the new format of cliki, I often give minion explicit entries so as to avoid that message.
7:27:41
jackdaniel
asarch: I think this discussion fits better #lispcafe (and I'm aware I did carry offtopic myself ;)
7:40:35
phoe
jackdaniel: depends. MINIX is also available "for free" and yet it's possible to steal it; just don't obey the terms under which it is licensed.