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
tamarindo has quit [Remote host closed the connection]
Bourne has joined #lisp
pillton has quit [Read error: No route to host]
pillton has joined #lisp
notzmv has quit [Read error: No route to host]
Oladon1 has quit [Quit: Leaving.]
notzmv has joined #lisp
Oladon has joined #lisp
pve has quit [Quit: leaving]
astronavt has quit [Remote host closed the connection]
astronavt___ has joined #lisp
astronavt___ is now known as astronavt
astronavt has quit [Remote host closed the connection]
karlosz has joined #lisp
asdflkj has quit [Ping timeout: 258 seconds]
ex_nihilo has joined #lisp
mikelevins has quit [Quit: Textual IRC Client: www.textualapp.com]
Gerula has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
EvW has quit [Ping timeout: 264 seconds]
demindiro has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
skapata has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 260 seconds]
bilegeek has quit [Quit: Leaving]
<drmeister> How do folks run tests in quicklisp systems?
<drmeister> I look for the foo-tests.asd file and look into the packages.lisp file for external symbols.
<drmeister> I want to run the cffi tests and what I do above might be screwing me up.
<Xach> drmeister: i try (asdf:test-system "foo") to try to test the system "foo"
<Xach> drmeister: sometimes it works
<drmeister> Oh - it's a sometimes thing - understood.
<drmeister> Otherwise you go into the packages.lisp file like I did?
<drmeister> I ask because cffi exports: (:export #:do-tests #:run-cffi-tests #:run-all-cffi-tests)
<drmeister> Then I have to look in the source code to see that #:run-all-cffi-tests is the most comprehensive.
<Xach> drmeister: i would try asdf:test-system first
<Xach> drmeister: one issue is that tests sometimes require systems that aren't loaded, and asdf:test-system won't autoload them.
<Xach> but it might be a quickload away to remedy
<drmeister> Actually - then I see what my real problem is - they have both (run-cffi-tests :compiled nil) and (run-cffi-tests :compiled t) - I want the latter and not the former.
<drmeister> Ok, thank you very much.
Oddity has joined #lisp
<Xach> drmeister: also, if i was curious what test-system meant, i'd look at the defsystem form for the system - it will have the code that is run by test-system
<Xach> there is no single standard meaning for test-system, it can call any code it likes
<Xach> phoe: i have not been able to attend any meeting so far, but #11 is scheduled during a big american holiday
<Xach> (maybe that means i can go this time??)
Josh_2 has quit [Ping timeout: 260 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucasb has quit [Quit: Connection closed for inactivity]
cer0 has quit [Quit: leaving]
madage has quit [Ping timeout: 240 seconds]
loli has quit [Quit: WeeChat 2.9]
loli has joined #lisp
astronavt has joined #lisp
Jeanne-Kamikaze has joined #lisp
Alfr has joined #lisp
kiroul has joined #lisp
Alfr_ has quit [Ping timeout: 260 seconds]
kir0ul has quit [Ping timeout: 240 seconds]
judson_ has joined #lisp
kiroul has quit [Ping timeout: 260 seconds]
notzmv has quit [Read error: No route to host]
notzmv has joined #lisp
jtecca has joined #lisp
jtecca has left #lisp [#lisp]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<beach> Good morning everyone!
Yardanico has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Yardanico has joined #lisp
<shinohai> Buenas dias beach
iskander has quit [Ping timeout: 256 seconds]
davisr_ has quit [Ping timeout: 256 seconds]
iskander has joined #lisp
davisr has joined #lisp
loli has quit [Quit: WeeChat 2.9]
Bike has quit [Quit: Lost terminal]
davisr_ has joined #lisp
loli has joined #lisp
davisr has quit [Ping timeout: 246 seconds]
astronavt has quit [Quit: Leaving]
judson_ has joined #lisp
judson_ has quit [Client Quit]
judson_ has joined #lisp
gxt has quit [Remote host closed the connection]
gxt has joined #lisp
ldbeth has joined #lisp
ldbeth has quit [Quit: ERC (IRC client for Emacs 26.3)]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
luckless has quit [Ping timeout: 240 seconds]
<drmeister> Xach: Thank you.
sm2n_ has joined #lisp
sm2n has quit [Ping timeout: 260 seconds]
igemnace has quit [Quit: WeeChat 2.9]
wargyl has joined #lisp
ggole has joined #lisp
notzmv` has joined #lisp
notzmv has quit [Disconnected by services]
notzmv` is now known as notzmv
notzmv has quit [Changing host]
notzmv has joined #lisp
aartaka has joined #lisp
notzmv has quit [Read error: No route to host]
notzmv has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
aartaka_d has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
<kreyren_> whaddya think about this mock-up of a build system? http://ix.io/2E6q
<kreyren_> (backend not implemented, abstracting stub)
<kreyren_> pair-programming in case you want to suggest something directly https://go.codetogether.com/#/7b42d945-b699-4e12-95db-482c7ee24779/1sGTkww6xJcia5dIkg95Ft
Jeanne-Kamikaze has quit [Quit: Leaving]
<moon-child> kreyren_: build dir shouldn't be hardcoded
<moon-child> kreyren_: I don't think repository and bugs-to make sense in defmetadata. If you have a copy of the source code, you don't need to know how to get it, and a contact can go in the description
<moon-child> what is vendor dir?
<kreyren_> moon-child, why not? I prefer to have full path of build dir and specify different location e.g. for bigger projects
<kreyren_> vendor dir is for 3rd party sources
<kreyren_> moon-child, the idea of metadata is to have few hardcodded options and the rest to be defined by devs based on requirements
<moon-child> out-of-tree builds should be possible. Imo it's better when the build tool invocation decides the build dir
<kreyren_> like specifying an argument?
orivej has joined #lisp
<kreyren_> in cli?
<moon-child> yes
<kreyren_> good idea, stubbed
<kreyren_> also probably a good thing for others like LIBDIR to be cross-friendly
<kreyren_> or for non-standard systems i guess O.o
<moon-child> if only some keys of metadata have a standard form, then the others are only going to exist in some projects, and are going to take a different form in different projects. So they aren't machine-consumable anyway. With your design, some members are machine-consumable and some aren't, which is imo not great ui
<moon-child> so I think it would be better to have a limited set of keys, all of which have standardised purpose and form
<kreyren_> in terms of the metadata i want to hardcode name, description, version and license atm possibly programming language to source related function in step scope
<moon-child> libdir should be grabbed from the system. cc knows what it's doing, even as a cross-compiler. But do let the user append dirs to the searchpath, like the -L flag to ld
<kreyren_> moon-child, the concern is non-standard systems like mine that might return invalid libdir from CC
<moon-child> then those systems are broken
<moon-child> programming language--projects use many programming languages variably, also 'programming language' is not very well defined (how do you deal with the many incompatible scheme dialects, for instance?)
<kreyren_> not broken, it's running distros/kernels in a escapable sandbox so CC is expected to point to different location then the CC finds in it's sandbox
aartaka_d has quit [Ping timeout: 260 seconds]
<kreyren_> so i think sane to allow optional arguments to specify these?
wargyl has quit [Quit: leaving]
<moon-child> afaik you can also ask the dynamic linker where it'll look
<kreyren_> true
<kreyren_> moon-child, what about in terms of the proposed mockup? I want to ideally make it to work on things like cargo-make as well
<kreyren_> So that it has it's own makefile-like file with option to use C-style and Rust-style makefiles
<moon-child> I mean, the specific minutiae of syntax are not super important. Especially in something like cl where you can easily write your own abstractions
bocaneri has joined #lisp
<moon-child> if you wanna integrate with other build systems, just make sure your primitives are powerful enough to represent their abstractions
<kreyren_> true
<kreyren_> thanks for brainstorm ^-^
<moon-child> :)
Necktwi has quit [Ping timeout: 256 seconds]
judson_ has joined #lisp
bilegeek has joined #lisp
judson_ has quit [Client Quit]
<beach> kreyren_: Do you take remarks related to coding conventions?
<kreyren_> beach, anything relevant is appreciated
<beach> clhs 2.4.4.2
<specbot> Notes about Style for Semicolon: http://www.lispworks.com/reference/HyperSpec/Body/02_ddb.htm
<beach> Your number of semicolons is off.
<kreyren_> checking
<beach> And your indentation is strange.
<kreyren_> indentation is using tabs over spaces and there is one `)` in config that's out of place bcs of abstracting comment >.>
<beach> I saw the `)', yes.
<beach> That's why I didn't remark on that one.
Necktwi has joined #lisp
mmohammadi9812 has joined #lisp
<beach> It is usually a bad idea to use tabs for indentation.
<kreyren_> why?
<beach> Because it shows up wrong in many places like web sites.
orivej has quit [Ping timeout: 258 seconds]
<beach> And the use of tabs doesn't explain why some lines are indented differently from others, even though they look like they should be the same, to me at least.
<easye> M-x untabify
<beach> easye: Right, but kreyren_ would not do that if it is thought that tabs are good.
<kreyren_> beach, i consider websites not being optimized for tabs their issue e.g. git.dotya.ml (gitea instance that i am using) is optimized for tabs
<easye> Just pointing out how easy it potentially could be to convert.
<kreyren_> ah true there are double spaces, fixing
<kreyren_> replaced, thanks i think editor changed it without me noticing
<beach> kreyren_: So if you maintain the tabs, you need to be careful about the ways in which you expose your code to others. Because if you use a place that doesn't handle them correctly, the people in your audience will not understand your code correctly.
<kreyren_> beach, fair point, i have workflow adapted for these e.g. using ix http://ix.io/2E6A
<kreyren_> reading through the semicolons atm
<beach> Now your indentation is WAY off. And the number of semicolons is still wrong.
<beach> The norm is that body code is indented by two spaces.
<kreyren_> eh? o.o looks good to me in terms of indent
<kreyren_> ah i see
<beach> You have 8.
<beach> You must not have used Lisp mode to indent your code.
edgar-rft has joined #lisp
<moon-child> kreyren_: fwiw, I use tabs for literally every other language, but in lisp I use spaces
<beach> kreyren_: Indenting your code manually is bound to fail fairly often.
<moon-child> (well, I also use spaces for ml-alikes, but I don't use them very much)
<kreyren_> beach, the idea of using ix is that the pastes are expected to be grabbed through `curl` with user-preferred intent.. I try to find a way to show the two-space tab through paste x.x
<moon-child> my terminal also displays tabs as 8 spaces wide...
<beach> kreyren_: So what did you do to indent the body code?
<beach> kreyren_: You must have used something other than Lisp mode.
<kreyren_> beach, i am adapting vscodium for it atm bcs of pair-programming, but i am using tabs in emacs as well tbh O.o
<kreyren_> spaces kinda annoy me because it takes additional key strokes to navigate through them
<beach> So not Lisp mode?
<moon-child> character-wise navigation is always slow, whether you use spaces or tabs
<kreyren_> This is using Common Lisp extension for vscode
<beach> It looks like it is screwing up badly.
<beach> I suggest you use something else.
<kreyren_> which gives me paraedit through paraedit extension that i am messing with atm >.>
<beach> If your tool is not indenting the code correctly, you are going to make many mistakes.
<kreyren_> beach, it indents it correctly if you have indent size set though, see https://i.imgur.com/RuuztJz.png
<beach> kreyren_: So my point is that you then should not expose your code like you did the first time, since you insist that it does it incorrectly.
<kreyren_> like i can format it through s/^I/\s{2}/g next time if you want O.o
<beach> I personally do not have a preference as to how you indent your code. I am telling you the consequences of doing it wrong and using the wrong tools.
<kreyren_> noted, will investigate
<beach> Again, if you indent your code "manually", you will get it wrong, and then when your parentheses and your indentation do not correspond, people reading your code are not going to be pleased, because you are essentially lying to them.
<beach> Of course, if you don't intend to expose your code, you can use whatever conventions you like.
<moon-child> though in fairness, reformatting said code is only a couple of keystrokes. But better if it were already formatted
<kreyren_> kreyren@leonid:~/Repositories/s7i$ cat example/build.project | sed 's/\t/ /g' | ix
<kreyren_> better?
<kreyren_> quad used because i expect to make docs in that file for the used code
<beach> moon-child: It just doesn't seem right to me that each person doing kreyren_ a favor should have to reformat the code, as opposed to kreyren_ getting it right in the first place.
<moon-child> kreyren_: congratulations! You get a http://porkmail.org/era/unix/award.html ;)
<kreyren_> like i don't mind adapting alias in my bashrc for it O.o
<beach> kreyren_: I don't think you read the Common Lisp HyperSpec entry correctly.
<beach> ... about semicolons.
<kreyren_> but in general i let my contributors to use whatever indentation then want and pipe that through GNU Indent during CI
<kreyren_> beach, eh?
<kreyren_> you want me to use double for the single because it's all in one form?
<beach> Again, I have no such desire myself. I am point you to the document that states the conventions.
<beach> It is up to you to follow conventions or not. But whether you do might influence the quality of the remarks you get on your code.
<kreyren_> i though i did follow it x.x
<beach> *pointing
<beach> Two semicolons are not preceded by code.
<beach> One semicolon is always preceded by code.
<beach> clhs 2.4.4.2.5
<specbot> Examples of Style for Semicolon: http://www.lispworks.com/reference/HyperSpec/Body/02_ddbe.htm
<kreyren_> http://ix.io/2E6F so like this
<kreyren_> ?
<kreyren_> i was looking at the example >..
<beach> So in the example, do you see a single case where a single semicolon is first on a line?
<beach> And do you see a single example where two semicolons follow some code on the same line?
<beach> And do you see a single example of a two-semicolon top-level comment?
<beach> Anyway, I need to get back to work.
* kreyren_ concluded http://ix.io/2E6G
* kreyren_ is confused because it doesn't specify standard for his stub flags e.g. FIXME
saganman has quit [Quit: WeeChat 1.6]
notzmv has quit [Read error: No route to host]
notzmv has joined #lisp
aartaka has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
davisr__ has joined #lisp
davisr_ has quit [Ping timeout: 240 seconds]
aartaka has joined #lisp
shka_ has joined #lisp
dmc00 has quit [Ping timeout: 272 seconds]
narimiran has joined #lisp
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi9812 has joined #lisp
uhuh_ has quit [Quit: uhuh_]
narimiran has quit [Ping timeout: 246 seconds]
daphnis has joined #lisp
epony has quit [Remote host closed the connection]
narimiran has joined #lisp
epony has joined #lisp
Shinmera has left #lisp ["WeeChat 1.9.1"]
pve has joined #lisp
la-jesystani has quit [Ping timeout: 258 seconds]
narimiran has quit [Ping timeout: 265 seconds]
kinope has quit [Quit: Idle for 30+ days]
heisig has joined #lisp
treflip has joined #lisp
Nilby has joined #lisp
iamFIREc2 has joined #lisp
paule32_ is now known as paule32
bilegeek has quit [Quit: Leaving]
orivej has joined #lisp
aartaka has quit [Ping timeout: 246 seconds]
heisig has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 256 seconds]
saganman has joined #lisp
shka_ has quit [Ping timeout: 260 seconds]
heisig has joined #lisp
orivej has joined #lisp
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
shifty has quit [Remote host closed the connection]
shifty has joined #lisp
karlosz has quit [Quit: karlosz]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
aartaka has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
daphnis has quit [Ping timeout: 260 seconds]
treflip has quit [Quit: WeeChat 2.6]
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
aartaka has joined #lisp
rippa has joined #lisp
Necktwi has quit [Ping timeout: 246 seconds]
Necktwi has joined #lisp
skapata has joined #lisp
<Nilby> Is there something that can do ACME with hunchentoot ?
scymtym has quit [Ping timeout: 260 seconds]
treflip has joined #lisp
iamFIREc2 has quit [Ping timeout: 260 seconds]
iamFIREc2 has joined #lisp
treflip has quit [Quit: WeeChat 2.6]
arbv has quit [Ping timeout: 268 seconds]
<edgar-rft> Nilby: have you already asked Bugs Bunny?
Lycurgus has joined #lisp
<Nilby> I was hoping to cut down on the cartoonishness of my setup, but maybe hunchentoot and drakma is already there.
kyych has quit [Read error: No route to host]
EvW has joined #lisp
arbv has joined #lisp
* Lycurgus only knows that from hs
random-nick has joined #lisp
* Lycurgus .oO( likely equivocation )
<ck_> Lycurgus: are you red or green in color, at the moment?
iamFIREc2 has quit [Ping timeout: 256 seconds]
<Lycurgus> in this client, red
dra has joined #lisp
<ck_> all right
nckx has quit [Ping timeout: 256 seconds]
iamFIREc2 has joined #lisp
<Lycurgus> ck_, was that a captcha?
hineios has joined #lisp
<ck_> no, it wasn't completely automated -- the question was referring to https://en.wikipedia.org/wiki/Lycurgus_Cup
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
shifty has quit [Ping timeout: 258 seconds]
shifty has joined #lisp
<Lycurgus> the normal hue is red. Does anybody know if the garnet on github works?
villanella has joined #lisp
kreyren_ has quit [Remote host closed the connection]
iamFIREcracker has joined #lisp
iamFIREc2 has quit [Ping timeout: 256 seconds]
jealousmonk has joined #lisp
<jackdaniel> phoe: n.b, it is good that you took the protocol proposed by sbcl, because this package is meant to implement the same-ish protocol
<phoe> jackdaniel: I inferred as much
<phoe> SBCL errors on GET-PROTOCOL-BY-NAME with an unknown protocol; I literally copied the error definition from it and installed it into ECL logic so now ECL interface mimics the SBCL one a little bit more
<jackdaniel> yes, that's why I've mentioned that 'it is good' <;
madage has joined #lisp
<jackdaniel> (and to prove, that I indeed looked into it instead of blindly merging - even if there were no comments ;)
<phoe> the last time you blindly merged my ECL patch I managed to break the build
<phoe> so I am most glad for the review
<jackdaniel> I don't remember blindly merging anything, but I'll keep that in mind
<phoe> I remember one such instance
<phoe> hence I tried to do as much testing as I could this time before pushing the MR
frost-lab has joined #lisp
dra has quit [Quit: Leaving]
Lycurgus has quit [Quit: Exeunt]
pankajsg has quit [Ping timeout: 264 seconds]
kiroul has joined #lisp
hendursaga has joined #lisp
luckless has joined #lisp
pankajsg has joined #lisp
<Nilby> Lycurgus: earl-ducaine/cl-garnet partially works for me. It seems to want some old X11 fonts installed though.
lucasb has joined #lisp
iamFIREc1 has joined #lisp
nckx has joined #lisp
iamFIREcracker has quit [Ping timeout: 260 seconds]
jprajzne has joined #lisp
daphnis has joined #lisp
FreeBirdLjj has joined #lisp
heisig has quit [Quit: Leaving]
aartaka has quit [Read error: Connection reset by peer]
Lycurgus has joined #lisp
<Lycurgus> Nilby, ty. I will check it out later, would do now but it wants a separate env/user where it can do wierd stuff to ql
<Lycurgus> btw, by ACME, did you mean Rob Pike's editor?
<Nilby> I somehow rand it straight from the repl.
<Lycurgus> that is to say it implicitly does, I wouldn't do what it wants to a working setuo
<Lycurgus> *setup
<Lycurgus> yeah I don't doubt the the procedure it wants you to do results in somekina working garnet
<Nilby> no, actually rfc8555 "Automatic Certificate Management Environment"
<Lycurgus> it just looks like it would clobber my working setup
<Lycurgus> ah
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
<Lycurgus> the haskell thing of that name is a persverated joke
<Nilby> I didn't do what the README said, I just quickloaded it and it worked. But it did mess with the running repl/image a bit of course, which I had to restart.
<Lycurgus> ql didn find it when I did apropos ...
<Lycurgus> by 'just quickloaded' you may mean executing the procedure i'm referring to
<Lycurgus> as opposed to (ql:quickload "garnet") oder
<Lycurgus> also starting a new env for it isn't a big deal already have few but not right now
<Nilby> I just did the equivalent of pushing it's directory to asdf:*central-registry* and then do (ql:quickload :garnet) from my shell.
<Lycurgus> ah OK, that sounds insightful, will follow up on it later, ty.
<Nilby> Good luck. I probably have one of the most diververgent lisp environments around.
<Lycurgus> :)
eschatologist_ has joined #lisp
<Lycurgus> also the readme does say upfront it's a one shot repl
arbv has quit [*.net *.split]
epony has quit [*.net *.split]
shifty has quit [*.net *.split]
terpri has quit [*.net *.split]
rixard has quit [*.net *.split]
Kundry_Wag has quit [*.net *.split]
zge has quit [*.net *.split]
TMA has quit [*.net *.split]
elflng has quit [*.net *.split]
acolarh has quit [*.net *.split]
rotty has quit [*.net *.split]
jxy has quit [*.net *.split]
ramus has quit [*.net *.split]
eschatologist has quit [*.net *.split]
Papa has quit [*.net *.split]
mtd has quit [*.net *.split]
z0d has quit [*.net *.split]
vsync has quit [*.net *.split]
seisatsu has quit [*.net *.split]
micro has quit [*.net *.split]
hiredman has quit [*.net *.split]
matijja has quit [*.net *.split]
Demosthenex has quit [*.net *.split]
SumoSud0 has quit [*.net *.split]
Tordek has quit [*.net *.split]
Kabriel has quit [*.net *.split]
sukaeto has quit [*.net *.split]
micro has joined #lisp
Papa has joined #lisp
seisatsu has joined #lisp
Demosthenex has joined #lisp
ramus has joined #lisp
sukaeto has joined #lisp
shifty has joined #lisp
acolarh has joined #lisp
jxy has joined #lisp
hiredman has joined #lisp
mtd has joined #lisp
Tordek has joined #lisp
elflng has joined #lisp
<Nilby> The demos are actually a little fun trip back in time.
matijja has joined #lisp
h11 has quit [*.net *.split]
santiagopim[m] has quit [*.net *.split]
even4void[m] has quit [*.net *.split]
etimmons has quit [*.net *.split]
p_l has quit [*.net *.split]
parisienne has quit [*.net *.split]
terrorjack has quit [*.net *.split]
jsatk has quit [*.net *.split]
Kundry_Wag has joined #lisp
vsync has joined #lisp
TMA has joined #lisp
rixard has joined #lisp
CrazyEddy has quit [*.net *.split]
zymurgy has quit [*.net *.split]
arbv has joined #lisp
epony has joined #lisp
terpri has joined #lisp
amk has quit [Ping timeout: 264 seconds]
Kabriel has joined #lisp
zge has joined #lisp
ioa has quit [Ping timeout: 246 seconds]
etimmons has joined #lisp
santiagopim[m] has joined #lisp
parisienne has joined #lisp
even4void[m] has joined #lisp
h11 has joined #lisp
CrazyEddy has joined #lisp
p_l has joined #lisp
terrorjack has joined #lisp
jsatk has joined #lisp
zymurgy has joined #lisp
amk has joined #lisp
zymurgy has quit [Max SendQ exceeded]
terrorjack has quit [Max SendQ exceeded]
rotty has joined #lisp
z0d has joined #lisp
zymurgy has joined #lisp
Josh_2 has joined #lisp
terrorjack has joined #lisp
ioa has joined #lisp
lspr[m] has quit [Ping timeout: 246 seconds]
h11 has quit [Ping timeout: 246 seconds]
MrtnDk[m] has quit [Ping timeout: 240 seconds]
infra_red[m] has quit [Ping timeout: 240 seconds]
loke[m] has quit [Ping timeout: 240 seconds]
Gnuxie[m] has quit [Ping timeout: 244 seconds]
autumn[m] has quit [Ping timeout: 244 seconds]
katco has quit [Ping timeout: 260 seconds]
Dmytro[m] has quit [Ping timeout: 268 seconds]
cairn has quit [Ping timeout: 268 seconds]
santiagopim[m] has quit [Ping timeout: 246 seconds]
etimmons has quit [Ping timeout: 246 seconds]
ThaEwat has quit [Ping timeout: 244 seconds]
camlriot42 has quit [Ping timeout: 244 seconds]
Lycurgus has quit [Quit: Exeunt]
SumoSud0 has joined #lisp
even4void[m] has quit [Ping timeout: 246 seconds]
iskander has quit [Ping timeout: 260 seconds]
iskander has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
aartaka has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
ex_nihilo has quit [Quit: Leaving]
amk has quit [Changing host]
amk has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
h11 has joined #lisp
autumn[m] has joined #lisp
infra_red[m] has joined #lisp
<Josh_2> Has anyone used compatible-metaclasses?
MrtnDk[m] has joined #lisp
Gnuxie[m] has joined #lisp
luckless has quit [Ping timeout: 240 seconds]
luckless has joined #lisp
<beach> What are they?
shifty has quit [Ping timeout: 260 seconds]
iskander- has joined #lisp
iskander has quit [Ping timeout: 244 seconds]
<beach> Oh, that link name sounds familiar, and gives an unpleasant feeling.
ljavorsk has joined #lisp
imode has quit [Ping timeout: 256 seconds]
bgardner has joined #lisp
iamFIREc1 has quit [Ping timeout: 265 seconds]
<mseddon> hehe
iskander- has quit [Ping timeout: 246 seconds]
loke[m] has joined #lisp
iskander has joined #lisp
iamFIREc1 has joined #lisp
lspr[m] has joined #lisp
devon has quit [Ping timeout: 256 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
etimmons has joined #lisp
santiagopim[m] has joined #lisp
ThaEwat has joined #lisp
camlriot42 has joined #lisp
cairn has joined #lisp
katco has joined #lisp
Dmytro[m] has joined #lisp
iskander has quit [Ping timeout: 240 seconds]
even4void[m] has joined #lisp
iskander- has joined #lisp
iskander has joined #lisp
iskander- has quit [Ping timeout: 244 seconds]
iamFIREc1 has quit [Ping timeout: 240 seconds]
iamFIREc1 has joined #lisp
iskander- has joined #lisp
iskander has quit [Ping timeout: 240 seconds]
iamFIREc1 has quit [Ping timeout: 272 seconds]
daphnis has quit [Ping timeout: 272 seconds]
igemnace has joined #lisp
iskander has joined #lisp
iskander- has quit [Ping timeout: 268 seconds]
iamFIREc1 has joined #lisp
Bike has joined #lisp
bitmapper has quit [Quit: Connection closed for inactivity]
bgardner has quit [Ping timeout: 246 seconds]
iamFIREc1 has quit [Ping timeout: 272 seconds]
iamFIREc1 has joined #lisp
iskander has quit [Ping timeout: 246 seconds]
iskander- has joined #lisp
igemnace has quit [Remote host closed the connection]
judson_ has joined #lisp
daphnis has joined #lisp
iamFIREcracker has joined #lisp
bgardner has joined #lisp
Bhartrihari has left #lisp ["Disconnected: closed"]
Bhartrihari has joined #lisp
iamFIREc1 has quit [Ping timeout: 264 seconds]
iamFIREcracker has quit [Ping timeout: 256 seconds]
iamFIREcracker has joined #lisp
ljavorsk has quit [Ping timeout: 244 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bourne has quit [Remote host closed the connection]
pankajsg has quit [Ping timeout: 264 seconds]
bitmapper has joined #lisp
edgar-rft has quit [Quit: Leaving]
rogersm has joined #lisp
EvW has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
aartaka_d has joined #lisp
Nilby has quit [Ping timeout: 260 seconds]
mokulus has quit [Quit: WeeChat 2.9]
Lycurgus has joined #lisp
ym has joined #lisp
<Lycurgus> Nilby was right, it (garnet) does load unproblematically, at least in a relatively new quicklisp env with sbcl
<Lycurgus> didn realize the config changes it asked for in that case overrode nothing
orivej has quit [Ping timeout: 256 seconds]
Bike has quit [Remote host closed the connection]
rogersm has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Lycurgus has quit [Quit: Exeunt]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
mokulus has joined #lisp
liberliver has joined #lisp
MinnowTaur has quit [Remote host closed the connection]
narimiran has joined #lisp
saganman has quit [Ping timeout: 264 seconds]
aartaka_d has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
jeosol has joined #lisp
imode has joined #lisp
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi9812 has joined #lisp
izh_ has joined #lisp
<jmercouris> so I have the following: http://dpaste.com/9CPFKPGHE
<jmercouris> I'm wondering if I can somehow get rid of the converged let binding
<jmercouris> is there a way I could rewrite it a bit cleaner?
<mfiano> gasp
<phoe> yes
<phoe> (loop with converged = nil for ...)
<phoe> also this UNLESS looks ultra weird
<jmercouris> gasp lol
<phoe> why does convergedp take two arguments, the second of which being a SETF form?
<beach> jmercouris: Your indentation is off.
<jmercouris> is that so?
<jmercouris> hm let me se
<jmercouris> that's what emacs does I reindented the whole defun
<beach> jmercouris: Also, you should initialize your LET variable if it is used before being assigned to.
mmohammadi9812 has quit [Ping timeout: 256 seconds]
<jmercouris> so my convergedp takes the result of the setf
<jmercouris> it's checking the delta between two values
<jmercouris> the old one, and what it is now set to
<jmercouris> phoe: Aha, yes, that's exactly what I wanted to do!
<jmercouris> I had a feeling in the back of my mind it was part of loop somehow
<jmercouris> thank you
<phoe> jmercouris: annotation at https://plaster.tymoon.eu/view/2141#2142
<phoe> should be equivalent
<phoe> but also more readable
<jmercouris> hm, also a good idea
mmohammadi9812 has joined #lisp
<jmercouris> uses more lines, but far more readable
<jmercouris> I like it, thanks
<phoe> jmercouris: second annotation at https://plaster.tymoon.eu/view/2141#2143
<phoe> I removed the convergedp variable altogether and instead use explicit control flow
<phoe> also the new-rank function could be extracted into a local helper function methinks
FreeBirdLjj has quit [Remote host closed the connection]
<jmercouris> hm you think I should put that in an flet huh
<phoe> very yes
<jmercouris> lots of things to think about, give me a second, and I'll see what I can come up with
<phoe> to separate iteration from logic
<jmercouris> I have to peel some potatoes now, one second
<phoe> third annotation at https://plaster.tymoon.eu/view/2141#2145 - I also added a T return value to let you know that convergence happened; otherwise it'll return NIL
Bike has joined #lisp
<jeosol> Good morning guys
<phoe> HEYYY
<phoe> woops, caps lock
<jeosol> hi, been a while. Just finished my move, few weeks back. The book and all editing is finalized i hope
<jeosol> experts on remote calls, I have a small issue I am trying to debug and do it correct. I have an application, takes a few minutes to load and set up. So normally, I create an image for faster start up and in-package to the package where the function I want to call is defined
shka_ has joined #lisp
cosimone has joined #lisp
<jeosol> I want to access this from another running lisp, I do the swank:create-server :port 10001, etc . Then, I want to use swank-client:slime-eval to evaluate a function on the remote running image. I feel I am not doing something right, as it only works if I leave the remote sbcl terminal in :cl-user and (use-package ...) where the function is defined.
<jeosol> To understand the issue, imagine this simple paste: https://bit.ly/2UusCEa
<jeosol> I not an expert on the remote evaluations. Ideally, I define mycube in mymath package
dra has joined #lisp
niceplace has quit [Ping timeout: 264 seconds]
<jeosol> fixed paste: https://bit.ly/2UuHpil
cosimone has quit [Read error: Connection reset by peer]
dra has quit [Remote host closed the connection]
Jeanne-Kamikaze has joined #lisp
cosimone has joined #lisp
judson_ has joined #lisp
shifty has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
peppe` has joined #lisp
fraya has joined #lisp
<phoe> what do you mean, "only works"? what's the error otherwise?
<phoe> why don't you return or describe the error object? "We caught a condition" gives us nothing to work with regarding figuring out what really happened
<jeosol> If I run the remote to do (in-package :cl-user) (use-package :mymath) that call in the updated paste works
<jeosol> my real case also works that way too,
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jeosol> I was wondering if there is a way to make it work. If I paste the call to the swank-client:slime-eval on the remote it works. I was thinking swank-client:slime-eval recognizes/honors the current *package* of the remote and just evaluates the function
judson_ has joined #lisp
mokulus has quit [Quit: WeeChat 2.9]
mokulus has joined #lisp
<mfiano> jmercouris: It's always a good idea to break up the logic like was done. Another thing you could do to perhaps improve readability, is rewrite it as a DOLIST inside a DOTIMES
meowphius has quit [Ping timeout: 264 seconds]
<mfiano> To me, that is more readable, as I can instantly tell what it is doing without looking at the intermediary loop keywords.
<mfiano> I sometimes rewrite nested LOOPs as such when it results in more readable code (to me at least).
<phoe> jeosol: I wonder how the symbol MYCUBE is converted
<phoe> whether it's sent as CL-USER:MYCUBE or as MYMATH:MYCUBE or just as MYCUBE
<jeosol> phoe: thanks for looking into this.
arpunk has quit [Remote host closed the connection]
<phoe> also, your handler-case is really preventing any further debugging
<jeosol> So it can't be sent as mymath:mycube because on the upstream side, there is no notion of mymath
<phoe> we have no debug information whatsoever
<phoe> but it can be sent as cl-user:mycube
<phoe> which will not work nicely
<jeosol> I copied that handler part, i will say ignore it, I am not an expert there too, perhaps you can advise
<jeosol> the thing is if the call to the remote doesn't go well, it messes up the remote (hangs, enter debugger) and I don't want that, as I want to be able to do more calls
<jeosol> for the mycube, I think it is sent as cl-user:mycube which is my when I (use-package :mymath) on remote, everything works
aartaka has quit [Ping timeout: 260 seconds]
arpunk has joined #lisp
<phoe> then use (error (e) (list :error (princ e))) as the handler; that'll at least give you the condition report.
<phoe> jeosol: yes, I see; hmmmm
<phoe> the issue is that you are sending Lisp forms from client to server
<phoe> which means that you are limited by the packages which are available on both sides
<jeosol> Imagine that is the case.
<jeosol> Now I recall why I took out the error information, I was getting some "illegal sharp macro character :#\< .." error
<jeosol> phoe: regarding the comment available on both sides, that means the client doesn't recognize the current package on the server
<phoe> wait a second, sharp macro character?
<phoe> on the character #\< ?
<phoe> something much more is screwed up; for whatever reason, the reader chokes on unreadable objects, like #<FOO ...>
<phoe> which should not happen
<jeosol> hahaha: that's is true.
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jeosol> Did a restart, and still get the #\< error, when I intentionally send wrong input to server, otherwise, everything works okay. There is something messing up the reader
<jeosol> thx buddy
<phoe> <3
<jeosol> it works with the hack as described above. I'd leave it like that for now
EvW has quit [Ping timeout: 260 seconds]
Jeanne-Kamikaze has quit [Ping timeout: 256 seconds]
aaaaaa has joined #lisp
judson_ has joined #lisp
fraya has left #lisp ["ERC (IRC client for Emacs 27.1)"]
Josh_2 has quit [Ping timeout: 246 seconds]
hnOsmium0001 has joined #lisp
meowphius has joined #lisp
cosimone has quit [Quit: cosimone]
orivej has joined #lisp
ym has quit [Remote host closed the connection]
shifty has quit [Ping timeout: 246 seconds]
EvW has joined #lisp
shifty has joined #lisp
shka_ has quit [Ping timeout: 260 seconds]
dilated_dinosaur has quit [Ping timeout: 260 seconds]
loli has quit [Quit: WeeChat 2.9]
loli has joined #lisp
meowphius has quit [Ping timeout: 256 seconds]
akoana has joined #lisp
mokulus has quit [Quit: WeeChat 2.9]
akrl has joined #lisp
imode has quit [Quit: WeeChat 2.9]
imode has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kir0ul_ has joined #lisp
kaftejiman has joined #lisp
kiroul has quit [Ping timeout: 260 seconds]
ggole has quit [Quit: Leaving]
judson_ has joined #lisp
ex_nihilo has joined #lisp
peppe` has quit [Quit: ERC (IRC client for Emacs 26.3)]
meowphius has joined #lisp
aaaaaa has quit [Quit: leaving]
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
karlosz has joined #lisp
shifty has quit [Ping timeout: 264 seconds]
yitzi has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
shifty has joined #lisp
Bike has quit [Remote host closed the connection]
eschatologist_ is now known as eschatologist
dilated_dinosaur has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asdflkj has joined #lisp
Josh_2 has joined #lisp
Khisanth has quit [Ping timeout: 264 seconds]
liberliver has quit [Ping timeout: 264 seconds]
judson_ has joined #lisp
meowphius_ has joined #lisp
meowphius has quit [Ping timeout: 264 seconds]
Khisanth has joined #lisp
izh_ has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Jeanne-Kamikaze has joined #lisp
vaporatorius has joined #lisp
shifty has quit [Ping timeout: 246 seconds]
vaporatorius__ has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 264 seconds]
narimiran has quit [Ping timeout: 264 seconds]
meowphius__ has joined #lisp
shifty has joined #lisp
meowphius_ has quit [Ping timeout: 272 seconds]
dmc00 has joined #lisp
kaftejiman has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 272 seconds]
villanella has quit [Ping timeout: 260 seconds]
cer0 has joined #lisp
pve has quit [Quit: leaving]
imode has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 264 seconds]
imode has joined #lisp
Bike has joined #lisp
Bike has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
torbo has joined #lisp
EvW has joined #lisp
Jeanne-Kamikaze has quit [Quit: Leaving]
daphnis has quit [Ping timeout: 265 seconds]
davisr_ has joined #lisp
akoana has left #lisp ["Leaving"]
fourier has joined #lisp
davisr__ has quit [Ping timeout: 240 seconds]
madage has quit [Ping timeout: 240 seconds]
madage has joined #lisp
kaftejiman has joined #lisp