jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
rumbler31 has quit [Ping timeout: 250 seconds]
jochens has joined #lisp
<_death> I think if you use CLOS, then it's reasonable to expect the implementation to support conditions as classes.. do you know of implementations where this expectation is not met?
<jasom> reading chapter 9, it relatively clear that define-condition is only guaranteed to create a subtype of cl:condition, not a subclass.
<jasom> however it is ambiguous if whether or not the standardized condition types are required to be classes.
robotoad has quit [Quit: robotoad]
<_death> if you don't use CLOS, and you use or may want to use a CLOS-less implementation, then this does not exclude usage of the condition system by itself
jochens has quit [Ping timeout: 246 seconds]
Bicyclidine is now known as Bike
<jasom> _death: given that all modern implementations I'm aware of create a class for each define-condition, it's mostly academic, but it is a strange ambiguity
<aeth> jasom: I thought that that wasn't the case for SBCL?
<_death> jasom: well, the standard is not perfect.. it's a bit of a spaghetti in this matter.. so the next best thing is to make reasonable assumptions that agree with it
<jasom> aeth: it does not create a standard-class but it does create a class
<phadthai> the standard being this way would also allow an implementation to use faster special classes than clos ones for conditions I guess
<jasom> (define-condition foo (condition) ()) (class-of (make-condition 'foo)) => #<SB-PCL::CONDITION-CLASS COMMON-LISP-USER::FOO>
<jasom> and after that: (subtypep 'standard-class *) => NIL; T
<jasom> orr rather (subtypep * 'standard-class)
<Bike> yeah, condition-class and standard-class are both subclasses of slot-class (and pcl-class, and class)
<jasom> hmm, I think I found a non-conformance in sbcl
<Bike> they have the same slots, i think, so i guess the difference is in some generic function behavior
<_death> jasom: you also missed another class-of ;)
<jasom> (subtypep (class-of 2/3) 'class)
robotoad has joined #lisp
<jasom> nevermind, that's missing a type-of
frgo has joined #lisp
<_death> (mapcar #'class-name (sb-mop:class-precedence-list (class-of (class-of (make-condition 'foo)))))
<jasom> or just (describe 'foo) for that matter
<jasom> but I *think* it would be conforming for this to be true: (eql (class-of (make-condition 'foo)) (class-of (make-condition 'condition)))
<jasom> because define-condition only guarantees to introduce a subtype, not a subclass
frgo has quit [Ping timeout: 244 seconds]
fortitude has quit [Ping timeout: 268 seconds]
dale has quit [Quit: dale]
danysdragons_ has joined #lisp
danysdragons_ has quit [Quit: Page closed]
danysdragons_ has joined #lisp
elfmacs has joined #lisp
permagreen has quit [Remote host closed the connection]
permagreen has joined #lisp
quipa has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Remote host closed the connection]
torbo has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 244 seconds]
danysdragons_ has quit [Quit: Page closed]
danysdragons_ has joined #lisp
svillemot has quit [Ping timeout: 246 seconds]
svillemot has joined #lisp
notzmv has joined #lisp
Kundry_Wag has joined #lisp
dorketch has quit [Quit: WeeChat 2.1]
Kundry_Wag has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
npr has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
torbo has quit [Remote host closed the connection]
anewuser has joined #lisp
rumbler31 has joined #lisp
bmansurov has left #lisp ["Later"]
jochens has joined #lisp
Pixel_Outlaw has joined #lisp
jochens has quit [Ping timeout: 240 seconds]
dddddd has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
nanoz has joined #lisp
Necktwi has quit [Quit: leaving]
nanoz has quit [Ping timeout: 250 seconds]
dale has joined #lisp
elderK has joined #lisp
shifty has quit [Ping timeout: 246 seconds]
rumbler31 has quit [Remote host closed the connection]
Necktwi has joined #lisp
mathrick has joined #lisp
danysdragons_ has quit [Ping timeout: 256 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
rnmhdn has joined #lisp
atgreen has joined #lisp
msb has quit [Ping timeout: 268 seconds]
msb has joined #lisp
smokeink has joined #lisp
lagagain has joined #lisp
kdas_ has joined #lisp
kushal has quit [Ping timeout: 256 seconds]
iovec has joined #lisp
msb has quit [Ping timeout: 250 seconds]
msb has joined #lisp
rnmhdn has quit [Ping timeout: 250 seconds]
arescorpio has joined #lisp
anewuser has quit [Ping timeout: 268 seconds]
ogamita has quit [Ping timeout: 252 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
CCDell has joined #lisp
findiggle has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
Kundry_Wag has quit [Ping timeout: 244 seconds]
<beach> Good morning everyone!
elfmacs has quit [Ping timeout: 246 seconds]
<adlai> good morning beach
<adlai> question of the day: do you think of mathematics as lisp-2 or lisp-n>=3 ?
<beach> I hope you are not asking me. I have not had my coffee yet.
<fouric> quicklisp is still refusing to locate my local projects, and register-local-projects hangs
<fouric> any ideas?
<beach> Can you break out of it when it hangs?
<beach> If so, you can examine a backtrace and see what it's doing.
rnmhdn has joined #lisp
beach has quit [Disconnected by services]
Kundry_Wag has joined #lisp
beach has joined #lisp
epr0xe has joined #lisp
epr0xe has left #lisp [#lisp]
Kundry_Wag has quit [Ping timeout: 245 seconds]
mingus has quit [Ping timeout: 268 seconds]
<fouric> hmmmm lemme re-launch in terminal, idk where the backtrace got printed in terminal
<fouric> hmmmmmmmmmm now sbcl is hanging
<fouric> 58 frames lol
sauvin has joined #lisp
<fouric> "(QUICKLISP-CLIENT:LOCAL-PROJECTS-SEARCHER "asdf")"
<fouric> hmmmm
s-geometry has joined #lisp
Bike has quit [Quit: Lost terminal]
CCDell has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 244 seconds]
Kundry_Wag has joined #lisp
<fouric> it's blocking on a call to stat
<fouric> on a directory
<fouric> SB-UNIX:UNIX-LSTAT on a regular lisp file
<fouric> WAIT, there was a recursive symbolic link
<fouric> wtf
marvin2 has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Ping timeout: 250 seconds]
permagreen has quit [Remote host closed the connection]
shifty has joined #lisp
<fouric> i used find and it didn't say that that was there...
esper0s has quit [Remote host closed the connection]
Necktwi has quit [Quit: leaving]
<beach> Isn't that what I suggested yesterday?
npr has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<beach> 7:21:01 beach Wild guess: circular symlinks?
* beach is starting to think that fouric is /ignore-ing him for some reason.
<fouric> beach: no no no i'm not
<fouric> i took the backtrace on your suggestion
<fouric> and i DID check for symlinks
<fouric> someone suggested using find -locate or something
<fouric> and it didn't say that i had a circular ref
<beach> I see.
Inline has quit [Quit: Leaving]
orivej has joined #lisp
lagagain has quit [Quit: Connection closed for inactivity]
vlatkoB has joined #lisp
arescorpio has quit [Ping timeout: 246 seconds]
Kundry_Wag has joined #lisp
moei has quit [Quit: Leaving...]
Kundry_Wag has quit [Ping timeout: 250 seconds]
emaczen has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 250 seconds]
mrcom has quit [Read error: Connection reset by peer]
elfmacs has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 245 seconds]
frgo has joined #lisp
frgo has quit [Ping timeout: 244 seconds]
dale has quit [Quit: dale]
aindilis has quit [Read error: Connection reset by peer]
themsay has quit [Ping timeout: 268 seconds]
lemoinem has quit [Killed (adams.freenode.net (Nickname regained by services))]
lemoinem has joined #lisp
mrcom has joined #lisp
Kundry_Wag has joined #lisp
<fouric> ok, all the trauma was worth it - buildapp works again
<fouric> \o/
Kundry_Wag has quit [Ping timeout: 250 seconds]
aindilis has joined #lisp
stardiviner has joined #lisp
Arcaelyx has joined #lisp
kajo has quit [Ping timeout: 252 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
<no-defun-allowed> woohoo my chip8 interpreter works
<beach> Congratulations!
<no-defun-allowed> thanks (: i think i implemented the lot in 252loc
rumbler31 has joined #lisp
slyrus1 has quit [Ping timeout: 240 seconds]
permagreen has joined #lisp
pbodev1 has quit [Read error: Connection reset by peer]
Necktwi has joined #lisp
<splittist> 256 might be more thematic...
<splittist> morning
<beach> Hello splittist.
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
Kundry_Wag has joined #lisp
JohnMS_WORK has joined #lisp
wigust has joined #lisp
robotoad has quit [Quit: robotoad]
Kundry_Wag has quit [Ping timeout: 250 seconds]
wigust- has quit [Ping timeout: 250 seconds]
pbodev1 has joined #lisp
pbodev1 has quit [Excess Flood]
rumbler31 has quit [Remote host closed the connection]
s-geometry has quit [Remote host closed the connection]
s-geometry has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace_ has joined #lisp
schweers has joined #lisp
frgo has joined #lisp
Kundry_Wag has joined #lisp
jsc has joined #lisp
xkapastel has joined #lisp
jsc is now known as status402
s-geometry has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 250 seconds]
s-geometry has joined #lisp
s-geometry has quit [Remote host closed the connection]
msb has quit [Read error: Connection reset by peer]
s-geometry has joined #lisp
msb has joined #lisp
<no-defun-allowed> splittist: ok with debugger it's 256loc
fitzsim has quit [Ping timeout: 245 seconds]
rnmhdn has quit [Ping timeout: 245 seconds]
heisig has joined #lisp
jochens has joined #lisp
powerbit has joined #lisp
vlatkoB has quit [Remote host closed the connection]
vlatkoB has joined #lisp
Kundry_Wag has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 240 seconds]
ogamita has joined #lisp
aoeu has joined #lisp
stardiviner has quit [Quit: WeeChat 2.3]
aoeu has quit [Ping timeout: 256 seconds]
dmiles has quit [Ping timeout: 246 seconds]
varjag has joined #lisp
slyrus1 has joined #lisp
dddddd has joined #lisp
AndreasO has joined #lisp
AndreasO has quit [Remote host closed the connection]
vlatkoB has joined #lisp
francogrex has joined #lisp
<francogrex> an elementary question: I have this (defparameter ind t)
dmiles has joined #lisp
<francogrex> (loop while ind do (block inner ... (loop while do when something (setf ind nil) (return-from inner)...
<francogrex> ind is never set to nil and the outer loop keeps going. why?
<jackdaniel> this snippet oesn't make much sense
<jackdaniel> what is 'something', what is '...', what does "while do" mean? I don't recognize this loop syntax - is "do" a variable here?
<francogrex> jackdaniel: it doesn't make much sens yes
<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
<francogrex> yes would that stop the loop is something is t?
<francogrex> if (something) is t at some point?
<jackdaniel> if (something) returns T, then loop which I have written will end
<francogrex> yes ok then it's clear, (something) is not returning t in my code
<jackdaniel> francogrex: you may even write it like (loop while (null (something)))
angavrilov has joined #lisp
<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)
<ogamita> francogrex: try to write some real example. May be pastebin it (or gists it).
<francogrex> ogamita: it's become more painful since lisppaste was shut down
<ogamita> gists are nice.
<ogamita> sprunge.us too but sometimes it doesn't work (may be traffic limited).
<francogrex> but anyway fixed it now
<ogamita> ok
<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
anewuser has joined #lisp
Kundry_Wag has joined #lisp
francogrex has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 240 seconds]
vlatkoB has quit [Remote host closed the connection]
vlatkoB has joined #lisp
marvin2 has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Lycurgus has joined #lisp
vlatkoB has joined #lisp
shangul has joined #lisp
shangul has left #lisp ["I just left"]
hhdave has joined #lisp
mingus has joined #lisp
shangul has joined #lisp
robdog_ has joined #lisp
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
shangul has quit [Quit: sudo rm -rf /usr/*]
moei has joined #lisp
Kundry_Wag has joined #lisp
gxt has quit [Quit: WeeChat 2.3]
Kundry_Wag has quit [Ping timeout: 250 seconds]
elfmacs has quit [Ping timeout: 268 seconds]
rnmhdn has joined #lisp
pierpal has joined #lisp
jfb4 has quit [Ping timeout: 268 seconds]
Bike has joined #lisp
kdas_ is now known as kushal
maarhart has joined #lisp
Necktwi has quit [Ping timeout: 240 seconds]
maarhart has quit [Quit: Mutter: www.mutterirc.com]
Kundry_Wag has joined #lisp
edgar-rft has joined #lisp
AndreasO has joined #lisp
AndreasO has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 250 seconds]
kajo has joined #lisp
Necktwi has joined #lisp
elderK has quit [Quit: WeeChat 1.9]
m00natic has joined #lisp
shifty has quit [Ping timeout: 250 seconds]
<ecraven> who was the person working on a EuLisp level0 here?
* jackdaniel
cage_ has joined #lisp
<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.
elfmacs has joined #lisp
<jackdaniel> flip214: could you provide example of the program invocation you have in mind?
Oberon4278 has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 246 seconds]
Lycurgus has quit [Quit: Exeunt]
flip214 has quit [Ping timeout: 246 seconds]
pierpal has quit [Read error: Connection reset by peer]
anewuser has quit [Quit: anewuser]
cage_ has quit [Remote host closed the connection]
cage_ has joined #lisp
rnmhdn has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
Cymew has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
rumbler31 has joined #lisp
rnmhdn has joined #lisp
bendersteed has joined #lisp
rogual has joined #lisp
aindilis has quit [Read error: Connection reset by peer]
flip214 has joined #lisp
aindilis has joined #lisp
nicksmaddog has joined #lisp
francogrex has joined #lisp
<francogrex> Heap exhausted during garbage collection: 0 bytes available, 32 requested.
<francogrex> Gen Boxed Unboxed LgBox LgUnbox Pin Alloc Waste Trig WP GCs Mem-age
<francogrex> strange!
<francogrex> I though GC was actually to reduce the heap
rogual has quit [Quit: Textual IRC Client: www.textualapp.com]
LiamH has joined #lisp
bendersteed has quit [Read error: Connection reset by peer]
rumbler31 has quit [Remote host closed the connection]
<jackdaniel> francogrex: starting sbcl with bigger heap makes a lot of sense (by default it is 1G)
<jackdaniel> i.e to have 2GB set inferior-lisp to "sbcl --dynamic-space-size 2048"
* heisig uses --dynamc-space-size 32000
<shka__> francogrex: unfortunatly, GC requires a little bit of extra memory to actually scan heap
* jackdaniel stares at heisig jelaously
<shka__> but as already pointed out, it is easy to increase heap size
<jackdaniel> alternative is to use clozure cl which is less careless with memory expenses
rnmhdn has quit [Ping timeout: 250 seconds]
Bike is now known as Bicyclidine
rnmhdn has joined #lisp
<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
* schweers uses --dynamic-space-size 250000
robdog_ has quit [Remote host closed the connection]
s-geometry has quit [Read error: Connection reset by peer]
kuwze has quit [Ping timeout: 256 seconds]
rnmhdn has quit [Ping timeout: 246 seconds]
kajo has joined #lisp
<galdor> is there a way to silence some asdf warnings ? the best example would be:
<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.
<galdor> there should be a parameter to control this kind of warning :(
<ogamita> Yes. I use #\. to separate levels of package or system names…
<galdor> some people use #\., other #\-, and asdf is trying to force #\/
<galdor> I can't find any good reason to try to impose something
<_death> and it warns the _user_ of the system rather than its developer ...
<ogamita> :-)
<jackdaniel> (handler-case (asdf:load-system 'cl-ppcre) (asdf:bad-system-name () :foo)) ; this may help
<jackdaniel> (handler-case)
<jackdaniel> but no, it will interrupt the execution
<jackdaniel> nevermind me
<jackdaniel> you need to muffle asdf:bad-system-name warnings
elfmacs has quit [Ping timeout: 240 seconds]
<_death> can do it with handler-bind.. but the other warning I removed just uses a string..
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
<ogamita> Then we can use a user-patch on asdf.
<ogamita> Or make a fork.
<jackdaniel> _death: handler-bind won't muffle it
<_death> (handler-bind ((asdf:bad-system-name #'muffle-warning)) (warn 'asdf:bad-system-name :source-file "foo" :name "foo"))
<jackdaniel> ah, that's what you mean
pierpal has joined #lisp
Bike has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
FreeBirdLjj has joined #lisp
SaganMan has joined #lisp
fitzsim has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
rippa has joined #lisp
warweasle has joined #lisp
FreeBirdLjj has quit [Read error: Connection timed out]
FreeBirdLjj has joined #lisp
kajo has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
rnmhdn has joined #lisp
hectorhonn has joined #lisp
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hectorhonn_ has joined #lisp
hectorhonn_ has quit [Client Quit]
<hectorhonn> hello
graphene has quit [Remote host closed the connection]
<shka__> hectorhonn: good afternoon
<hectorhonn> oh wow its alive
<shka__> sure it is
<shka__> slightly less in weekends
<hectorhonn> ah
<hectorhonn> not sure if im in the right channel
graphene has joined #lisp
<hectorhonn> what's the difference with lisp cafe?
<shka__> #lispcafe is just offtopic of #lisp
<hectorhonn> ooh
<hectorhonn> okay
<hectorhonn> i have a burning question
<hectorhonn> who maintains the CL compilers, and what's their motivation for it?
<shka__> people
<hectorhonn> it must be a tough job
<hectorhonn> different from say, java, corporations pay you
<jackdaniel> you have gcc maintained by folks who are not working for oracle ,)
<ogamita> hectorhonn: compiler writing is one of the most addictive activity in programming.
<ogamita> hectorhonn: You see, programming is addictive, right. Well, compiler writing is meta-addictive!
<jackdaniel> maintaining compilers is not very different than maintaining libraries
<hectorhonn> i'm halfway through practical common lisp, and i really like how little noise there is in the code
<ogamita> And then, lisp compiler writing, knowing that lisp is a meta programming programming language, is meta*-addictive!
<ogamita> Don't try this shit, you will never be able to stop!
<jackdaniel> #1=(meta . #1#) addictive? ;-)
<hectorhonn> hahaha
<hectorhonn> but compilers are hard to write isn't it
<hectorhonn> not like libraries
<schweers> depends on the library)) ;
<pfdietz> Every day, in every way, we are getting meta and meta.
<jackdaniel> compilers are normal computer programs, nothing magical about them
<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).
<jackdaniel> if you had to design a programming language from scratch - that could be harder
<ogamita> jackdaniel: sure. Go write a web site :-0
<ogamita> :-)
<ogamita> or a paycheck program…
<hectorhonn> ogamita: see that already scares me
robdog_ has joined #lisp
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jackdaniel> web sites are computer programs? hm
<pfdietz> Writing compilers is ok. Breaking compilers is great.
<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.
<hectorhonn> you all must be really meta
<jackdaniel> hectorhonn: there are many simple tasks in compiler maintanance approachable even for beginner programmers
<pfdietz> Fixing typos in comments, refilling the lead programmers coffee mug...
<hectorhonn> hahaha
<hectorhonn> that's funny
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
<jackdaniel> for instance this: https://gitlab.com/embeddable-common-lisp/ecl/issues/458 ; it is just about adding some ifs in C code
FreeBirdLjj has quit [Remote host closed the connection]
<hectorhonn> who owns the compilers?
<hectorhonn> sorry if it sounds stupid
<hectorhonn> i mean like, is there a sponsor?
<hectorhonn> gcc has gnu right
<jackdaniel> nobody. some people are sponsoring it by devoting time for development
FreeBirdLjj has joined #lisp
<hectorhonn> wow
<jackdaniel> last week someone sent me $4.20 via paypwal with a note, that the next bewerage is on him - that was increadibly nice :)
<hectorhonn> jackdaniel: you're a maintainer?
<atgreen> I'm a GCC committer
<hectorhonn> hmm, who usually hangs out on #lisp?
<jackdaniel> hectorhonn: of ecl, yes. but we have here maintainers of other CL compilers too
<atgreen> Red Hat puts a lot of $ into GCC
powerbit has quit [Remote host closed the connection]
<hectorhonn> atgreen: because?
<jackdaniel> there is also bountysource and similar compaigns
<atgreen> because it is critically important infrastructure software
<jackdaniel> common lisp foundation made a successful fundraiser not that long ago (and afaik they are planning a next one)
<hectorhonn> there's a common lisp foundation?
rnmhdn has quit [Ping timeout: 268 seconds]
<jackdaniel> yes, check out common-lisp.net
<jackdaniel> there is also a channel #common-lisp.net
<jackdaniel> here on freenode
<hectorhonn> not many people there it seems
xificurC has joined #lisp
robdog_ has quit [Remote host closed the connection]
<jackdaniel> there is not much to talk about at the moment, it is a foundation not a general discussion channel :)
<hectorhonn> haha, true
FreeBirdLjj has quit [Ping timeout: 272 seconds]
robdog_ has joined #lisp
<hectorhonn> are you guys using CL professionally?
nowhere_man has quit [Ping timeout: 252 seconds]
<hectorhonn> is it hard to find jobs for CL?
pierpal has quit [Read error: Connection reset by peer]
<jackdaniel> some people do, some don't. there are some open positions if you are willing to move around the world.
<jackdaniel> the easiest solution is to start your own software company and write in CL
<jackdaniel> (the hard part is to find clients :-)
<hectorhonn> lol
<hectorhonn> CL seems to have no "enterprisy" libraries
Inline has joined #lisp
<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
<hectorhonn> kind of sad, why isn't CL more popular
<beach> hectorhonn: Very likely no single reason.
<hectorhonn> jackdaniel: i did some java stuff, for example spring framework is enterprisy.. how to put it. things are well polished and not "hacky"
<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.
<hectorhonn> schweers: does your employer know?
<schweers> Yes
<schweers>
<jackdaniel> it is not that it is particularily unpopular
<jackdaniel> but it is thought as being unpopular for sure
<schweers> But then again, by collegue uses scheme, so its not too far off.
robotoad has joined #lisp
robdog_ has quit [Ping timeout: 250 seconds]
<schweers> I was hired partly because I know a bit of lisp/scheme/etc
<hectorhonn> wow, that's interesting to hear
<schweers> Well, I was looking for such a position. But they are quite scarce, at least where I live.
<hectorhonn> i actually started looking into lisp languages after getting bored of writing boilerplate
<hectorhonn> schweers: maintaining legacy software?
<pfdietz> I use CL professionally, and have for more than two decades. But you do have to be willing to move.
<schweers> No, replacing legacy software
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<pfdietz> (or work remotely)
fortitude_ has joined #lisp
<hectorhonn> schweers: legacy software written in lisp?
kajo has quit [Ping timeout: 252 seconds]
<hectorhonn> pfdietz: two decades!
<pfdietz> <== not a spring chicken
kajo has joined #lisp
<hectorhonn> hahaha
<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.
<hectorhonn> schweers: i see
<hectorhonn> but you choose lisp because?
<atgreen> I work with banks, and they are running software for wealth management and more written in scheme
<schweers> Because I consider it the best language for most jobs, including what I’d doing.
<schweers> I’m not even doing anything that demands such mad metaprogramming, but nevertheless lisp is simply a very good language.
<hectorhonn> got to agree with that
status402 has quit [Quit: status402]
<hectorhonn> atgreen: i thought scheme is more towards academic stuff
<hectorhonn> i dont know, google said that
<hectorhonn> haha
<atgreen> no, not really
<atgreen> I was hired into my current job to hack on scheme many years ago
<hectorhonn> ooh
<atgreen> I don't code professionally anymore, but use CL for prototyping stuff, and some digital hardware design I play with
<Xach> If you want things to be better, you have to make and do things
<hectorhonn> oh! Xach
<hectorhonn> where have i seen the name
<jackdaniel> hectorhonn: it is in the book you are reading
<Xach> I write a lot about emacs key bindings
<Xach> (just kidding, I am not Xah)
<jackdaniel> quote from him, something about "sexy" I think
<hectorhonn> Xah is the emacs guy right
<hectorhonn> Xah info lee or something
<jackdaniel> "this book is dead sexy" or something in this spirit
<hectorhonn> ohhh
<hectorhonn> yes
<hectorhonn> that book is dead sexy —Xach on #lisp
<Xach> and here it is, 13 years later
<Xach> same old, same old
<hectorhonn> haha
<hectorhonn> 13 years, you must be old now
<ogamita> More and more then…
<ogamita> Barely of age…
<hectorhonn> same as pfdietz
<pfdietz> If you go to one of the job hunting sites, like Monster and the like, and look for Lisp jobs, you will find them occasionally. You'll also get hits for autolisp (which is CAD) and posting that mention Lisp but are really for Clojure and such.
<hectorhonn> im from malaysia
<hectorhonn> i dont think anyone uses lisp here
heisig has quit [Quit: Leaving]
<hectorhonn> all i see is java, node, java, node, c#
<shka__> industry is pretty boring
<hectorhonn> absolutely
<pfdietz> Those would be the more common outsourcing languages. Although CL does get outsourced to (to Ukraine, of all places).
<ogamita> hectorhonn: then find a customer, and start up your own company. As the boss, you'll be able to enforce the use of lisp for all your projects.
<hectorhonn> gotta feed the bills though
<hectorhonn> haha, then i would difficulty hiring
<ogamita> hence the step 1- find a customer.
<pfdietz> If you want a lisp-like language in a Java environment, look at Clojure.
<ogamita> a _paying_ customer of course.
<ogamita> no, ABCL!
<hectorhonn> hahah
<ogamita> if you want lisp in java, use lisp! ABCL.
<pfdietz> Yes, but Clojure has the job traction.
<Odin-> Clojure is a lisip. It's just not Common Lisp.
<Odin-> -i
<atgreen> kawa is pretty good as well
<hectorhonn> by the way, CL seems to encourage the use of global variables
<hectorhonn> isn't that bad?
<hectorhonn> the earmuffs thing
<beach> hectorhonn: It does not do that.
<jackdaniel> hectorhonn: CL is not very opinionated about using the global variables
<jackdaniel> it just gives you tools to program what you desire to the way you want
<schweers> globals in lisp are not what they are in more mainstream languages
<schweers>
<jackdaniel> it is perfectly suitable for so-called functional programming, oop programming or procedural programming
<francogrex> if you want to continue using your favorite lisp implementation but want to interact with java, use foil
<ogamita> hectorhonn: the fact that we defile global variables with those stars, shows that we don't encourage them at all!
<pfdietz> *earmuffs*
<Odin-> hectorhonn: They have a handful of features that make using them very different from global variables in most other languages.
<ogamita> But it's basic software engineering principle. Don't use globals.
<hectorhonn> francogrex: thanks!
<francogrex> if you still want to translate lips to java code use linj
<hectorhonn> well for example in postmodern
<francogrex> lisp to java => linj
<hectorhonn> *database* is global right
<beach> It is known as a special variable.
<jackdaniel> hectorhonn: nothing prevents you from using a lexical variable. special variable enables you to work with dynamic contexts
<beach> hectorhonn: It is much nicer to use than the global variables of other languages.
vibs29 has quit [Ping timeout: 268 seconds]
<hectorhonn> what happens if more than one thread calls connect?
<hectorhonn> hmm, on second thought, maybe there is some mutex in there
<hectorhonn> haha ok i dont know
vibs29 has joined #lisp
<hectorhonn> sorry, just a little scary in new pool
<schweers> You can have threading issues with lexical variables as well.
<beach> hectorhonn: Bindings to special variables are per-thread so they are quite safe compared to global variables.
<ogamita> Notably if you try to pass closures from one thread to another…
<schweers> ogimata: or even if you are creating threads which start with a closure, and you think every one closes over a different variable, but they don’t ...
<hectorhonn> does the compiler give a warning?
<jackdaniel> schweers: lolol idiom: (let ((arg :something)) (lambda () (let ((arg arg)) ,@body))) gives you nice workaround for that
<jackdaniel> ach, I might have misunderstood what you said
<schweers> jackdaniel: I know, I ended up with something like that. You guys here helped me figure that one out, I’m still grateful for that :)
<hectorhonn> (blur)
<schweers> eh, no, not quite that, but I know what you mean
robotoad has quit [Quit: robotoad]
FreeBirdLjj has joined #lisp
<hectorhonn> given a list, how to i map only the nth element?
<hectorhonn> *do
<beach> What does it mean to map one element?
<hectorhonn> er
<jackdaniel> that ↑
<hectorhonn> postmodern gave me a list
<beach> hectorhonn: return it?
<jackdaniel> (funcall foo (nth 32 your-list)) ;?
<beach> clhs nth
<pfdietz> Or, more generally, elt
<pfdietz> clhs elt
<hectorhonn> but, one of the element, is an integer, which i want to convert to a date string
<hectorhonn> at the same time i want to keep the other elements as they are
<beach> hectorhonn: Do you know which element that is? I.e., its order in the list?
<hectorhonn> yes
<pfdietz> Converting an integer to a date string is a problem orthogonal to where that integer came from.
<hectorhonn> say, 5th
<beach> hectorhonn: Then NTH or ELT as others suggested.
<beach> or, FIFTH in this case.
<beach> clhs fifth
<hectorhonn> does funcall modify the original list?
<beach> hectorhonn: Maybe you should show an example of what you mean.
<beach> hectorhonn: NTH, ELT, and FIFTH do not modify the list.
<beach> hectorhonn: They return one element of the list.
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<pfdietz> That element is a value in and of itself, it's not a pointer to the list.
<beach> hectorhonn: But, these are questions that are a bit to basic for #lisp. I suggest you ask them in #clschool instead.
<hectorhonn> wait, let me try to make the example..
<hectorhonn> ok, i'll head there
<pfdietz> (let ((x (list 1 2 3))) (let ((y (elt x 1))) (setf y 10) x)) ==> (1 2 3), not (10 2 3)
<jackdaniel> (let ((element (nth 32 list))) (setf (nth 32 list) (to-date element)))
<jackdaniel> something like that?
<pfdietz> Er, (1 10 3)
<pfdietz> not
<jackdaniel> (let ((element #1=(nth 32 list))) (setf #1# (to-date element)) list)
<pfdietz> Now you're being confusing :)
<beach> Heh, this is getting interesting...
<pfdietz> Often when these questions get asked, the hard part is figuring out what led to the question, not answering the question itself.
smokeink has quit [Ping timeout: 268 seconds]
<pfdietz> Teaching is hard
<hectorhonn> haha, sorry ><
<hectorhonn> asking in clschool
themsay has joined #lisp
<hectorhonn> problem solved by beach
<hectorhonn> (defun ff (list position function) (append (subseq list 0 position) (funcall function) (nth list position) (subseq list (1+ position))))
<beach> Untested.
themsay has quit [Ping timeout: 268 seconds]
<beach> Here is another (defun ff (list position function) (loop for element in list for i from 1 collect (if (= i position) (funcall function element) element)))
<hectorhonn> hmm it says, ; Derived type of LIST is (VALUES SEQUENCE &OPTIONAL), conflicting with its asserted type UNSIGNED-BYTE.
<beach> Also untested.
<beach> Probably the argument order of NTH.
<hectorhonn> let me try to figure it out
<pfdietz> The best solution, though, is seeing if one of the de facto standard libraries has a function that does what you want, and using that.
<beach> hectorhonn: Try (nth position list) instead.
<beach> hectorhonn: I don't usually write code using IRC, so I don't have the usual help from SLIME and the Common Lisp implementation.
robotoad has joined #lisp
doubledup has joined #lisp
<hectorhonn> beach: nth position list compiles
doubledup has quit [Remote host closed the connection]
<hectorhonn> why does it say invalid number of arguments though?
<hectorhonn> (ff (list 1 2 3 4) 0 'foo)
<hectorhonn> lol should i go back to clschool
<hectorhonn> ah, parens problem
<hectorhonn> got it!
<hectorhonn> (defun ff (list position function) (append (subseq list 0 position) (list (funcall function (nth position list))) (subseq list (1+ position))))
<hectorhonn> (ff (list 1 2 3 4) 3 'foo)
<hectorhonn> a bit long, but works
<hectorhonn> beach: thanks again!
<hectorhonn> pfdietz: i looked in the CL quick reference but didn't find any.. might have missed it
<pfdietz> Could be there is no such function. Hmm.
<hectorhonn> anyway.. good night guys :)
<hectorhonn> CL really is awe-inspiring
<hectorhonn> i should hang out here more often
<hectorhonn> <3
hectorhonn has quit [Quit: Page closed]
FreeBirdLjj has joined #lisp
lonjil has quit [Ping timeout: 252 seconds]
Cymew has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 250 seconds]
orivej has joined #lisp
marvin2 has quit [Ping timeout: 240 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
jochens has quit [Remote host closed the connection]
lonjil has joined #lisp
schweers has quit [Ping timeout: 260 seconds]
themsay has joined #lisp
frgo has quit [Remote host closed the connection]
themsay has quit [Ping timeout: 250 seconds]
hhdave has quit [Ping timeout: 244 seconds]
Zaab1t has joined #lisp
jack_rabbit has quit [Ping timeout: 268 seconds]
gxt has joined #lisp
graphene has quit [Remote host closed the connection]
Zaab1t has quit [Client Quit]
rnmhdn has joined #lisp
marvin2 has joined #lisp
graphene has joined #lisp
sjl has joined #lisp
<pfdietz> Oh yay, December QL dist is out.
iskander has quit [Quit: Quit]
<beach> Great!
<pfdietz> static-dispatch — Static generic function dispatch for Common Lisp.
<jackdaniel> I think that inlined-generic-functions did a similar thing
<pfdietz> See comments at that github for why this is different
astronavt has joined #lisp
<jackdaniel> thanks (looking)
iskander has joined #lisp
<jackdaniel> providing a table with benchmarks for comparison would be a nice touch
<beach> I wonder why the MOP machinery can't be used and a hash table is used instead.
frgo has joined #lisp
<jackdaniel> beach: this excerpt addresses this question: "the metaclass is changed from the standard generic function metaclass which in turn prevents certain optimizations, of the dynamic generic function dispatch, from being performed by the compiler." (part of comparison with inlined-generic-funcitons
frgo has quit [Ping timeout: 245 seconds]
m00natic has quit [Remote host closed the connection]
<pfdietz> This suggests that gf metaclasses need additional infrastructure to support these optimizations (perhaps in an implementation-dependent way).
francogrex has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
graphene has quit [Remote host closed the connection]
Necktwi has quit [Ping timeout: 246 seconds]
graphene has joined #lisp
Necktwi has joined #lisp
themsay has joined #lisp
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #lisp
themsay has quit [Read error: Connection reset by peer]
sauvin has quit [Remote host closed the connection]
xkapastel has joined #lisp
themsay has joined #lisp
Essadon has joined #lisp
rumbler31 has joined #lisp
rnmhdn has quit [Ping timeout: 268 seconds]
sarkic has joined #lisp
rnmhdn has joined #lisp
rnmhdn has quit [Ping timeout: 272 seconds]
milanj has joined #lisp
themsay has quit [Ping timeout: 240 seconds]
themsay has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
Lycurgus has joined #lisp
frgo has joined #lisp
ealfonso has quit [Disconnected by services]
themsay has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
eminhi has joined #lisp
frgo has quit [Read error: No route to host]
frgo has joined #lisp
Zaab1t has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 246 seconds]
themsay has joined #lisp
themsay has quit [Read error: Connection reset by peer]
themsay has joined #lisp
<jasom> fouric: late now I know, but the following should find symlink loops: find . -follow -printf ""
yvy has joined #lisp
Kundry_Wag has joined #lisp
kajo has quit [Ping timeout: 260 seconds]
pjb has joined #lisp
Kundry_Wag has quit [Ping timeout: 250 seconds]
kajo has joined #lisp
fortitude has joined #lisp
fortitude_ has quit [Ping timeout: 240 seconds]
emar has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Younder has joined #lisp
<Younder> coq has a new logic on homotopy type theory called HoTT
<Younder> From before I had ACL2 and Isablelle with HOL
pierpal has joined #lisp
<Younder> I say this in remembrance of Vladimir Voevodsky a brilliant mathematician who died before his time. This is his legacy.
varjag has joined #lisp
<Younder> Homtopy type theory, the univalent theorem and a program at Princeton Institute of Advanced Study for continuing it.
ealfonso has joined #lisp
dyelar has quit [Quit: Leaving.]
ealfonso has quit [Read error: Connection reset by peer]
ealfonso has joined #lisp
orivej has quit [Ping timeout: 250 seconds]
cage_ has quit [Remote host closed the connection]
nowhere_man has joined #lisp
shifty has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
Younder has quit [Quit: Leaving]
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
figurelisp has joined #lisp
<figurelisp> CL does not have concurrency?
<no-defun-allowed> Not in the standard but lparallel and Bordeaux threads are good starting points.
<figurelisp> so when common lisp was popular people used these kind of libraries to handle concurrency?
notzmv has quit [Ping timeout: 250 seconds]
<no-defun-allowed> Sorry, when lisp was popular?
<no-defun-allowed> Well, probably not before the AI winter, concurrent machines probably had non-generic designs since those were expensive and new.
<no-defun-allowed> Lisp machines could do threads but were single core machines.
<figurelisp> lisp was popular back in time, but isn't now. Sorry if i got it wrong
<pfdietz> There's a common model of concurrency in CLs now, where special variables dynamically bound in a thread are thread local.
eminhi has quit [Ping timeout: 250 seconds]
<pfdietz> And I think there's de facto compatibility of the various thread primitives, at least through a compatibility layer?
Kundry_Wag has joined #lisp
<no-defun-allowed> Bordeaux threads is probably that layer.
yvy has quit [Read error: Connection reset by peer]
<_death> figurelisp: there were also Lisp dialects for concurrency.. like starlisp or qlisp
yvy has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
<figurelisp> i see
<figurelisp> I am still in my very early lisp phases. It was just that this question popped in my head
eminhi has joined #lisp
figurelisp has left #lisp [#lisp]
drewes has joined #lisp
ealfonso has quit [Ping timeout: 252 seconds]
eminhi has quit [Quit: leaving]
drewes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lycurgus has quit [Quit: Exeunt]
powerbit has joined #lisp
powerbit has quit [Excess Flood]
k has joined #lisp
powerbit has joined #lisp
powerbit has quit [Excess Flood]
powerbit has joined #lisp
powerbit has quit [Excess Flood]
notzmv has joined #lisp
powerbit has joined #lisp
powerbit has quit [Excess Flood]
Kundry_Wag has joined #lisp
orivej has joined #lisp
powerbit has joined #lisp
notzmv has quit [Ping timeout: 250 seconds]
Kundry_Wag has quit [Ping timeout: 246 seconds]
kajo has quit [Ping timeout: 252 seconds]
nicksmaddog has quit [Ping timeout: 245 seconds]
slyrus1 has quit [Ping timeout: 240 seconds]
maarhart has joined #lisp
maarhart has quit [Client Quit]
CCDell has joined #lisp
iAmDecim has joined #lisp
jurov_ has joined #lisp
arbv has quit [Ping timeout: 250 seconds]
xristos has quit [Ping timeout: 250 seconds]
Gnuxie[m] has quit [Ping timeout: 250 seconds]
lowryder has quit [Ping timeout: 250 seconds]
jdz has quit [Ping timeout: 250 seconds]
gingerale has quit [Ping timeout: 250 seconds]
jurov has quit [Ping timeout: 250 seconds]
LiamH has quit [Quit: Leaving.]
gingerale has joined #lisp
Bike has quit []
kajo has joined #lisp
megalography has joined #lisp
irdr has quit [Remote host closed the connection]
irdr has joined #lisp
Zaab1t has quit [Quit: bye bye friends]
nicksmaddog has joined #lisp
sarkic has quit [Remote host closed the connection]
shifty has quit [Ping timeout: 240 seconds]
emaczen has joined #lisp
Kundry_Wag has joined #lisp
jurov_ is now known as jurov
Kundry_Wag has quit [Ping timeout: 250 seconds]
makomo has quit [Ping timeout: 272 seconds]
iAmDecim has quit [Ping timeout: 252 seconds]
iAmDecim has joined #lisp
graphene has quit [Remote host closed the connection]
yvy has quit [Read error: Connection reset by peer]
graphene has joined #lisp
nicksmaddog has quit [Quit: Leaving]
scymtym has quit [Ping timeout: 252 seconds]
Kaisyu7 has joined #lisp
astronavt_ has joined #lisp
astronavt has quit [Ping timeout: 250 seconds]
varjag has quit [Ping timeout: 272 seconds]
astronavt__ has joined #lisp
Kundry_Wag has joined #lisp
jack_rabbit has joined #lisp
Kundry_Wag has quit [Ping timeout: 250 seconds]
astronavt_ has quit [Ping timeout: 268 seconds]
varjag has joined #lisp
mrcom has quit [Read error: Connection reset by peer]
Bicyclidine is now known as Bike
varjag has quit [Ping timeout: 268 seconds]
astronavt_ has joined #lisp
jasmith has quit [Quit: Leaving]
astronavt__ has quit [Ping timeout: 268 seconds]
meepdeew has quit [Remote host closed the connection]
mrcom has joined #lisp
astronavt_ is now known as astronavt