jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
quazimodo has quit [Quit: leaving]
quazimodo has joined #lisp
Christ0pher has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
jonatack has quit [Quit: jonatack]
pillton has quit [Read error: Connection reset by peer]
grobe0ba has joined #lisp
pillton has joined #lisp
grobe0ba has quit [Client Quit]
jonatack has joined #lisp
tamarindo has joined #lisp
jonatack has quit [Ping timeout: 258 seconds]
jonatack has joined #lisp
Necktwi has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
grobe0ba has joined #lisp
grobe0ba has quit [Quit: ZNC 1.7.4 - https://znc.in]
grobe0ba has joined #lisp
dbotton has quit [Read error: Connection reset by peer]
dbotton_ has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
iissaacc has quit [Ping timeout: 256 seconds]
catchme has quit [Quit: Connection closed for inactivity]
Jeanne-Kamikaze has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
Fare has joined #lisp
oxum has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
oxum has quit [Ping timeout: 256 seconds]
pi123 has joined #lisp
dbotton has joined #lisp
pi37 has joined #lisp
pi123 has quit [Read error: Connection reset by peer]
ex_nihilo has joined #lisp
pi37 has quit [Read error: Connection reset by peer]
pi123 has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
Fare has joined #lisp
pi37 has joined #lisp
torbo has quit [Read error: Connection reset by peer]
torbo has joined #lisp
pi123 has quit [Read error: Connection reset by peer]
torbo has quit [Read error: Connection reset by peer]
torbo has joined #lisp
Lord_of_Life has joined #lisp
Lord_of_Life_ has quit [Ping timeout: 260 seconds]
aartaka has quit [Read error: Connection reset by peer]
wxie has joined #lisp
TCZ has joined #lisp
pi37 has quit [Read error: Connection reset by peer]
edgar-rft has quit [Quit: Leaving]
pi123 has joined #lisp
edgar-rft has joined #lisp
dbotton has quit [Remote host closed the connection]
aartaka has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
jgkamat has quit [Ping timeout: 256 seconds]
jgkamat has joined #lisp
dbotton has joined #lisp
dbotton_ has quit [Ping timeout: 246 seconds]
wxie has quit [Ping timeout: 272 seconds]
devon has quit [Ping timeout: 256 seconds]
jprajzne has quit [Quit: jprajzne]
TCZ has quit [Quit: Leaving]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jprajzne has joined #lisp
Lycurgus has joined #lisp
EvW has quit [Ping timeout: 264 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
asdflkj has quit [Ping timeout: 260 seconds]
jprajzne has quit [Quit: jprajzne]
oxum has joined #lisp
jprajzne has joined #lisp
judson_ has joined #lisp
torbo has quit [Read error: Connection reset by peer]
torbo has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jprajzne has quit [Client Quit]
shifty has joined #lisp
torbo has quit [Read error: Connection reset by peer]
Lycurgus has quit [Quit: Exeunt]
torbo has joined #lisp
gbr_ has joined #lisp
pillton has quit [Read error: Connection reset by peer]
gbr_ has quit [Ping timeout: 246 seconds]
judson_ has joined #lisp
wxie has joined #lisp
toorevitimirp has joined #lisp
oxum has joined #lisp
<billstclair> ioa: At the request of my one paid backer, I have renamed iSlime to Wilfred. It ostensibly stands for "Web Lisp FRont EnD", but is more a pun on "Fred" the Emacs clone inside of Macintosh Common Lisp, which I worked on and in from 1990 through 1997. https://github.com/billstclair/Wilfred
shifty has quit [Ping timeout: 246 seconds]
shifty has joined #lisp
taniguchisan has joined #lisp
<moon-child> billstclair: why clojure instead of jscl
<moon-child> ?
<edgar-rft> I was named Edgar because when I was made my parents still were using Ed.
<billstclair> moon-child Because this is the first time I heard about jscl.
<moon-child> :)
<billstclair> It will be hard to convince myself to NOT use Elm, because I know and love it. Whatever I use has to be strongly typed and have a sizable library.
<billstclair> edgar-rft: Heh
<moon-child> if you wanna use elm, use elm. Why not?
<edgar-rft> Because I don't wanna be named Elmar.
<billstclair> moon-child: jscl is very cool. But I'm eventually going to need Emacs Lisp in JS, not Common Lisp. I may well settle on Elm, but I'm going to give ClojureScript a try, since that will likely be more natural for other Wilfred users to hack.
<billstclair> But then, Clojure is not Common Lisp. It only looks like it, sort of.
<billstclair> Elm is more like Haskell.
<moon-child> what do you mean, you're going to need emacs lisp in js rather than common lisp?
<moon-child> do you mean, you want to support code written in actual elisp? Easier to build compat shims from cl than from another language
<moon-child> or, you want something with good integration with js? In that case maybe look at parenscript
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
<billstclair> I've used parenscript. It's a nicer syntax, but has all the drawbacks. If Elm copies, it NEVER gets run-time errors. You may be right that an elisp package for jscl would be easier to write than elisp in Elm or ClojureScript. My goal is indeed to enable existing elisp code to work in Wilfred. But that's a long time from now. It will initially use CodeMirror. Only when that works will turn that into an Emacs subset, and
<billstclair> then, if I'm alive long enough, or a few others decide to help, clone.
<billstclair> If Elm COMPILES, it never gets run-time errors.
<mfiano> jscl has some crippling issues
<billstclair> Do tell
oxum has quit [Remote host closed the connection]
<mfiano> Off hand, try 1d999 in the repl. It will not signal a condition, and just freeze the process/tab
<billstclair> It's not as if interpreted lisps are that hard to write. Most of elisp-in-Elm would be elisp.
<imode> thoughts on concatenative lisps?
<billstclair> Ah, so it suffers the same problem as almost all JS.
<billstclair> JS isn't a bad compiler target, but nobody should EVER write anything but low-level stuff in it
<billstclair> imode:
<billstclair> What's a concatenative lisp?
* mfiano reported that issue and others quite a few years ago
<billstclair> A few YEARS ago? Guess it's not active, eh?
<imode> billstclair: one that use postfix notation instead of prefix notation.
<billstclair> I'm not going to worry about elisp-in-js for now, anyway.
<billstclair> Ah. HP calculator lisp. I remember writing that kind of code as part of my second Scheme interpreter on the PDP-11, back in 1979. The second one was built on a software virtual memory, which turned the PDP-11's 16-bit address space into 24 bits, with demand paging.
<billstclair> Postfix lisp was NOT fun to write.
<imode> eh, less RPL and more Joy.
<billstclair> Of course at a low level, that's what happens. Push arguments, maybe push continuation, jump to function.
<imode> features a small lisp interpreter.
<billstclair> Lambda: The Ultimate GOTO
<billstclair> Must sleep. Buying a Ford F-150 tomorrow, so I probably won't sleep much, but I'll try.
taniguchisan has quit [Quit: WeeChat 2.3]
bilegeek has quit [Quit: Leaving]
Stanley00 has joined #lisp
Bike has quit [Quit: Lost terminal]
thmprover has quit [Quit: Up, up, and away]
Nilby has quit [Read error: Connection reset by peer]
akoana has left #lisp ["Leaving"]
jprajzne has joined #lisp
Alfr has joined #lisp
<beach> Good morning everyone!
Alfr_ has quit [Ping timeout: 260 seconds]
wxie has quit [Ping timeout: 260 seconds]
<beach> imode: This channel is dedicated to Common Lisp. There is no widely agreed-upon definition of what "Lisp" means, so it could be debated endlessly. Common Lisp, on the other hand, is quite well defined.
shifty has quit [Ping timeout: 258 seconds]
imode has left #lisp ["WeeChat 2.9"]
shifty has joined #lisp
pillton has joined #lisp
<edgar-rft> AFAIK Lisp is when you speak the eth with thome funny thound.
oxum has joined #lisp
kiroul has quit [Ping timeout: 260 seconds]
oxum has quit [Remote host closed the connection]
aartaka has joined #lisp
karlosz has quit [Ping timeout: 260 seconds]
Codaraxis has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
Bhartrihari has left #lisp ["Disconnected: closed"]
shifty has joined #lisp
imode has joined #lisp
Bhartrihari has joined #lisp
rumpelszn has quit [Ping timeout: 260 seconds]
rumpelszn has joined #lisp
jprajzne has quit [Quit: jprajzne]
iissaacc has joined #lisp
jprajzne has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shifty has quit [Ping timeout: 246 seconds]
shifty has joined #lisp
sjl has quit [Ping timeout: 258 seconds]
judson_ has joined #lisp
oxum has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shka_ has joined #lisp
judson_ has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aartaka has joined #lisp
space_otter has joined #lisp
skapata has quit [Remote host closed the connection]
Lycurgus has joined #lisp
sjl has joined #lisp
Lycurgus has quit [Quit: Exeunt]
galex-713 has quit [Ping timeout: 272 seconds]
pankajsg has joined #lisp
galex-713 has joined #lisp
wxie has joined #lisp
mmohammadi9812 has quit [Ping timeout: 258 seconds]
narimiran has joined #lisp
shifty has quit [Ping timeout: 272 seconds]
oxum has quit [Remote host closed the connection]
dbotton has quit [Ping timeout: 264 seconds]
Jeanne-Kamikaze has quit [Quit: Leaving]
gbr_ has joined #lisp
v3ga has joined #lisp
gbr_ has quit [Ping timeout: 264 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
gbr_ has joined #lisp
gbr____ has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jprajzne has quit [Quit: jprajzne]
igemnace has joined #lisp
terpri has quit [Ping timeout: 264 seconds]
mmohammadi9812 has joined #lisp
mmohammadi9812 has quit [Read error: Connection reset by peer]
blackadder has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
jprajzne has joined #lisp
justinmcp has joined #lisp
hendursaga has joined #lisp
easye has quit [Read error: Connection reset by peer]
easye` has joined #lisp
karlosz has joined #lisp
easye` has quit [Remote host closed the connection]
easye has joined #lisp
easye has quit [Quit: ERC (IRC client for Emacs 27.1)]
liberliver has joined #lisp
isaac_ has joined #lisp
easye has joined #lisp
iissaacc has quit [Ping timeout: 260 seconds]
wxie has quit [Ping timeout: 272 seconds]
ljavorsk has joined #lisp
terpri has joined #lisp
gaqwas has joined #lisp
wxie has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
<flip214> edgar-rft: that's verbal Lisp. This here is more about the written version, with its grammar and so on.
<phoe> (fetf *foo* (lift *ftandard-output* *ftandard-input*))
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
<flip214> phoe: you want to use the "long s" at the beginning of a word. (ſetf *foo* (list *ſtandard-output* :ſb-bsd-ſockets))
rotty has joined #lisp
<flip214> (sorry, german only: https://de.wikipedia.org/wiki/Fraktursatz)
shifty has joined #lisp
<phoe> why does it look almost like f
<TMA> flip214: You want to uſe it even medially: (ſetf *foo* (liſt *ſtandard-output* :ſb-bſd-ſockets))
<phoe> ...oh
<ecraven> unless in german it's the end of a syllable... wach-ſtube vs. wachs-tube
<flip214> TMA: it's complicated ;)
<ecraven> (so in german, you cannot automatically decide whether to use ſ or s, unless you have a dictionary and understand the meaning ;)
<ck_> shounds vaguely shcottish
<TMA> In Engliſh, while it was ſtill uſ'd, 'twas optionally the caſe as well, if I recall correctly. But let's not ſtray from the channel's ſubject too far.
imode has quit [Ping timeout: 256 seconds]
femi has quit [Ping timeout: 256 seconds]
vaporatorius__ has joined #lisp
vaporatorius has quit [Read error: Connection reset by peer]
femi has joined #lisp
pve has joined #lisp
dmiles has quit [Read error: Connection reset by peer]
dmiles has joined #lisp
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #lisp
froggey has quit [Ping timeout: 268 seconds]
froggey has joined #lisp
gaqwas has quit [Remote host closed the connection]
mmohammadi9812 has joined #lisp
<phoe> true, we will again talk about common liſp now
mmohammadi9812 has quit [Client Quit]
dmiles has quit [Ping timeout: 272 seconds]
<aeth> can someone write aliases for everything in the COMMON-LISP package, but with proper ſ usage? Then it's on topic
<edgar-rft> flip214: only because I thpeak funny doesn't mean that i make grammar mithtakes :-)
heisig has joined #lisp
hendursa1 has joined #lisp
frgo_ has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
frgo has quit [Ping timeout: 260 seconds]
theBlackDragon has quit [Ping timeout: 256 seconds]
<flip214> edgar-rft: is your first name Igor?
zaquest has quit [Quit: Leaving]
<phoe> aeth: two iſues I immediately ſee are CL:&REST and CL:&ALLOW-OTHER-KEYS
<flip214> aeth: that's a TRIVIAL-LIſP package.... but there's no uppercase-version
<phoe> these have special meaning since they are lambda list keywords, and so we would require custom macros that are able to parse those into the actually-CL versions
zaquest has joined #lisp
<flip214> phoe: can't we have multiple entries in a package pointing to the same symbol?
<phoe> so, custom LAMBDA, DEFUN, DEFGENERIC, DEFMETHOD, DEFſETF, ...
<phoe> flip214: entries, what do you mean?
<edgar-rft> flip214: firtht name Igor but me write Edgar
<flip214> well, don't make new symbols, but just import the CL symbols into the LIſP package with other hash-table-keys
<flip214> that's what I'd understand as "alias"
<phoe> yes, but then you will not be able to write &REſT
<phoe> this will be read as a different symbol than CL:&REST
theBlackDragon has joined #lisp
ggole has joined #lisp
<phoe> sigh, we cannot easily fix this problem without custom macros and/or code walking
<phoe> like, it's going to be non-trivial to do (defun foo (&reſt args) (liſt args))
<phoe> aeth: I'm sorry but I must let you down
<aeth> call it non-trivial-liſp then
<phoe> :(
<beach> If y'all are bored, I can give you some tasks to work on.
<easye> beach: exactly.
* phoe hideſ
<flip214> beach: ſome taſks? ;)
TMA has quit [Read error: Connection reset by peer]
dmiles has joined #lisp
easye` has joined #lisp
easye has quit [Read error: Connection reset by peer]
ljavorsk has quit [Ping timeout: 240 seconds]
<edgar-rft> has it thomething to do with THICL?
gothnbass has joined #lisp
shifty has quit [Ping timeout: 258 seconds]
aartaka has joined #lisp
dmiles has quit [Ping timeout: 244 seconds]
<cl-arthur> Looks like y'all changed alphabets tonight.
amirouche has joined #lisp
<flip214> (changle-class input 'αλφάβητο)
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<amirouche> I have troubles building pgloader with ccl, I have compiled ccl, whereis ccl will return: ~/.local/bin. But then in pgloader git tree, I get: https://hastebin.com/ujahapafol.sh
<phoe> huh! how come that it could not find ASDF?
<amirouche> to compile CCL, I used: https://github.com/Clozure/ccl/releases/
<phoe> did you download the 1.12 binary from there, or have you done something else?
mmohammadi9812 has joined #lisp
<amirouche> I git cloned the repo, then dowloaded the linuxx86.tar.gz
<phoe> OK; now the question is why CCL cannot find ASDF
<amirouche> I have done the following https://hastebin.com/sixoxoqige.apache
<amirouche> then ccl-dev$ ./lx86cl64 and inside the REPL, I typed: ? (rebuild-ccl :clean t)
<phoe> yes, this seems OK
<amirouche> somehow ccl end up in ~/.local/bin
orivej has joined #lisp
kaftejiman has joined #lisp
<phoe> somehow?... it shouldn't do that, the rebuild should happen in the ccl-dev directory
<amirouche> ah ok it is a previous install
<amirouche> sorry
<amirouche> How do I install ccl in ~/.local/bin ?
<phoe> try doing MAKE cl=~/ccl-dev/lx86cl64 - I assume this is where your newest CCL is at
<phoe> oh, wait, pgloader will have issues with that...
<phoe> just remove the symlink from .local/bin and make a new one that points to ~/ccl-dev/lx86cl64
<amirouche> ok
<dim> look at the `make save` command in pgloader too, and you can do that manually
<dim> ccl --no-init --load ./src/save.lisp
<dim> that's the tentative new build system for pgloader, all written in lisp, bypassing the need to build and use buildapp, should just work in more cases including using lx86cl64 as the binary name for ccl
edgar-rft has quit [Quit: Leaving]
<amirouche> `make CL=ccl` failed with "missing mssql", I am trying: `make CL=ccl save`.
<pve> Hi! If I wanted to estimate how much space a class definition requires, would this let me calculate a ballpark figure?
oxum has joined #lisp
<phoe> I guess so, yes; compare the room before and after
<amirouche> dim: make CL=ccl save compiled successfuly pgloader :)
<pve> phoe: thanks.. I get 912 bytes. Does that seem plausible?
<pve> seems plausible to me, but I don't really know anything
<phoe> so 114 64-bit words; seems plausible to me as well
dmiles has joined #lisp
oxum has quit [Ping timeout: 272 seconds]
skapata has joined #lisp
ljavorsk has joined #lisp
TMA has joined #lisp
mokulus has joined #lisp
<flip214> when using (ITERATE (FOR (a b c) IN ...) ...) I get "A is assigned but never read"; with a (DECLARE (IGNORE a)) I get "A is being set even though it was declared to be ignored."
<flip214> Is there a way around that?
dvdmuckle has quit [Ping timeout: 258 seconds]
<phoe> looks like fallout from the recent SBCL updates
<phoe> iterate might want to update itself to take this into account though I don't know how exactly; macroexpanding (iterate (for (a b c) in '())) does show that A B C are indeed assigned even though they are not used
<phoe> flip214: try declaring them ignorable?
<phoe> that's what SBCL's LOOP seems to do
<phoe> and that's what iterate might need to do, too
wxie has quit [Ping timeout: 256 seconds]
stoneglass has joined #lisp
ljavorsk_ has joined #lisp
femi has quit [Ping timeout: 246 seconds]
oxum has joined #lisp
ljavorsk has quit [Ping timeout: 256 seconds]
<flip214> phoe: thanks... didn't think that IGNORE vs IGNORABLE would make a difference, but it does
ljavorsk_ has quit [Ping timeout: 240 seconds]
<phoe> I know, right? it should be ITERATE that does this internally
femi has joined #lisp
dvdmuckle has joined #lisp
villanella has joined #lisp
_whitelogger has joined #lisp
dmiles has quit [Ping timeout: 246 seconds]
dmiles has joined #lisp
mokulus has quit [Quit: WeeChat 2.9]
_whitelogger has joined #lisp
niceplace has quit [Ping timeout: 260 seconds]
dbotton has joined #lisp
<flip214> phoe: thanks, got an email ;)
<flip214> also it would be great if ITERATE could be used together with CL-WHO... that means registering ITERATE in CL-WHO, and allowing the CL-WHO:HTM macrolet in ITERATE...
<phoe> hmmmm, that sounds like a sizeable feature request and I don't feel competent to make an issue for *that*
<phoe> useful though
niceplace has joined #lisp
gbr____ has quit [Ping timeout: 240 seconds]
gbr_ has quit [Ping timeout: 260 seconds]
gbr_ has joined #lisp
oxum has quit [Remote host closed the connection]
gbr____ has joined #lisp
oxum has joined #lisp
quazimodo has quit [Read error: Connection reset by peer]
quazimodo has joined #lisp
easye` has quit [Read error: Connection reset by peer]
easye`` has joined #lisp
Stanley00 has quit [Remote host closed the connection]
gbr____ has quit [Ping timeout: 258 seconds]
gbr_ has quit [Ping timeout: 246 seconds]
dvdmuckle has quit [Ping timeout: 256 seconds]
gbr_ has joined #lisp
gbr____ has joined #lisp
tfb has joined #lisp
Nilby has joined #lisp
oxum has quit [Remote host closed the connection]
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 264 seconds]
stoneglass has quit [Quit: stoneglass]
dvdmuckle has joined #lisp
mmohammadi9812 has quit [Ping timeout: 272 seconds]
dmc00 has joined #lisp
tfeb has joined #lisp
oxum has joined #lisp
Bike has joined #lisp
tfb has quit [Ping timeout: 246 seconds]
dmiles has quit [Ping timeout: 264 seconds]
galex-713 has quit [Ping timeout: 272 seconds]
mmohammadi9812 has joined #lisp
oxum has quit [Ping timeout: 246 seconds]
igemnace has quit [Remote host closed the connection]
ldb has joined #lisp
ldb has quit [Client Quit]
<ioa> billstclair: re Wilfred: thanks for letting me know! I like human names for software. ^^
<billstclair> I’m working on another small Elm project now. Hopefully, Wilfred will get some love next week.
<billstclair> On the road. Six mile bike ride (each way).
* ioa notes to self to go on bikerides more often
ldb has joined #lisp
<ldb> good evening
tfeb has quit [Read error: Connection reset by peer]
tfb has joined #lisp
<beach> Hello ldb.
a0x00 has joined #lisp
EvW has joined #lisp
a0x00 has quit [Remote host closed the connection]
Fare has joined #lisp
a0x00 has joined #lisp
a0x00 has quit [Remote host closed the connection]
a0x00 has joined #lisp
oxum has joined #lisp
a0x00 has quit [Remote host closed the connection]
a0x00 has joined #lisp
isaac_ has quit [Ping timeout: 256 seconds]
a0x00 has quit [Remote host closed the connection]
terpri_ has joined #lisp
FreeBirdLjj has joined #lisp
terpri has quit [Ping timeout: 264 seconds]
froggey has quit [Ping timeout: 272 seconds]
froggey has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
dbotton has joined #lisp
luna_is_here has quit [Ping timeout: 256 seconds]
luna_is_here has joined #lisp
dbotton_ has quit [Ping timeout: 244 seconds]
daphnis has joined #lisp
<cl-arthur> phoe: ordered your book, looking forwards to patching my shoddy know-how :)
<daphnis> what library would you use for a countdown timer, if you need to perform certain actions, like printing and playing sounds at various points in the countdown?
<daphnis> cl
<daphnis> tried with just sleep but it got a bit messy
wsinatra has joined #lisp
orivej has joined #lisp
lucasb has joined #lisp
galex-713 has joined #lisp
<flip214> daphnis: an array of callback functions that is iterated downward
<amirouche> an event-loop..
<amirouche> there is a procedure like setTimeout in most event-loops
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
hendursa1 has quit [Quit: hendursa1]
tfb has quit [Remote host closed the connection]
hendursaga has joined #lisp
tfb has joined #lisp
<ldb> get a thread to do scheduling
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
asdflkj has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Ping timeout: 272 seconds]
EvW has quit [Ping timeout: 244 seconds]
gbr____ has quit [Ping timeout: 246 seconds]
gbr_ has quit [Ping timeout: 272 seconds]
ldb has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 260 seconds]
ldb has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
aindilis has joined #lisp
kiroul has joined #lisp
kir0ul_ has joined #lisp
judson_ has joined #lisp
kiroul has quit [Read error: Connection reset by peer]
Bhartrihari has left #lisp ["Disconnected: closed"]
Bhartrihari has joined #lisp
skapata has quit [Remote host closed the connection]
<billstclair> ioa ClojureScript looks more mature than Elm, likely because it has more than one guy working on it. Going to start Wilfred in that, and see how I like it.
oxum has quit [Remote host closed the connection]
cosimone has joined #lisp
<daphnis> thanks
oxum has joined #lisp
<dbotton> billstclair have you seen http://lisperator.net/slip/
<dbotton> in particular the emacs in js in the demo perhaps can start there
<dbotton> http://www.ymacs.org/ is the project specific to that part
sjl_ has joined #lisp
<billstclair> dbotton: No. I'll check it out.
gaqwas has joined #lisp
gaqwas has joined #lisp
Nilby has quit [Read error: Connection reset by peer]
tfb has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tfb has quit [Client Quit]
shifty has joined #lisp
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
ariedro has quit [Ping timeout: 268 seconds]
troydm has joined #lisp
madage has quit [Ping timeout: 240 seconds]
dmiles has joined #lisp
madage has joined #lisp
<Demosthenex> so i need a unique name for a struct slot default value, could i generate it from the lisp obj address like what prints with an item without a pretty print?
<Demosthenex> but using it in the constructor, how could i call sb-kernel:get-lisp-obj-address against self?
<phoe> the lisp object address needs not be unique
<phoe> the GC can move an object out of a memory location and then move another object into that memory location
<Demosthenex> hrm, well i thought that was a clever hack :P
<Demosthenex> yeah, so i'm working with a text field for xml that just needs to be unique in the file. once i make it a string it shouldn't change.
shifty has quit [Ping timeout: 258 seconds]
<Demosthenex> otherwise maybe i just use a random #, or stmp?
<phoe> use a uuid!
shifty has joined #lisp
<Demosthenex> hrm, uuid in quicklisp needs ironclad. that's a bit deep for my little text tag
<Demosthenex> well, make-v1-uuid is simple enough. ty
<phoe> remember that this library is llgpl
<Demosthenex> and?
<Demosthenex> (i'm out of dateon licenses)
oxum has quit [Remote host closed the connection]
thelounge28 has joined #lisp
<thelounge28> HEY
<phoe> if you simply copypaste this code snippet into your project, you might need to redistribute the project under LGPL or GPL
<phoe> thelounge28: hello there
<thelounge28> hello phoe
<Demosthenex> phoe: ah. ok, license virus. well, this is local while i tinker. so i'm not too worried.
<Demosthenex> though i ended up using a random# in 10M with a prefix
<Demosthenex> i am trying to use few dependencies
<Demosthenex> i did read about the agpl recently, that's a great new idea =]
<Demosthenex> been in oss for decades, and frustrated how much money is made without rewardng the programmers.
villanella has quit [Ping timeout: 244 seconds]
<phoe> there's been other similar developments, like SSPL or License Zero, but that's already #lispcafe material
<Demosthenex> indeed, ty for answering my question =]
<dim> I think the Varnish Moral Licence is another very practical way to attack the problem
toorevitimirp has quit [Remote host closed the connection]
mmohammadi9812 has quit [Ping timeout: 258 seconds]
villanella has joined #lisp
<_death> use a counter?
tamarindo has quit [Ping timeout: 240 seconds]
shifty has quit [Ping timeout: 260 seconds]
mmohammadi9812 has joined #lisp
shifty has joined #lisp
daphnis has quit [Ping timeout: 256 seconds]
<beach> thelounge28: Are you new here? I don't recognize your nick.
<ldb> )off
ldb has quit [Quit: ERC (IRC client for Emacs 26.1)]
cosimone has quit [Quit: cosimone]
<thelounge28> beach yeah man im new here.
<beach> Great! Welcome! What brings you to #lisp?
judson_ has joined #lisp
tamarindo has joined #lisp
oxum has joined #lisp
<amirouche> thelounge28: welcome :)
judson_ has quit [Ping timeout: 264 seconds]
<thelounge28> beach actually i`ve been thinking of reading sicp for a long time.. and got started reading
<thelounge28> amirouche thanks man
<beach> Sounds good. Though, SICP uses Scheme and this channel is dedicated to Common Lisp.
<beach> Some people do the exercises in Common Lisp.
<amirouche> there is also a #scheme channel ;)
oxum has quit [Ping timeout: 240 seconds]
<thelounge28> beach it is good you said that man thanks. i am also reading some other stuff related with dr.racket or common lisp books. really everything mixed up damn..
<beach> That might get confusing since there are some significant differences between the languages.
<thelounge28> amirouche im checking now..
OlCe has quit [Ping timeout: 258 seconds]
<thelounge28> beach yeah man exactly.
hnOsmium0001 has joined #lisp
pi123 has quit [Quit: WeeChat 2.3]
OlCe` has joined #lisp
johnjay has joined #lisp
rippa has joined #lisp
TwoNotes has joined #lisp
orivej has joined #lisp
EvW has joined #lisp
gbr_ has joined #lisp
mokulus has joined #lisp
gbr____ has joined #lisp
<cl-arthur> -
random-nick has joined #lisp
gbr_ has quit [Quit: leaving]
shifty has quit [Ping timeout: 246 seconds]
shifty has joined #lisp
Steeve has joined #lisp
Cymew has quit [Ping timeout: 272 seconds]
devon has joined #lisp
pfdietz has joined #lisp
OlCe` has quit [Quit: Reconnect]
rogersm has joined #lisp
iskander has quit [Ping timeout: 268 seconds]
rogersm has quit [Client Quit]
rogersm has joined #lisp
OlCe has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
iskander has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
amirouche has quit [Changing host]
amirouche has joined #lisp
dbotton_ has joined #lisp
dbotton__ has joined #lisp
thelounge28 has quit [Quit: The Lounge - https://thelounge.chat]
dbotton has quit [Ping timeout: 272 seconds]
dbotton_ has quit [Ping timeout: 256 seconds]
thelounge28 has joined #lisp
thelounge28 has quit [Remote host closed the connection]
TwoNotes has quit [Remote host closed the connection]
thelounge28 has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
space_otter has quit [Remote host closed the connection]
rogersm has quit [Remote host closed the connection]
aartaka has joined #lisp
<ex_nihilo> It seems that :test-not and all of the -if-not functions like remove-if-not, find-if-not, count-if-not, etc. were deprecated in the CL spec.
<ex_nihilo> Sometimes using one of these seems like the right thing to do.
<ex_nihilo> What is the feeling within the community about if or when the various -not constructions should be used?
skapata has joined #lisp
<_death> they're perfectly fine
thelounge28 has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<Bike> yeah you can ignore the deprecation notice
<Bike> i think someone got a little too excited when COMPLEMENT was added
<cl-arthur> complement's cool though
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
iskander has quit [Quit: bye]
scymtym has quit [Remote host closed the connection]
scymtym has joined #lisp
iskander has joined #lisp
<ex_nihilo> CLTL2 mentions the deprecations, but there is no rationale; did X3J13 provide rationales for deprecations?
<jackdaniel> handling test and test-not is redundant with ability to supply :test (complement fun)
<Bike> ex_nihilo: TEST-NOT-IF-NOT:FLUSH-ALL
thelounge286 has joined #lisp
<ex_nihilo> jackdaniel: right, but I didn't think that redundancy was ever a concern in the design of CL; and some days (REMOVE-IF-NOT #'EVENP '(1 2 3 4)) seems a bit more clear than (REMOVE-IF (COMPLEMENT #'EVENP) '(1 2 3 4))
thelounge286 has quit [Client Quit]
thelounge28 has joined #lisp
<jackdaniel> and even cleaner is (remove-if #'oddp '(1 2 3 4)) :-)
heisig has quit [Quit: Leaving]
<jackdaniel> I'm sure that it was at least some concern when designing cl, maybe it was not a primary goal
<ex_nihilo> jackdaniel: touche ;)
escanda has joined #lisp
<jackdaniel> name complement is a bit long, abbrieviating it with ! would make it cleaner
<jackdaniel> #'evenp (! evenp)
<_death> the test-not parameter is less defensible, but I still don't mind it much
bsd4me has joined #lisp
jprajzne has quit [Quit: jprajzne]
bsd4me has left #lisp [#lisp]
<jackdaniel> I'm sure some devs would appreciate #!evenp ^_^
<jackdaniel> (and some not)
<escanda> slime autocompletes just fine with company mode :P
skapata has quit [Remote host closed the connection]
ssd532 has joined #lisp
jprajzne has joined #lisp
OlCe has quit [Ping timeout: 256 seconds]
edgar-rft has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
OlCe` has joined #lisp
<phoe> (&key test test-not test-maybe)
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
luckless_ has quit [Quit: luckless_]
frgo_ has joined #lisp
luckless has joined #lisp
liberliver has quit [Ping timeout: 264 seconds]
frgo has quit [Ping timeout: 265 seconds]
frgo has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
frgo_ has quit [Ping timeout: 244 seconds]
thelounge28 has quit [Ping timeout: 256 seconds]
dbotton has joined #lisp
dbotton__ has quit [Ping timeout: 240 seconds]
EvW has quit [Ping timeout: 264 seconds]
lottaquestions has quit [Remote host closed the connection]
<Xach> (&key test test-not there-is-no-try)
lottaquestions has joined #lisp
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 265 seconds]
<phoe> Xach: more like (&key test test-not &disallow-other-keys)
<aeth> (call-with-paradox :test #'foo :test-not #'foo)
frgo has quit []
CrazyEddy has quit [Ping timeout: 256 seconds]
miasuji has joined #lisp
<Xach> phoe: (return-from nil ...)???
<Xach> surely the lisp critic would have words about that
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
<jackdaniel> not really a paradox
<jackdaniel> it is not a function in mathematical sense
EvW has joined #lisp
bocaneri has quit [Read error: Connection reset by peer]
<phoe> Xach: oh well, we could name the block in some way
<phoe> let me fix it
<phoe> fixed
luckless has quit [Quit: luckless]
<Xach> phoew
<phoe> okay that was so bad that it was good
<edgar-rft> what somehow raises the question if there's a return from nil or if if we are doomed once we're there
CrazyEddy has joined #lisp
<Xach> phoe: aww, that wasn't the direction i expected.
<Xach> i expected a switch to plain (return ...)
<phoe> oh
<phoe> well then
<Xach> i don't mind named blocks but i don't like referencing the implicit block with the function name, because it adds friction to function renaming.
<Xach> i like nil blocks where usable
luckless has joined #lisp
<phoe> (block t ...) simply means that the code encompassed by this form should block/be synchronous; (block nil ...) is a magic way to make it async!
<Xach> don't be a block head.
<phoe> okay sorry
* phoe goes back to implementing the common-liſp package
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jw4 has quit [Quit: tot siens]
<easye``> Xach: I have been ruminating over the distinction you pointed out between CL:WHEN and CL:AND. I have started using CL:AND much more. Thanks for the refinement.
easye`` has quit [Quit: ERC (IRC client for Emacs 27.1)]
ggole has quit [Quit: Leaving]
astronavt has joined #lisp
jw4 has joined #lisp
easye has joined #lisp
escanda has left #lisp [#lisp]
dbotton has joined #lisp
<easye> "Ghostlier demarcations, keener sounds" of ANSI CL.
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
froggey has quit [Ping timeout: 240 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
froggey has joined #lisp
Bhartrihari has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
pankajsg has quit [Ping timeout: 272 seconds]
<Xach> easye: i use WHEN a lot but mostly for wrapping big chunks of defun bodies
pfdietz has quit [Remote host closed the connection]
<easye> The key distinction is about side-effects.
<easye> And whether one expects the return value of the form to matter.
villanella has quit [Remote host closed the connection]
jprajzne has quit [Quit: jprajzne]
shifty has quit [Ping timeout: 246 seconds]
miasuji has quit [Ping timeout: 264 seconds]
shifty has joined #lisp
<easye> We have only 1084 symbols, damnit, and each one counts!
<phoe> 1084?
<easye> err, that's my from memory external symbols in COMMON-LISP.
<phoe> hmmmm!
<easye> It's the right magnitude?
<phoe> ...but (loop for s being the symbols of :common-lisp count s) states that there are 977!
<easye> Well, I plead old-geezer status. And it's close enough to (expt 10 3)
<mfiano> do-external-symbols tells me 978
<phoe> oh! I must be skipping some then
<easye> Can't argue with empiricism....
jprajzne has joined #lisp
oxum has joined #lisp
<easye> I think I remember that figure from somewhere in Graham.
<easye> But obviously, my memory can be wrong.
* easye was trained as a physicist.
<easye> So, you know the joke about the rabbi, the mathematician, and the physicist when asked to predict a horse race?
<easye> The physicist goes "assume a spherical horse, and assume pi is 10"
<phoe> oh wait, 978, yes - this loop form does not count NIL
<Bike> oh yeah, count 1 not count s
<Bike> whoops
<Bike> i think the cl package is allowed to have whatever internal symbols, though
<phoe> yes, correct; external-symbols is the more correct choice
<easye> A thousand symbols to build all possible computations.
cosimone has joined #lisp
<phoe> that's an upgrade yanno, some programming languages only give you two
<phoe> and they're equivalent!
oxum has quit [Ping timeout: 260 seconds]
<easye> phoe: Parenthensis Hell seems isomorphic to <https://en.wikipedia.org/wiki/Surreal_number> Knuth's Surreal Numbers?
<easye> (actualy Conway's (RIP), Surreal Numbers)
<phoe> nah, not really; it's a Lisp-1 dialect in which the only data types are empty and proper lists
<mfiano> phoe: interesting
<phoe> so instead of calling symbols you call lists, and the structure of the list that is called defines which function gets called
<easye> Well, the Surreals don't have computation defined upon them, per se. But the nesting of the sets by the parenthesis looks the same.
madage has quit [Ping timeout: 240 seconds]
<mfiano> (loop for s being the symbols of :common-lisp count s) ;=> 977
<mfiano> (length (loop for s being the symbols of :common-lisp collect s)) ;=> 978
<easye> But then again, I consider myself a physicist forced to slum as a mathematician who whores out as a software developer.
<phoe> mfiano: yes, this is because if S is NIL then COUNT does not increment
<phoe> and CL:NIL is definitely a CL symbol
<mfiano> ah yeah ok
<easye> The point of the world, is to change it, and all that.
jprajzne has quit [Quit: jprajzne]
<Xach> that is such a great brain teaser
jprajzne has joined #lisp
OlCe` has quit []
madage has joined #lisp
<_death> https://plaster.tymoon.eu/view/2111#2111 heap exhausted? ok maybe it wasn't such a good idea ;)... the answer is sb-kernel::package-external-symbol-count however
OlCe has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
jw4 has quit [Read error: Connection reset by peer]
<_death> also chance of fun with delete-package
jw4 has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
dbotton has quit [Remote host closed the connection]
TwoNotes has joined #lisp
Fare has quit [Ping timeout: 244 seconds]
ssd532 has quit [Quit: Connection closed for inactivity]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
bilegeek has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
TwoNotes has quit [Quit: Leaving]
gbr____ has quit [Ping timeout: 246 seconds]
shka_ has quit [Ping timeout: 256 seconds]
narimiran has quit [Quit: leaving]
dbotton has joined #lisp
catchme has joined #lisp
beach` has joined #lisp
dbotton_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
dbotton has quit [Read error: Connection reset by peer]
beach has quit [Ping timeout: 264 seconds]
dbotton has joined #lisp
loli has quit [Quit: WeeChat 2.9]
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 264 seconds]
izh_ has joined #lisp
loli has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
beach` has quit [Ping timeout: 272 seconds]
wsinatra has quit [Quit: WeeChat 2.9]
froggey has quit [Ping timeout: 256 seconds]
froggey has joined #lisp
shifty has quit [Ping timeout: 272 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
cosimone has quit [Ping timeout: 244 seconds]
asdflkj has quit [Ping timeout: 256 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
akoana has joined #lisp
galex-713 has quit [Ping timeout: 246 seconds]
galex-713 has joined #lisp
izh_ has quit [Quit: Leaving]
<Xach> Hmm, is there a way to get a "fast" (fill array 0) where array is a specialized vector of a supported integer type?
<Xach> in sbcl, that is
isaac_ has joined #lisp
<phoe> Xach: in theory you could pin the object, get the vector-sap, and then call memset on it
torbo has joined #lisp
<phoe> but I wonder if #sbcl has it wrapped in a nicer way
frgo has joined #lisp
Fare has joined #lisp
jprajzne has quit [Quit: jprajzne]
aartaka_d has quit [Ping timeout: 244 seconds]
oxum has joined #lisp
jprajzne has joined #lisp
zacts has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
oxum has quit [Ping timeout: 244 seconds]
torbo has quit [Remote host closed the connection]
EvW has quit [Ping timeout: 244 seconds]
terpri_ has quit [Read error: Connection reset by peer]
terpri_ has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
gaqwas has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 260 seconds]
grobe0ba has quit [Ping timeout: 246 seconds]
akoana has left #lisp ["Leaving"]
jprajzne has quit [Quit: jprajzne]
Fare has quit [Ping timeout: 264 seconds]
jprajzne has joined #lisp
Josh_2 has quit [Ping timeout: 260 seconds]
EvW has joined #lisp
random-nick has quit [Ping timeout: 260 seconds]
isaac_ has quit [Ping timeout: 256 seconds]
jprajzne has quit [Quit: jprajzne]
grobe0ba has joined #lisp
zacts has quit [Quit: leaving]
EvW has quit [Ping timeout: 264 seconds]
sjl_ has quit [Ping timeout: 264 seconds]
isaac_ has joined #lisp
EvW has joined #lisp
taniguchisan has joined #lisp
Fare has joined #lisp
ex_nihilo has quit [Quit: Leaving]
pve has quit [Quit: leaving]
imode has joined #lisp
dbotton has joined #lisp
dbotton_ has quit [Ping timeout: 244 seconds]
gbr_ has joined #lisp
gbr_ has quit [Ping timeout: 260 seconds]
taniguchisan has quit [Ping timeout: 264 seconds]
gaqwas has joined #lisp
gaqwas has joined #lisp
isaac_ has quit [Ping timeout: 240 seconds]
kaftejiman has quit [Remote host closed the connection]
gabiruh has quit [Quit: ZNC 1.7.5 - https://znc.in]
gabiruh has joined #lisp
reb has joined #lisp
nullman has quit [Remote host closed the connection]
devon has quit [Ping timeout: 246 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
miasuji has joined #lisp
gaqwas has quit [Ping timeout: 260 seconds]