freenode/lisp - IRC Chatlog
Search
16:24:40
knegg
(oh.. why does it put 15 in comment text then?)so (eval a)does nothing by itself but b in the next line will return the value for b which is 15? like i would define setf b 15 c 28 and then go (eval a)c it would return 28?
16:27:34
knegg
you are doing your best mate! but i think i need to actually do a basic lisp tutorial to understand it.
16:36:17
akoana
knegg: I'm too learning Common Lisp, entering the example code into a REPL session is quite instructive... play with the real thing :)
16:40:42
knegg
whats repl? im watching a tutorial on the syntax now. maybe that helps for that simple example already
16:42:26
akoana
knegg: when you start a common lisp you it will wait until you enter something and read it
16:45:56
knegg
im glad it does. on the recent vba version the alt+ctrl+break doesnt help anymore. had a hard time exiting my latest endless loop :D
16:50:42
akoana
knegg: portacle (https://portacle.github.io/) has everything you need, it runs on Windows, OS X, and Linux.
16:53:32
knegg
ok cool. ill try to understand that concept with minimal effort to be frank because i wanna continue with that book to continue with another book... looking into machine learning took me several days already. its super interesting and i understood the basic stuff but i did not programm any neural networks there either :D
16:59:22
knegg
"to be fairly easy to use so that even intermediate Common Lisp programmers" thx man. but.. im a total noob :D
17:07:27
knegg
lol... the video tutorial on lisp ends at min 6:31 with nothing like eval. only having shown "strings", 'symbols t, nil and how calculations are done :D
17:08:39
akoana
knegg: hey, using _death's suggestion (cl-mep) you'll have fun and will advance by exploring the examples
17:09:16
akoana
knegg: I'd also recommend Little Bits of Lisp https://www.youtube.com/watch?v=m0TsdytmGhc
20:49:48
puchacz
phoe: most ML is done by wrapping C++ or C libraries in Python, basically - how does it compare, do you know?
20:50:24
puchacz
with Matlab being astonishingly slow, and Python C/C++ fast, do you know where does cl-mlep sit?
21:13:27
puchacz
jfb4: I am on a course in a bank, there was just one class as of now, with neural network recognising handwriting digits, honestly I did not check the full curriculum.
21:13:53
puchacz
but I would like to know if a library can "scale" to be used out of the course as well
21:44:55
no-defun-allowed
puchacz: Depends on your compiler, but you should expect fairly close to C.
22:36:29
_death
I thought cl-online-learning would be cool for actual use, though I've not yet had the chance
0:04:40
no-defun-allowed
As in, (find-class '(your . cons)) will give you that class, or that the class-name of that class is your cons?
0:05:25
mfiano
The latter. Don't ask why. I think both of our heads would explode if I tried to explain it. It just seems like the best abstraction for a hard problem I've been trying to solve.
0:05:37
no-defun-allowed
I think you can do (make-instance 'standard-class :name '(your . cons)) to make a class that has a cons for a name, but I don't know if it's portable.
0:05:56
mfiano
I would like to (make-instance '(pkg1:foo pkg2:bar) ..) but if it's not possible I'll continue my search
0:11:57
pjb
mfiano: make-instance is a generic function. If you can map your list onto a symbol, then you can do it.