freenode/#lisp - IRC Chatlog
Search
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:12:56
akkad
I was recommending (ql:quickload :pgloader) as it will do the right thing, and give better errors on missing dependencies
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: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:22:35
aeth
Depends on the distro. I think the only non-implementation CL thing in Fedora is maxima
4:41:46
phoe
theemacsshibe[m]: (cond ((acquire-lock lock :wait-p nil) (release-lock lock) t) (t nil))
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:48
phoe
The state of the lock can change betweeen evaluating the condition and one of (FOO) (BAR)
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?
7:55:17
minion
dadabidet: 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:55:40
jackdaniel
fact that something has a compiler doesn't mean you can't use it interactively with REPL
7:56:06
jackdaniel
the distinction is that compiler takes your code, performs some optimizations and outputs target bytecode (be it binary or some bytecode)
8:03:25
jackdaniel
kuribas: I don't know basic, so I can't tell. but you may check out tagbody/go syntax and decide yourself
8:04:10
jackdaniel
kuribas: tagbody/go is usually used in macros which implement better abstraction on top of this
8:07:04
jackdaniel
dadabidet: in lisp form is either an atom or a list. some atom examples: `3 "string" symbol nil #(1 2 3) T', some list examples: (1 2 3) (foo 1 2) nil
8:08:04
jackdaniel
for the evaluation rule I'd suggest looking into some basic tutorial or a book (SICP is a good one, targetting scheme though)
8:08:34
jackdaniel
but in code ` means backquote, which has some special characteristics, while ' means just quote
8:08:56
jackdaniel
that's why reading short tutorial is a good idea, you don't expect to learn basic from stranger on irc, do you? :-)
8:09:51
jackdaniel
because random strangers usually are busy with their own endavours, that's why they end up with writing tutorials eventually
8:10:29
jackdaniel
chapter or two from PCL should take you around an hour or two. after doing it you should have basics grasped
8:10:52
jackdaniel
book "ANSI Common Lisp" by Paul Graham is another book which introduces you to the basics in first chapter
8:12:22
jackdaniel
this looks not-so-bad, though the author got some indentation wrong: https://maxtimkovich.com/lisp_tutorial
8:17:17
jackdaniel
bear in mind that I'd still recommend reading first chapter or two of the mentioned books instead of going through that
8:19:14
shrdlu68
dadabidet: You could check out examples on rosettacode and compare c/c++ to CL examples. But you'll still have to look up explanations for things you don't understand.