Search
Wednesday, 13th of June 2018, 11:53:03 UTC
11:54:49
p_l
kuribas: there's no such thing as python spec, afaik :)
11:55:12
p_l
you have the mess of special cases known as CPython, and a bunch of projects that try to run the same stuff
11:57:42
LdBeth
The Python compiler was included in CMUCL’s source tree
12:17:48
xificurC
kuribas: I know PCL (practical common lisp), LoL (Land of Lisp), another LOL (let over lambda), On Lisp, Lisp in Small Pieces, PAIP you mentioned, AMOP (the Art of the MetaObject Protocol). Surely there's more. I started with PCL which was recommended to me, I think here in IRC. I also enjoyed LoL. The others are probably not written as a guide to
12:25:05
LdBeth
For me it’s more fun to learn the history
12:39:46
kuribas
is "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" a good book?
12:44:42
shka
kuribas: it is a very good book
12:45:14
shka
Xach: extreamly? outstanding?
12:45:42
kuribas
okay, so not to bad then
12:45:55
shka
https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Peter_Norvig_speaking_at_University_of_California%2C_Berkeley.jpg/1200px-Peter_Norvig_speaking_at_University_of_California%2C_Berkeley.jpg
12:47:03
shka
and his shirts are of legendary quality
12:47:16
shka
clearly, this makes him excelent book author
12:48:07
beach
kuribas: Most people here would probably recommend PCL for someone in your situation.
12:49:20
kuribas
isn't there a reference which is a bit more friendly than hyperspec?
12:49:56
shka
i like Common Lisp The Language second edition for that
12:50:09
beach
kuribas: I am unaware of a reference other than the Common Lisp HyperSpec. But CLtL2 is a good book. You just have to be careful about stuff that did not end up in the standard.
12:50:26
Xach
kuribas: not really. the hyperspec isn't something to start with to learn, but it's a very good reference.
12:50:46
kuribas
oh, googling "common lisp reference" gives me quite a few interesting links
12:52:15
Xach
There are things that are "friendly" that don't quite act as "reference"
12:52:32
Xach
the common lisp quick reference is good but perhaps not friendly...terse, though
12:52:43
jackdaniel
kuribas: if you are interested in single pdf version of the standard, you may find it here: http://cvberry.com/tech_writings/notes/common_lisp_standard_draft.html
12:53:14
Krisostoomus
https://imgur.com/a/CLT64
12:54:10
White_Flame
um, if you haven't done so yet, don't click that link. and someone with ops should ban them
12:54:29
shka
White_Flame: thanks for info
12:54:41
White_Flame
ACTION took one for the team there :-P
12:55:15
jackdaniel
uff, for a split of a second I thought my link is bad and that I'll get banned
13:23:59
White_Flame
finally got around to doing the equivalent of ieee-floats with an sb-alien union instead. was pretty simple
13:28:15
White_Flame
ends up being 46 asm instructions, mostly fiddling with the foreign stack pointers, no subroutine calls
13:28:32
White_Flame
of course, doing custom VOPs would be a lot tighter, but this should be fine
13:50:52
varjag
long shot, but did anyone use apple's push notification service from lisp?
13:56:20
p_l
varjag: uhh, I think I've seen few examples in the past, but I'm not really involved in macOS world :/
13:56:26
p_l
so can't point you anywhere
13:59:31
varjag
it's for their ios service
13:59:55
varjag
problem is they are http/2 only
14:00:47
varjag
there's cl-http2-protocol, but it feels alpha quality
14:01:31
varjag
so wonder if i should try build on that or just run some separate service in another language
14:11:36
Xach
varjag: you should make it better or make your own thing that is great
14:13:27
dlowe
http2 is a tough protocol. There are a *lot* of knobs.
14:14:04
dlowe
I'm already doing my alloted tough things.
14:14:35
shrdlu68
Mere existence is tough enough.
14:15:12
jmercouris
Xach: did you see my message earlier?
14:21:14
varjag
comes with own patched cl+ssl fork..
14:31:31
jmercouris
Xach: I have a brief question about skippy, can you pass a list of "make-image-data" into :image-data for "make-image"?
14:31:39
jmercouris
E.g. How can I draw multiple rectangles in a single frame
14:32:38
Xach
You draw by setting the values in the image data.
14:32:47
Xach
You can draw anything you like that way.
14:32:53
jmercouris
Xach: well yeah, (make-image ...) will draw you a square
14:33:00
jmercouris
or a rectangle of any dimensinos
14:33:11
Xach
It will create an image and the image will have some default values.
14:33:23
Xach
But buying a canvas is not the same as buying a picture of a rectangle.
14:33:25
jmercouris
One can draw rectangles using make-image
14:33:40
Xach
If one wishes to have a bad mental model for future intuition, one can.
14:34:18
jmercouris
Alright, I'll clear all notions I have about how it works
14:34:45
jmercouris
and I'll instead ask this as a high level question
14:35:05
jmercouris
how can one draw multiple rectangles, as part of a single frame, using skippy?
14:36:31
Xach
jmercouris: If I was going to do that, I would make a canvas, draw the rectangles with fill-area, and make an image from that canvas.
14:36:58
jmercouris
Xach: Ok, thanks, I'll figure out how to do that then
14:51:34
sebboh
hi. Is there some float version of parse-integer?
15:01:06
sebboh
Is this package popular? http://quickdocs.org/parse-float/
15:02:23
jkordani_
sure why not, it a dependency for 11 projects
15:02:41
jdz
It does what it says on the box.
15:02:59
makomo
sebboh: i used it and it worked fine :D
15:03:18
jdz
I used it, and it did not work fine, but then I fixed it, and now it works fine :)
15:03:23
sebboh
Answer was not "No, use xyz, fool!"... ok, proceeding. :)
15:03:47
makomo
jdz: what was the problem?
15:05:05
jdz
Oh, I was talking about parse-number. My bad.
15:05:22
jdz
https://github.com/sharplispers/parse-number/commit/eee12e439de688021e6c6245841e127dc8ac8c0d
15:07:04
makomo
so there's parse-number too
20:51:07
desperek
can somebody help me compile pgloader?
20:51:18
desperek
i struggle with libraries i lack ://
20:53:50
comborico1611
desperek: Sorry, I'm new here.
20:54:33
desperek
eh im too young for irc
20:56:54
akkad
desperek: you CAN download a binary from github for it, and it can auto download latest version of code, and self compile.
21:01:43
akkad
desperek: one sec. which os?
21:01:49
desperek
akkad, windows or freebsd
21:03:06
akkad
the readme covers compiling on those, as well as what is required to build it
21:03:16
akkad
do you have an error, you can gist, or not paste fully here?
21:04:48
desperek
trying to complite it with sbcl
21:06:05
desperek
COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "qmynd" "src" "api">
21:06:05
desperek
make: *** [Makefile:47: bin/pgloader] Error 1 for sbcl and bundle
21:08:05
akkad
desperek: use quicklisp, it is easier
21:08:19
desperek
akkad, uh this thing downloads it
21:11:45
desperek
Fatal MISSING-DEPENDENCY:
21:11:45
desperek
Component #:CL-MUSTACHE not found, required by #<SYSTEM "pgloader">
21:11:45
desperek
make: *** [Makefile:136: build/bin/pgloader.exe] Error 1
21:12:56
akkad
I was recommending (ql:quickload :pgloader) as it will do the right thing, and give better errors on missing dependencies
21:13:30
desperek
akkad, but what does that mean
21:16:07
pjb
desperek: don't suffer. If you've got a lisp job, resign. Stop using lisp. There are a lot of other nice programming languages.
21:16:42
desperek
pjb, argh i just want to convert my database!
21:17:15
desperek
and lol, i wouldnt even apply for lisp job
21:19:16
desperek
pjb, well, the thing is that i couldnt really find anything to convert db (or w/e i should call it) and pgloader looked really promising
21:19:54
pjb
I thought dimitri was providing commercial support for his pgloader. You may try to contact him directly.
21:20:58
desperek
pjb, well yea, he does. i am not a professional tho
21:21:44
pjb
https://github.com/dimitri/pgloader
21:21:52
pjb
you can install the binary with apt-get !
21:22:35
aeth
Depends on the distro. I think the only non-implementation CL thing in Fedora is maxima
21:23:09
desperek
pjb, the thing is that i am on a shared, soo... yea.
21:23:28
pjb
You can always run a virtual machine.
21:23:52
desperek
pjb, haha i've heard of using qemu there like yesterday!
21:24:22
desperek
or i could just use something other
21:25:37
pjb
Using a shared machine, not being root, I guess.
21:29:17
desperek
ehh... why did i have to choose mysql :D
21:32:47
desperek
considering i use rails there
21:33:14
desperek
well, technically speaking, i can just copy and paste the records...
23:00:06
akkad
with sbcl it can harder for clnoobs
Wednesday, 13th of June 2018, 23:53:03 UTC