Search
Wednesday, 13th of June 2018, 12:55:29 UTC
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
Thursday, 14th of June 2018, 0:55:29 UTC