saravia has quit [Remote host closed the connection]
Arcaelyx has quit [Quit: Arcaelyx]
buffergn0me has quit [Ping timeout: 250 seconds]
rumbler31 has quit [Remote host closed the connection]
torbo has quit [Remote host closed the connection]
ravenousmoose has joined #lisp
BooAA has joined #lisp
ravenousmoose has quit [Ping timeout: 252 seconds]
<beach>
Good morning everyone!
<Josh_2>
Mornin beach
buffergn0me has joined #lisp
<Fare>
good night everyone
<Fare>
I eventually implemented that prototype object system I wanted to write, in a hundred lines of code — in Gerbil Scheme, not Common Lisp, though.
ravenousmoose has joined #lisp
buffergn0me has left #lisp ["ERC (IRC client for Emacs 26.2)"]
ravenousmoose has quit [Ping timeout: 252 seconds]
raghavgururajan has joined #lisp
dddddd has quit [Remote host closed the connection]
<phoe>
So this calls FUNCALL with COMPILE (line 258), or EVAL (lines 266 and 269).
<pjb>
When *compile-test* it puts the form in a lambda expression, so it won't keep toplevelness.
<pjb>
When *expand-eval* it uses expanded-eval.
<phoe>
> If a defsetf form appears as a top level form, the compiler must make the setf expander available so that it may be used to expand calls to setf later on in the file.
<pjb>
Only in the last case, it uses EVAL, which should keep toplevelness.
<phoe>
One second though. Let's take a look at the test form again.
<phoe>
DEFSETF in line 3 is executed as a non-top-level form.
<pjb>
1- ansi-test should preserve toplevelness in all cases. 2- however, it would be nice if the implementation would do something nice even when defsetf (and other similar forms) are not used in toplevel.
<phoe>
Then a form is EVAL'd.
random-nick has joined #lisp
<phoe>
By the time that EVAL is reached, (SETF ACCESS-FN) should be available, even if DEFSETF wasn't toplevel.
jackdaniel2 has quit [Read error: Connection reset by peer]
booaa has left #lisp [#lisp]
amerlyq has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
Arcaelyx has quit [Quit: Arcaelyx]
ebrasca has joined #lisp
enrio has joined #lisp
anewuser has joined #lisp
orivej has joined #lisp
davepdotorg has quit [Remote host closed the connection]
makomo has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
frgo has quit []
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
EvW1 has quit [Ping timeout: 252 seconds]
jackdaniel2 has joined #lisp
bitmapper has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
cosimone has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
frgo has quit [Read error: Connection reset by peer]
cosimone has quit [Client Quit]
frgo_ has joined #lisp
cosimone has joined #lisp
kgop has quit [Ping timeout: 245 seconds]
jackdaniel2 has joined #lisp
LiamH has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
whartung has quit [Quit: whartung]
gabiruh has joined #lisp
clothespin has joined #lisp
Lycurgus has quit [Remote host closed the connection]
whartung has joined #lisp
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
PuercoPope has quit [Remote host closed the connection]
AroPar has joined #lisp
AroPar has quit [Remote host closed the connection]
jackdaniel2 has joined #lisp
cosimone has quit [Quit: Terminated!]
jackdaniel2 has quit [Read error: Connection reset by peer]
FreeBirdLjj has quit [Remote host closed the connection]
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #lisp
gareppa has joined #lisp
sjl has joined #lisp
makomo has joined #lisp
ravenousmoose has joined #lisp
ravenousmoose has quit [Ping timeout: 245 seconds]
hdasch has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
rogersm has joined #lisp
anewuser has quit [Quit: anewuser]
nirved has joined #lisp
gareppa has quit [Quit: Leaving]
rogersm has quit [Client Quit]
shka_ has joined #lisp
<easye>
The mailing lists hosted @common-lisp.net had not been delivering messages since October 26th. We restarted the service, and the backlog of messages has been injected into SMTP over the last hour. We apologize for the inconvenience.
<phoe>
this post is literally the answer to your question
<phoe>
mostly because it is literally your question
<dlowe>
I wrote a arithmetic game for my kid
m00natic has quit [Remote host closed the connection]
brettgilio has quit [Ping timeout: 250 seconds]
jonatack has quit [Ping timeout: 240 seconds]
<davd33>
phoe: xD thanks
<davd33>
dlowe: what kind of game?
<ck_>
easye: aha! so that's what that was about. thanks for the information.
<dlowe>
it's actually super bare-bones, intentionally so
<dlowe>
the student gets a stimulating reward when they get the problem right, nothing if they get it wrong
<dlowe>
and they have to sit there for five seconds doing nothing
<dlowe>
it measures the amount of time it took for them to answer and uses it as a proxy (when there's a correct answer) for being learned
<dlowe>
and schedules the question to come again at a greater interval the more that the student has learned the fact
<dlowe>
They have to spend five minutes, and if they get through all the scheduled questions, they get new questions, which steadily increase in difficulty
<dlowe>
I'd share it but it doesn't have an account system or anything so anyone looking at it would screw with the stats
<dlowe>
built with hunchentoot and cl-json
orivej has joined #lisp
jackdaniel2 has joined #lisp
<Xach>
theory y algebra
<davd33>
Sounds cool, I actually had a similar project two years ago, but for German language training. Your game might work for anything that someone would want to learn/train isn't it?
jackdaniel2 has quit [Read error: Connection reset by peer]
<dlowe>
Xach: I don't follow?
<Xach>
dlowe: flashback to kenny tilton's frequently-promoted math tutor system
<dlowe>
davd33: yeah, I mean, it's just spaced repetition applied to arithmetic, but the rewards are carefully designed
<dlowe>
we were trying out other apps and stuff and they all get that stuff wrong
<dlowe>
with either distracting stimulation or misleading stimulation
<davd33>
What do you have to study in order to under to understand how to build your program: psychology ... ? What do you base your algorithm on?
<dlowe>
I have a background specifically in knowledge and skills acquisition
<dlowe>
from a cognitive psych standpoint
<dlowe>
which is how I got into CL, incidentally
frgo has quit [Read error: Connection reset by peer]
jackdaniel2 has joined #lisp
frgo has joined #lisp
<sugarwren>
psych got you into CL?
jackdaniel2 has quit [Read error: Connection reset by peer]
<sugarwren>
psych people I know (knew, rather) were all about SPSS or R
<dlowe>
cognitive psych has a lot of computer modeling, and all the papers are in CL, and not being programmers, they'll be damned if they learn more than one language
<dlowe>
and their programs are universally terrible (because not programmers)
cg505 has joined #lisp
<dlowe>
I got hired in as a tech
frgo has quit [Ping timeout: 240 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #lisp
davepdotorg has joined #lisp
lavaflow has joined #lisp
ravenousmoose has joined #lisp
makomo has quit [Ping timeout: 252 seconds]
davepdotorg has quit [Ping timeout: 265 seconds]
ravenousmoose has quit [Ping timeout: 250 seconds]
khisanth_ has quit [Ping timeout: 276 seconds]
<LdBeth>
dlowe: do you know PLATO project
<dlowe>
LdBeth: do you have an url for disambiguation?
<dlowe>
unfortunately there are a lot of Plato projects
<LdBeth>
Have you had a chance using that system? If so what’s your opinion about it?
<dlowe>
I haven't done it, but I do know there are readily-available free emulators
<LdBeth>
Ah, yes
khisanth_ has joined #lisp
ravenousmoose has joined #lisp
clothespin has quit [Ping timeout: 276 seconds]
ravenousmoose has quit [Ping timeout: 252 seconds]
vlatkoB_ has quit [Remote host closed the connection]
jackdaniel2 has joined #lisp
manualcrank has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
ljavorsk_ has quit [Ping timeout: 245 seconds]
slyrus_ has joined #lisp
sjl has quit [Ping timeout: 240 seconds]
milanj has quit [Quit: Leaving]
slyrus__ has quit [Ping timeout: 240 seconds]
izh_ has joined #lisp
jackdaniel2 has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
MightyJoe has joined #lisp
cyraxjoe has quit [Ping timeout: 240 seconds]
varjag has joined #lisp
ggole has quit [Quit: Leaving]
MightyJoe is now known as cyraxjoe
Oladon has quit [Quit: Leaving.]
sjl has joined #lisp
jonatack has joined #lisp
<shka_>
yay
<shka_>
ABCL will get update! :D
<shka_>
that bear yet lives
Bike has quit [Quit: Bike]
Oladon has joined #lisp
random-nick has quit [Ping timeout: 250 seconds]
<pfdietz>
bearly?
ralt has quit [Quit: Connection closed for inactivity]
bitmapper has quit [Ping timeout: 265 seconds]
jackdaniel2 has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
ebrasca` has joined #lisp
cosimone has joined #lisp
ebrasca` has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
raghavgururajan has quit [Remote host closed the connection]
random-nick has joined #lisp
scymtym has quit [Ping timeout: 245 seconds]
davepdot_ has joined #lisp
ebrasca has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 246 seconds]
ebrasca has joined #lisp
davepdot_ has quit [Ping timeout: 240 seconds]
jfb4_ has left #lisp ["ERC (IRC client for Emacs 26.3)"]
Bike has joined #lisp
nowhere_man has joined #lisp
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
scymtym has joined #lisp
<jasom>
dlowe: that's interesting because my daugher would just guess the answer repeatedly until she got enough right for the reward under a typical online learning system
<jasom>
dlowe: the only one we found that worked is one for which the name is escaping me, but you need to get all questions right on the quiz or it makes you listen to the entire lesson again. That was annoying enough to get her to not guess.
<jasom>
she got through her two days of standardized testing in 1 hour because she discovered that if you get N problems wrong in a row, it moves on to the next subject, and just answered everything wrong...
gabiruh has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jackdaniel2 has joined #lisp
Meowburger has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
shka_ has quit [Ping timeout: 240 seconds]
enrio has quit [Ping timeout: 240 seconds]
brown121407 has quit [Read error: Connection reset by peer]
brown121407 has joined #lisp
yvy has joined #lisp
jjkola has quit [Ping timeout: 276 seconds]
<Xach>
`.
MichaelRaskin has joined #lisp
akoana has joined #lisp
Oladon has quit [Quit: Leaving.]
ravenousmoose has joined #lisp
izh_ has quit [Quit: Leaving]
FennecCode has joined #lisp
ravenousmoose has quit [Ping timeout: 252 seconds]
Lycurgus has joined #lisp
yvy has quit [Read error: Connection reset by peer]
yvy has joined #lisp
davd33 has quit [Remote host closed the connection]
drl has joined #lisp
raghavgururajan has joined #lisp
mulk has quit [Ping timeout: 246 seconds]
jackdaniel2 has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
<Demosthenex>
is there a way to make a code block that is only evaluated in slime?
TMA has quit [Ping timeout: 268 seconds]
gioyik has joined #lisp
davepdot_ has joined #lisp
bitmapper has joined #lisp
davepdot_ has quit [Ping timeout: 276 seconds]
MichaelRaskin has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 240 seconds]
<phoe>
Demosthenex: what do you mean, only evaluated in slime?
<phoe>
Only evaluated when there is an active slime connection?
cosimone has quit [Quit: Terminated!]
<Lycurgus>
make it emacs lisp is one way
<Demosthenex>
phoe: yes, so i'm testing something and i need to db connection always created in slime, but otherwise the compiled version handles it differently
<Demosthenex>
i was hoping i could wrap a code block so it'd only be evaluated when slime-eval-buffer was called
TMA has joined #lisp
woeike has joined #lisp
oni-on-ion has quit [Remote host closed the connection]
<jasom>
Demosthenex: if you happen to load swank, then it will be skipped, but if swank is only loaded when you are debugging that should work
TMA has quit [Ping timeout: 264 seconds]
yvy has quit [Quit: Leaving]
yvy has joined #lisp
q9929t has quit [Remote host closed the connection]
q9929t has joined #lisp
TMA has joined #lisp
nowhere_man has quit [Ping timeout: 265 seconds]
Meowburger has quit [Read error: Connection reset by peer]
yvy has quit [Ping timeout: 265 seconds]
brettgilio has joined #lisp
rumbler31 has joined #lisp
smazga has quit [Quit: leaving]
rumbler31 has quit [Remote host closed the connection]
brettgilio has quit [Ping timeout: 246 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
LiamH has quit [Quit: Leaving.]
ebrasca has quit [Remote host closed the connection]
jeosol has joined #lisp
<jeosol>
good morning
<oni-on-ion>
hello
<jeosol>
doing ok. been a while.
<jeosol>
I wanted to bounce some code improvement ideas here to see what other suggestions. The aim is to reduce storage
<jeosol>
I am modeling some anisotrophy effect (3D property varying in directions X,Y,Z) so I have to store large matrices (size depends on the problem). I have functions get_propx(i,j,k), that returns the value of a property in 3D array (similarly for y and z).
<jeosol>
I store the large matrices in global variables *X*, *Y*, *Z*. Occasionally, *Y* and *Z* are multiples of *X* and I would like to only store *X* which should be fine. get_prop.. functions are generated by a macro
<jeosol>
I was thinking having to write get_propy and get_propz differently and have them check some simple booleans (i.e., for the copy case, if so, read up the value from X, and multiply by scalar needed). Is there a better way of doing this
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
jackdaniel2 has joined #lisp
jackdaniel2 has quit [Read error: Connection reset by peer]
bitmapper has quit []
oni-on-ion has quit [Remote host closed the connection]