Search
Wednesday, 13th of June 2018, 18:30:50 UTC
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
1:44:22
theemacsshibe[m]
is there a function to see if a bordeaux-thread lock is being used?
3:24:43
pillton
theemacsshibe[m]: I'm guessing it would involve (acquire-lock lock :wait-p nil).
3:55:04
Xach
ACTION feels the thrill of excitement of lisp!
4:25:31
johnvonneumann
** NICK Guest97645
4:41:46
phoe
theemacsshibe[m]: (cond ((acquire-lock lock :wait-p nil) (release-lock lock) t) (t nil))
4:42:15
theemacsshibe[m]
alright, thanks
4:42:33
theemacsshibe[m]
didn't think about using acquire like that, thought there'd be an acquired-lock-p or something
4:43:12
phoe
theemacsshibe[m]: remember that you're in a multithreaded environment
4:43:32
phoe
(if (acquired-lock-p lock) (foo) (bar))
4:43:48
phoe
The state of the lock can change betweeen evaluating the condition and one of (FOO) (BAR)
4:44:06
phoe
so the ACQUIRE-LOCK-P function doesn't really work
4:44:24
phoe
the only sane work of checking if it's acquired is attempting to acquire it yourself
5:15:41
beach
Good morning everyone!
6:14:27
flip214
phoe: also, the state of the lock might change while your COND is returning T ... or at any later point as well, so IMO a LOCK-ACQUIRED-P would be okay.
6:14:53
flip214
after all, your COND can just be put in a (DEFUN LOCK-ACQUIRED-P (lock) ... ), right?
6:15:11
flip214
the only valid use is for debugging purposes anyway.
6:15:43
flip214
(assert (eq (lock-owner lock) (current-thread))) or similar
6:20:00
White_Flame
that's the nature of asynchronous polling; can't escape it
Thursday, 14th of June 2018, 6:30:50 UTC