<lad>
I'm calling "sleep" in my code, but in my tests i would like to replace the call to sleep with a noop so that the test runs fast. I have tried to use FLET and LABELS, as well as defining #'mysleep. Problem is I am passing an anonymouse function and the sleep function still is called.
<lad>
So when I (funcall fn) within the body of LABELS, the real sleep function is called still
<mfiano>
Of course it would.
<mfiano>
Use a special variable to control if #'sleep should be called. But I really question changing the semantics for the purpose of testing. That sounds counterproductive.
<lad>
mfiano, interesting, a special variable works for my case. Thanks
Michal has joined #commonlisp
lisp123 has joined #commonlisp
<lad>
mfiano, i've set up a dummy object that i'm testing against. this seems to indicate i should probably separate data from procedural logic i guess
witchuer has quit [Quit: Connection closed for inactivity]
igemnace has quit [Remote host closed the connection]
Oddity has quit [Ping timeout: 250 seconds]
Oddity has joined #commonlisp
Michal has joined #commonlisp
Michal has quit [Ping timeout: 260 seconds]
silasfox has joined #commonlisp
<silasfox>
euouae: There is an "INSTALL" file in there, that may help...
<silasfox>
Sorry, wrong channel
yitzi has joined #commonlisp
Spawns_Carpeting has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
silasfox has quit [Remote host closed the connection]
Spawns_Carpeting has joined #commonlisp
silasfox has joined #commonlisp
silasfox has quit [Quit: WeeChat 3.2]
silasfox has joined #commonlisp
scymtym has quit [Read error: Connection reset by peer]
lotuseater has joined #commonlisp
scymtym has joined #commonlisp
Lycurgus has joined #commonlisp
silasfox has quit [Quit: silasfox]
cage has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
<duuqnd>
Is there a list of all (or almost all) undefined behavior in CL?
Bike has joined #commonlisp
<beach>
No.
<beach>
That is why the WSCL work is so important.
attila_lendvai has quit [Ping timeout: 260 seconds]
<duuqnd>
I see. I was hoping to make as much undefined behavior as possible cause SBCL to turn on a coffee pot.
<beach>
I think you may be out of luck. Most of the behavior that is undefined in the standard is quite well defined, and in a reasonable way, in most Common Lisp implementations.
<yitzi>
beach: Is there any timeline for proposals and review on WSCL? Just curious since I'll probably do some more proposals and revisions at some point.
<beach>
duuqnd: With SBCL, I think one thing that it takes your word for declarations of DYNAMIC-EXTENT, so you can probably trigger some interesting behavior by declaring something that way, and then make it not be so.
<beach>
yitzi: There is no timeline, no.
<duuqnd>
I should mention that the coffee pot is entirely literal. I was planning on just having TYPEP turn it on when passed an invalid type specifier.
<duuqnd>
But I wanted to add more things that could trigger it
<duuqnd>
I was gonna do a joke like "undefined behavior is good because it turns on my coffee machine for me"
<duuqnd>
But I guess I'll look around a bit and see what I can find
kulernil has joined #commonlisp
Fare has joined #commonlisp
kuler has quit [Remote host closed the connection]
Michal has joined #commonlisp
lisp123 has joined #commonlisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
Michal has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
rogersm has joined #commonlisp
<pjb>
duuqnd: well, you could write your own implementation, or patch an existing one, if they missed the documenting part: any implementation specific behavior should be documented! If not, you could patch it to boil coffee, or display a nasal daemon.
<pjb>
of pilot a drone disguised in nasal daemon toward the general direction of the programmer
<pjb>
s/of/or
duuqnd has quit [Ping timeout: 260 seconds]
<edgar-rft>
duuqnd, that's easy: first write a list of all possible behaviour, then subtract the behaviour defined by the Common Lisp Specification
palter has quit []
Inline has joined #commonlisp
peterhil has joined #commonlisp
<hineios>
thank you @pjb for introducing me to nasal daemons, you made my day.
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 276 seconds]
nature has joined #commonlisp
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
waleee has joined #commonlisp
Michal has joined #commonlisp
ec_ has joined #commonlisp
Michal has quit [Read error: Connection reset by peer]
Michal has joined #commonlisp
lisp123 has joined #commonlisp
Michal has left #commonlisp [#commonlisp]
<Josh_2>
Good afternoon
duuqnd has joined #commonlisp
<beach>
Hello Josh_2.
ec_ has quit [Ping timeout: 276 seconds]
<lotuseater>
hello from me too
Fare has quit [Ping timeout: 260 seconds]
makomo_ has joined #commonlisp
makomo_ has quit [Ping timeout: 252 seconds]
tyson2 has joined #commonlisp
<Alfr>
edgar-rft, are there only finitely many possible behaviors as to write them all down?
kstuart has joined #commonlisp
<jcowan>
Of course. If there are k bits of state, then there can be at most 2^k behaviors.
makomo_ has joined #commonlisp
<scymtym>
yitzi: there is no defined process yet, but some parts are pretty clear: there will have to be a way to accept (possibly after modifications) or reject proposals, say by voting. for accepted proposals, the proposal status would be updated and the described change would be applied to the TeX sources in the dpANS3 directory. \issue … \endissue annotations would be added around the changed text to establish a link to the issue
Cymew has quit [Ping timeout: 252 seconds]
cosimone has joined #commonlisp
<yitzi>
scymtym: Thanks for the clarification. Since it is possible to have future revisions or amendments maybe some version number should be attached to the overall spec? Implementations could advertise conformance say to WSCL/21 or WSCL/22. Just a thought.
nature has quit [Ping timeout: 260 seconds]
<scymtym>
yitzi: right. i guess the high-level process is more beach's domain
<yitzi>
Understand
<beach>
Some versioning information is probably a good idea. We are bound to forget stuff in the first version.
<beach>
I am not sure we should settle on the year as version information though. That would make it messy to have more than one version a particular year.
<Josh_2>
Versions should get cool names like Eagle or Dragon
<yitzi>
I agree that year is too coarse even though it makes it easy for people to remember and reference.
molson has joined #commonlisp
yitzi has quit [Quit: Leaving]
cosimone` has joined #commonlisp
molson__ has joined #commonlisp
molson__ has quit [Remote host closed the connection]
molson has quit [Client Quit]
cosimone has quit [Ping timeout: 260 seconds]
molson has joined #commonlisp
molson has quit [Client Quit]
molson has joined #commonlisp
molson has quit [Client Quit]
molson has joined #commonlisp
molson has quit [Client Quit]
molson has joined #commonlisp
molson has left #commonlisp [#commonlisp]
molson has joined #commonlisp
molson has quit [Remote host closed the connection]
molson has joined #commonlisp
molson has quit [Client Quit]
molson has joined #commonlisp
Lycurgus has quit [Ping timeout: 260 seconds]
molson__ has joined #commonlisp
<Josh_2>
Version Hydra when?
<lotuseater>
or Axolotl
molson__ has quit [Client Quit]
molson_ has quit [Quit: Leaving]
molson has quit [Client Quit]
molson has joined #commonlisp
<Josh_2>
Not really what I was going for but sure :P
ec_ has joined #commonlisp
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
ec_ has quit [Ping timeout: 276 seconds]
Fare has joined #commonlisp
yitzi has joined #commonlisp
ec_ has joined #commonlisp
lad has joined #commonlisp
khrbt has quit [Ping timeout: 260 seconds]
khrbt has joined #commonlisp
Guest70 has joined #commonlisp
makomo_ has quit [Ping timeout: 252 seconds]
khrbt_ has joined #commonlisp
khrbt has quit [Ping timeout: 265 seconds]
Guest70 has quit [Client Quit]
ec_ has quit [Ping timeout: 276 seconds]
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
ec_ has joined #commonlisp
karlosz has joined #commonlisp
attila_lendvai has joined #commonlisp
<saltrocklamp[m]>
you could do WSCL/21.x for "year 2021, revision x", but then of course you run into the y2k problem in 100 years :)
<Josh_2>
Ofcourse X would be something cool like "Behemoth" or "Bahamut"
<White_Flame>
or WSCL/21.Bathtub
<Josh_2>
No.
<Josh_2>
What should I use to read the old comp.lang.lisp archive?
nature has joined #commonlisp
<Josh_2>
its just a plain text dump of all the email and email threads
<lotuseater>
must be many of those
abraham has joined #commonlisp
<Josh_2>
Yes, its a very large text file
<Josh_2>
but obviously I'd like to view things in an orderly way
cosimone` has quit [Ping timeout: 265 seconds]
<Xach>
Josh_2: i have a program that can split it up into articles.
<Xach>
it is not exactly user-friendly but if you don't want to start from scratch you may find it useful.
<Josh_2>
The one you used for the naggum archives?
<Xach>
yes, and rpw, and (someday) kmp
<Josh_2>
I was hoping there would be some software that would just let me read it
<_death>
you can read it using gnus
<Josh_2>
How?
<Josh_2>
From what I saw gnus wants me to have an nntp server somewhere
<pjb>
Josh_2: une autre alternative, serait de lancer un serveur nntp et de lui confier ces messages, afin que tu puisse les lire avec un client nntp (eg. gnus) sans charger tout d'un coup.
ec_ has quit [Ping timeout: 276 seconds]
<Josh_2>
Yes I could do that (I dont speak French)
<Josh_2>
I translated
<lotuseater>
activate the babel fish in your inner ear :)
ec_ has joined #commonlisp
cosimone has quit [Ping timeout: 252 seconds]
<Josh_2>
Maybe I should use Lisp to make a website with the complete archives, using Xach's tools
<lisp123>
Josh_2: That would be a great idea
karlosz has quit [Quit: karlosz]
karlosz has joined #commonlisp
lad has quit [Quit: Leaving]
kstuart has quit [Remote host closed the connection]
abraham has joined #commonlisp
yitzi_ has joined #commonlisp
akoana has joined #commonlisp
john__ has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
cage has quit [Remote host closed the connection]
Fare has joined #commonlisp
ec_ has quit [Ping timeout: 276 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
gaqwas has joined #commonlisp
ec_ has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
<pjb>
Josh_2: sorry :-) switching languages doesn't always work perfectly.
amb007 has joined #commonlisp
<pjb>
Josh_2: that wouldn't be a bad idea to make a nice archive of cll.
Fare has quit [Ping timeout: 265 seconds]
cosimone has joined #commonlisp
kulernil has quit [Remote host closed the connection]
kulernil has joined #commonlisp
Fare has joined #commonlisp
tfeb has joined #commonlisp
seere has joined #commonlisp
<saltrocklamp[m]>
i'd be very happy to have a nice browsable (searchable even?) html archive