freenode/#lisp - IRC Chatlog
Search
4:17:09
fouric
quicklisp is still refusing to locate my local projects, and register-local-projects hangs
9:32:07
francogrex
(loop while ind do (block inner ... (loop while do when something (setf ind nil) (return-from inner)...
9:34:25
jackdaniel
what is 'something', what is '...', what does "while do" mean? I don't recognize this loop syntax - is "do" a variable here?
9:36:15
jackdaniel
one could guess is that you want (loop with ind = t while ind do (when (something) (setf ind nil))) without the inner loop and a special variable
9:44:20
francogrex
ok thanks jackdaniel i think i discovereed the error in my code in the inner loop is actually a (do type of loop and it is returning before I have the chance to make the needed modifications to make (something) return t (that comes below in the code and it actually doesn't execute since the inner loop has already stopped)
9:49:31
francogrex
yes but lisppaste was specific, i wish they had developped something to keep it going yet stop the spam, for example just link it to an irc #lisp thing
11:56:38
flip214
I'm using net.didierverna.clon for argument parsing. What I can't find out is how to mark an option as a list -- it seems that only the first occurrence is visible for GETOPT.
13:40:07
jackdaniel
francogrex: starting sbcl with bigger heap makes a lot of sense (by default it is 1G)
13:41:47
shka__
francogrex: unfortunatly, GC requires a little bit of extra memory to actually scan heap
13:47:52
flip214
jackdaniel: eg. "--option A --option B --option C" and when doing (GETOPT --long-name "option") I want to receive a list of all 3 strings
14:09:05
galdor
WARNING: System definition file #P"/home/galdor/dev/site-lisp/cl-ppcre-2.0.11/cl-ppcre.asd" contains definition for system "cl-ppcre-test". Please only define "cl-ppcre" and secondary systems with a name starting with "cl-ppcre/" (e.g. "cl-ppcre/test") in that file.
14:10:43
_death
galdor: https://github.com/death/sbcl/commit/f7b8ceba6e3703e61aeb5e8b3022aee2c23f3bab
14:14:53
jackdaniel
(handler-case (asdf:load-system 'cl-ppcre) (asdf:bad-system-name () :foo)) ; this may help
14:19:40
_death
(handler-bind ((asdf:bad-system-name #'muffle-warning)) (warn 'asdf:bad-system-name :source-file "foo" :name "foo"))
15:24:22
ogamita
hectorhonn: You see, programming is addictive, right. Well, compiler writing is meta-addictive!
15:24:35
hectorhonn
i'm halfway through practical common lisp, and i really like how little noise there is in the code
15:24:56
ogamita
And then, lisp compiler writing, knowing that lisp is a meta programming programming language, is meta*-addictive!
15:26:32
ogamita
You start because you like parser generator, but soon with compilers, you find that you can develop a multitude of very sophisticated algorithms! register allocation, code optimization, etc with very sophisticated and beautiful mathematical algorithms (graphs, genetic programming, topology, etc).
15:27:56
ogamita
hectorhonn: you can try to write quines first. If you can bear the stuff, then you may do some parsers, and see how you support it.
15:28:34
jackdaniel
hectorhonn: there are many simple tasks in compiler maintanance approachable even for beginner programmers
15:30:02
jackdaniel
for instance this: https://gitlab.com/embeddable-common-lisp/ecl/issues/458 ; it is just about adding some ifs in C code
15:31:45
jackdaniel
last week someone sent me $4.20 via paypwal with a note, that the next bewerage is on him - that was increadibly nice :)
15:34:15
jackdaniel
common lisp foundation made a successful fundraiser not that long ago (and afaik they are planning a next one)
15:36:48
jackdaniel
there is not much to talk about at the moment, it is a foundation not a general discussion channel :)
15:38:02
jackdaniel
some people do, some don't. there are some open positions if you are willing to move around the world.
15:39:25
jackdaniel
I'm not sure what that means, but if it is about "fizz buzz enterprise edition" I had a good laugh looking at the repository
15:40:40
hectorhonn
jackdaniel: i did some java stuff, for example spring framework is enterprisy.. how to put it. things are well polished and not "hacky"
15:40:45
schweers
hectorhonn: Also, some people are lucky and work alone on some program or other. That is how I got to use CL at my day job.
15:43:36
schweers
Well, I was looking for such a position. But they are quite scarce, at least where I live.
15:44:00
hectorhonn
i actually started looking into lisp languages after getting bored of writing boilerplate
15:44:35
pfdietz
I use CL professionally, and have for more than two decades. But you do have to be willing to move.
15:47:32
schweers
Well, some of our legacy software is written in scheme, and the same person who wrote this is still on the team (which is good!). Together we are replacing said legacy. But I’m working on something somewhat isolated (i.e. he doesn’t need to read or modify my code), so I can use more or less whatever I want. I guess I could have used rust or go or whatever instead.