p_l 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/> | ASDF 3.3.4
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 240 seconds]
kleptoflora has joined #lisp
anatrope has quit [Ping timeout: 246 seconds]
gjulio_ has quit [Ping timeout: 256 seconds]
<jasom> z3t0: what is the maximum latency you can tolerate?
<jasom> I'm not aware of any common-lisp implementation that can keep GC pauses under, say, 100ms reliably. However, if you don't allocate in your latency-sensitive sections, then GC pauses don't matter
markong has quit [Ping timeout: 240 seconds]
wxie has joined #lisp
<jasom> z3t0: that being said, there is nothing that makes it impossible to build a lisp with very short GC pauses, it's just that optimizing for short pauses isn't something anyone has done.
rumbler31 has joined #lisp
<z3t0> jasom: it hasn't been defined yet. I think mroe than maximum latency, we are aiming for predictable latency
wxie has quit [Quit: wxie]
ahungry has joined #lisp
elderK has quit [Ping timeout: 264 seconds]
<fe[nl]ix> jasom: ABCL has two short-pause GCs by virtue of the JVM
elderK has joined #lisp
vornth has quit [Ping timeout: 256 seconds]
anatrope has joined #lisp
kleptoflora has quit [Ping timeout: 265 seconds]
satousan has joined #lisp
bitmapper has quit [Ping timeout: 240 seconds]
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
<White_Flame> Oladon: y0
<White_Flame> z3t0: reducing GC latency also slows down main-line code, so that would increase your responsiveness of your code regardless of added GC latency
<White_Flame> *reduce the responsiveness
<White_Flame> of course, that comes in to play when the workload per event is fairly high
<White_Flame> and some percentage increase in runtime cost would be unacceptable
dominic34 has quit [Ping timeout: 256 seconds]
gjulio_ has joined #lisp
_whitelogger has joined #lisp
madage has quit [Remote host closed the connection]
akoana has left #lisp ["Leaving"]
madage has joined #lisp
dominic34 has quit [Ping timeout: 246 seconds]
tristero has quit [Ping timeout: 240 seconds]
luci666 has joined #lisp
kinope has joined #lisp
dominic34 has joined #lisp
terpri__ has joined #lisp
rumbler31 has quit [Ping timeout: 246 seconds]
terpri_ has quit [Ping timeout: 244 seconds]
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 26.3)]
ferpb has quit [Read error: Connection reset by peer]
ferpb has joined #lisp
<Oladon> White_Flame: I'm hoping for some tips on figuring out what my parser should output. I'm following up on that BBCode/Commonmark parser from last time (thanks again for your version!)
<White_Flame> sure
<White_Flame> I haven't gotten around to packaging mine up, really busy with other stuff :-/
<Oladon> No worries. It's been good practice :)
<Oladon> I'm using spinneret, so technically I could probably output spinneret pseudo-DOM... but that seems kinda specific to this use case'
<Oladon> -'
Kaisyu7 has joined #lisp
<White_Flame> one of the bigger things with bbcode is that you have to allow unbalanced brackets & tags to go through unmodifieed
<White_Flame> (or at least, that's the most user-helpful failure case. If you eat unbalanced contents, the user has no clue what went wrong)
<White_Flame> [a][b]foo[/a][/b] has sometimes been supported in various boards, too
jesse1010 has quit [Ping timeout: 256 seconds]
<Oladon> Yeah, I decided not to try to support that last bit for now
<Oladon> My in-order combinator allows for ignoring incomplete/unbalanced stuff
<Oladon> Just not really sure if I should shoot for alists as output, or a list of string + DOMish AST, or what
<Oladon> And if there are any good arguments one way or another, or if it's pretty much just preference
<White_Flame> for this case, I'd say a list of terms, where a term is either a string or (<tag> . <terms>)
<Oladon> hmm
<Oladon> What about complex tags that take arguments, like [url=title]...[/url] or [color=red]?
<White_Flame> ah, then (<tag> <params> . <terms>) :)
<Oladon> Hmm
<White_Flame> always have a place for the params, even if it's often nil
<White_Flame> or make a 3-element struct the more positional you get. But it will always contain a list of terms which can nest tags beneath it
<z3t0> White_Flame: what is mainlinecode?
<Oladon> Makes sense... what's the benefit of doing (x y . z) as opposed to just (x y z)?
jbgg has quit [Ping timeout: 258 seconds]
lonjil has quit [Ping timeout: 256 seconds]
<White_Flame> just preference really
<White_Flame> whether it's 1 list ith header stuff, vs an explicit sublist
<White_Flame> since a cdr can be treated as a separate list, it's handy
<Oladon> Isn't the cdr of (1 2 . 3) going to be (2 . 3)? (I think I'm missing something.)
<White_Flame> (:b () "Bold text with an " (:i () "italicized") " word")
<White_Flame> vs
<White_Flame> (:b () ("Bold text with an " (:i () "italicized") " word"))
<Oladon> Ahh
lonjil has joined #lisp
<White_Flame> and of course that translates easily to html
<White_Flame> since the body is a list of stuff like that
<Oladon> Yeah, that makes sense. Hang on, though... which one are you espousing?
<White_Flame> I would default to the 1st one. But the latter is useful if you add in more peer lists than the 2 that exists
<White_Flame> again, as it becomes more positional, you probably want to move to structs
<Oladon> Gotcha. What would your access look like for the various parts of the first one, and what do you mean by positional?
<White_Flame> instead of having a list of 7 things in deliberate order
<White_Flame> (<tag> <attr list> <some other list> <count> <body list> <flags> ...)
<Oladon> Oh, you mean if I end up having (x y z aa bb . zz)
<Oladon> gotcha
<Oladon> yeah
<White_Flame> each thing in the list has some position by protocol, but unenforced by anything. THe struct keeps tract of what is where by name, which is handy when there's more than just a few associated things
<White_Flame> yep
<White_Flame> and defstruct can actually manage lists for you, if you need it kept as a single list of terms in meaningful positions
jbgg has joined #lisp
<White_Flame> (defstruct (foo (:type list)) ...)
ferpb has quit [Quit: ERC (IRC client for Emacs 27.0.91)]
<Oladon> I haven't done much with defstruct; probably a good time to explore it
<Oladon> CLOS seems like overkill for this :P
<White_Flame> yeah, I use methods here & there, but almost never defclass
jurov_ has joined #lisp
* White_Flame is probably in the minority on that one
aaaaaa has joined #lisp
jurov has quit [Ping timeout: 240 seconds]
satousan has quit [Quit: WeeChat 2.3]
<Oladon> Yeah, I like it for a lot of stuff :)
<Oladon> Alright, so tangentially-related question for you... how in the world am I supposed to implement an escape character? :P
<Oladon> (I should probably not be thinking about that yet, but c'est la vie...)
EvW has quit [Ping timeout: 256 seconds]
<White_Flame> hmm, for what?
<White_Flame> unescaped brackets are plain brackets in output; they don't require escaping
<Oladon> Good point...
<Oladon> But then it seems like my parser is going to have to backtrack
<White_Flame> yep
<Oladon> Ah.
<Oladon> That's unfortunate.
<White_Flame> well, it's just trimming output and returning to a point in the input string/stream, so it's really not bad
<Oladon> Hmm... I can't quite visualize the path forward from where I am. Maybe I'm in the wrong place. Today I have, for example, (in-order (bbcode-open-tag) (one-or-more (anything-but ([))) (bbcode-matching-close-tag))
<Oladon> (Of course, the middle bit is what needs to change)
<Oladon> (This doesn't support nested tags either :))
satousan has joined #lisp
SYMINAL has quit [Quit: SYMINAL]
SYMINAL_ has joined #lisp
satousan has quit [Quit: WeeChat 2.3]
SYMINAL_ has quit [Remote host closed the connection]
<Oladon> Hmm, (in-order (bbcode-open-tag) (one-or-more (any (bbcode-matching-close-tag) (anything)))) works
<Oladon> But it ain't purty ;)
<White_Flame> it's also the first thing that works, which is a good model to then make the purty version from
<Oladon> Heh, fair
<White_Flame> since you then know the details that you need to get together in a better way
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
<Oladon> Aight. I should log out. Appreciate your help this evening!
<beach> Good morning everyone!
<Oladon> Morning beach! And night to you as well!
Bike has quit [Quit: leaving]
dominic34 has quit [Ping timeout: 256 seconds]
johnjay has joined #lisp
zaquest has quit [Quit: Leaving]
nopolitica has joined #lisp
aaaaaa has left #lisp [#lisp]
mathrick has quit [Ping timeout: 240 seconds]
nopolitica has quit [Quit: WeeChat 2.6]
mathrick has joined #lisp
zaquest has joined #lisp
q-u-a-n23 has joined #lisp
minion has quit [Disconnected by services]
minion has joined #lisp
q-u-a-n2 has quit [Remote host closed the connection]
adlai has quit [Read error: Connection reset by peer]
gko has quit [Remote host closed the connection]
liead has joined #lisp
cantstanya has quit [Remote host closed the connection]
Khisanth has quit [Ping timeout: 246 seconds]
Oladon has quit [Quit: Leaving.]
cantstanya has joined #lisp
orivej has joined #lisp
kinope has quit [Quit: Connection closed for inactivity]
Khisanth has joined #lisp
wxie has joined #lisp
space_otter has joined #lisp
shangul has joined #lisp
wxie has quit [Ping timeout: 272 seconds]
ldb has joined #lisp
<ldb> good afternnon
edgar-rft has joined #lisp
mrcom_ has quit [Read error: Connection reset by peer]
gravicappa has joined #lisp
mrcom has joined #lisp
<beach> Hello ldb.
<ldb> hello beach
asarch has joined #lisp
libertyprime has joined #lisp
terpri__ is now known as terpri
<ldb> (terpri)
Elronnd has joined #lisp
<Elronnd> why do some lisps (1.5?, emacs) use setq, some (cl) use setf, and some use set! (scheme)? What do the 'q' and 'f' mean?
<beach> q means quote.
<beach> In the beginning there was SET that evaluated both arguments.
<beach> I am not sure what F means, but it is used for side-effecting operations. SETF is more versatile than SETQ because it can set places other than variables.
<beach> Common Lisp still has SETQ and it is a special operator.
<beach> SETF is a macro that is then expanded to simpler operators.
<Elronnd> ah, neat
<Elronnd> why does scheme change to set!?
<beach> Scheme just wanted to have a more direct indication for side effects and predicates, so it uses ! and ?
narimiran has joined #lisp
<beach> And I don't know how versatile Scheme set! is. This is a Common Lisp channel after all.
<ldb> according to Lisp Machine Manual, setf means set `form'
<ldb> and Scheme prefer to use ! to indicate procedures with side effect
countvajhula has quit [Ping timeout: 256 seconds]
shangul has quit [Remote host closed the connection]
shangul has joined #lisp
<beach> And the reason we don't use SET anymore is that modern Lisps want the compiler to do more work, so that efficient code can be generated. For that to work, the name of variables must be known at compile time. If a new variable name can magically appear, say with (SET (READ) 234), then there is little the compiler can do.
<Elronnd> (eval `(set ,(read) 234))
<Elronnd> s/set/setf/
<beach> What is that example supposed to show?
<Elronnd> that a new variable name can magically appear
<beach> In a modern Lisp like Common Lisp, EVAL does not have access to the lexical environment.
bhartrihari has left #lisp ["Disconnected: closed"]
<beach> So (let ((x 0)) (eval `(setf ,(read) 234))) does not influence X even if that is the symbol returned by READ.
bhartrihari has joined #lisp
<beach> It will affect the special variable X if there is such a thing.
<beach> Another way of putting it is that the form given to EVAL is evaluated in the global environment, also known as the "null lexical environment".
<beach> clhs eval
<Elronnd> ahh, I see
<beach> Common Lisp was designed so that a compiler can generate fast code, if written the right way.
bocaneri has joined #lisp
<beach> As opposed to languages like Python that do not even pretend that it is possible to generate fast code.
wxie has joined #lisp
<ldb> if you'd like to hear a longer explaination on where does setf from, there was a SETFQ function that could alter a value produced by function, later abbreviated and adapted to Lisp Machine's SETF
Oladon has joined #lisp
karlosz has quit [Ping timeout: 260 seconds]
<ldb> and that was BBN-LISP
<beach> Elronnd: The Common Lisp standard is a very impressive piece of work. It is clear that it was designed by a bunch of people who are both smart and knowledgeable. That's why it is sad to see individuals without sufficient knowledge trying to "improve" the standard, or even design a "better" language.
<terpri> schemes often have a method of extending set!, similar to setf, as with (info "(guile) Procedures with Setters")
<beach> terpri: I think the key words here are "schemeS" and "often", meaning there is no standard.
<terpri> not standardized as of r5rs, iirc; there's probably an srfi for it, and it might be included in some form in r6rs or r7rs
<terpri> yeah
<beach> Elronnd: For example, it would be tempting for some of those people to give EVAL access to the lexical environment, thereby making most compiler optimizations impossible.
ldb has quit [Quit: leaving]
<terpri> islisp has setf, but it's not arbitrarily extensible (http://islisp.org/docs/islisp-v23.pdf p35, place-form operators are limited to basic getters like car &c., and extensible only in that it can be used with slot reader functions applied to instances, iiuc)
froggey has quit [Ping timeout: 272 seconds]
<terpri> ...i'm completely wrong actually, you can define (setf ...) generic functions apparently
froggey has joined #lisp
jonatack has quit [Quit: jonatack]
torbo has quit [Remote host closed the connection]
kleptoflora has joined #lisp
ebrasca has joined #lisp
anatrope has quit [Ping timeout: 240 seconds]
asarch has quit [Quit: Leaving]
bsd4me has quit [Quit: Leaving]
vaporatorius has joined #lisp
vaporatorius__ has quit [Ping timeout: 265 seconds]
<vegai> so quicklisp is the contemporary way to install library dependencies, right?
CrazyEddy has joined #lisp
<beach> Well, to install the libraries. Quicklisp handles the dependencies.
<vegai> does it (or some other system) support lock files?
<vegai> dunno if that's actually a required thing in cl, given the stability of most libraries
Oladon has quit [Quit: Leaving.]
<beach> What would such support do?
<phoe> you can pin libraries by downloading them to local-projects
<phoe> and setting the git repo to the version you want
<ahungry> npm gets a lot of grief for node_modules/ being huge, but it is a nice convenience where my project could depend on a library at version 1.2.3, and a dependency of mine may depend on that same library at version 2.3.4, although it also lends itself well to constant backwards compatability breakage (much more than I've seen in other communities)
<ahungry> usually the lock files maintain the exact versions for the entire dependency of dependency tree
gjulio_ has quit [Ping timeout: 256 seconds]
ahungry has quit [Remote host closed the connection]
<shka_> oh gosh, usocket does not always raise defined conditions
<beach> shka_: Conditions are not "raised" in Common Lisp. They are "signaled".
SYMINAL has joined #lisp
SYMINAL has quit [Remote host closed the connection]
<shka_> beach: oh, that makes it completely fine!
<phoe> shka_: example?
<shka_> moment, i have a long running task boiling down to sending requests with dexador and suddenly a cl:error (not a subclass) out of the usocket
<shka_> i forgot to check the stack trace though :/
<shka_> silly me
<phoe> what was in the stack trace?
<shka_> don't remember precisely, but i recall usocket at the top
<shka_> but it couldn't be
<phoe> huh
<shka_> nothing in the usocket signals condition with a description like this
<shka_> so perhaps i was mistaken
<shka_> i should have save the stack trace
rgherdt has joined #lisp
ebrasca has quit [Remote host closed the connection]
kaftejiman has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
jonatack has joined #lisp
xrash has quit [Ping timeout: 258 seconds]
ayuce has joined #lisp
pve has joined #lisp
jprajzne has joined #lisp
<flip214> https://github.com/fare/asdf/blob/master/doc/best_practices.md#simple_testing has (defsystem "foobar/tests" ...) and a few lines further (defsystem "foobar-tests" ...)
<flip214> is dash or slash the current convention?
<phoe> flip214: you forgot about "foobar.test"
<phoe> slash happens only if both ASDF systems reside in the same ASD file
rippa has joined #lisp
<flip214> phoe: so there is no convention?
wxie has quit [Remote host closed the connection]
<phoe> flip214: I've seen all three
cpape has quit [Read error: Connection reset by peer]
cpape has joined #lisp
<phoe> I have a personal tase for "foobar.test" that also introduces the singular/plural aspect
<phoe> s/tase/taste/
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
shangul has quit [Remote host closed the connection]
<flip214> Using fiveam I see a strange behaviour. Without a (DECLARE (IGNORE ...)) I get an "unused var" warning and a failure; with the DECLARE the tests succeeds.
<flip214> PERF-PCT evaluated to 1.4643059 which is not <= to 1.5
<phoe> huh!
<flip214> is the error for a (fiveam:is (<= 1.5 perf-pct))
<flip214> grrr, now (after changing the calculation a bit) I get the error even _with_ DECLARE. PERF-PCT evaluated to 0.94503224 which is not <= to 1.5
<phoe> well, (<= 1.5 0.94) is false, so the test seems to work
<phoe> I don't know about the DECLARE IGNORE thing though
<flip214> phoe: arrrg, yeah, just found it out as well!
<flip214> the text string produced by FIVEAM is bad
<phoe> oh, yes, the arguments are flipped
<phoe> (pun (not) intended)
<flip214> phoe: thanks! ;) writing an issue
holycow has joined #lisp
<phoe> I assume that fiveam expects some sort of equality test there
<phoe> and that's an imperfect heuristic, as you just found out
<phoe> and I think it may make fireworks with all sorts of asymmetric binary operators, such as TYPEP
<flip214> phoe: (is (<= 1.1 1.4 0.9)) is less intelligent and works ;)
ggole has joined #lisp
<phoe> yes
bhartrihari has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
shangul has joined #lisp
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 240 seconds]
Khisanth has joined #lisp
iissaacc has joined #lisp
<iissaacc> Does anyone know, if I have quicklisp and ultralisp dists registered in quicklisp, if its possible to specify what dist to install a package from?
Harag has joined #lisp
<iissaacc> cl-json seems to be broken on ultralisp and thats where quicklisp is trying to install it from
<iissaacc> i.e.
<iissaacc> #<SYSTEM cl-json / cl-json-20141217-git / quicklisp 2020-06-10>
<iissaacc> vs
<iissaacc> #<SYSTEM cl-json / kennytilton-qooxlisp-20200310031742 / ultralisp 20200714055506>
luna-is-here has joined #lisp
jonatack has quit [Ping timeout: 240 seconds]
anatrope has joined #lisp
kleptoflora has quit [Ping timeout: 256 seconds]
<flip214> iissaacc: there's a (QL-DIST:DISABLE <dist>), perhaps that helps?
<iissaacc> bingo
<iissaacc> thanks flip214
gko`` has quit [Remote host closed the connection]
gko`` has joined #lisp
luna-is-here has quit [Quit: luna-is-here]
luna_is_here has joined #lisp
<iissaacc> might do a bit of hackage on ql:quickload so i can specify the dist
ljavorsk has joined #lisp
rogersm has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
luna_is_here is now known as luna-is-here
space_otter has quit [Remote host closed the connection]
luna-is-here is now known as luna_is_here
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
<pve> Is it normal for the slime modeline to sort of "flicker" about once per second?
terpri_ has joined #lisp
jonatack has joined #lisp
terpri has quit [Ping timeout: 256 seconds]
jesse1010 has joined #lisp
Elronnd has quit [Ping timeout: 260 seconds]
bkst_ has quit [Read error: Connection reset by peer]
bkst has joined #lisp
leo_song has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
cosimone has joined #lisp
lukego has quit [Ping timeout: 244 seconds]
gko``` has joined #lisp
lad has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
lad has joined #lisp
physpi has quit [Ping timeout: 244 seconds]
gko`` has quit [Read error: Connection reset by peer]
lukego has joined #lisp
hvxgr has quit [Ping timeout: 256 seconds]
leo_song has joined #lisp
liamz[m] has quit [Ping timeout: 260 seconds]
hvxgr has joined #lisp
liamz[m] has joined #lisp
physpi has joined #lisp
anatrope has quit [Remote host closed the connection]
anatrope has joined #lisp
troydm has quit [Ping timeout: 256 seconds]
troydm has joined #lisp
lad has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
leo_song has quit [Remote host closed the connection]
lad has joined #lisp
leo_song has joined #lisp
mpontillo has quit [Ping timeout: 244 seconds]
dnm has quit [Ping timeout: 244 seconds]
dnm has joined #lisp
MrtnDk[m] has quit [Ping timeout: 260 seconds]
l1x has quit [Ping timeout: 244 seconds]
l1x has joined #lisp
mpontillo has joined #lisp
MrtnDk[m] has joined #lisp
random-nick has joined #lisp
lnostdal has quit [Quit: "Fascism, Nazism, Communism and Socialism are only superficial variations of the same monstrous theme—collectivism." -- Ayn Rand]
iissaacc has quit [Remote host closed the connection]
Lycurgus has joined #lisp
iissaacc has joined #lisp
markong has joined #lisp
chewb has joined #lisp
<Xach> iissaacc: you can set a preference in fairly fine detail
<iissaacc> Xach: how would one go about this?
<iissaacc> thanks for the software btw i assume u are the eponymous xach
Lycurgus has quit [Remote host closed the connection]
Lord_of_Life_ has joined #lisp
<Xach> iissaacc: one option is ql-dist::(setf (preference (find-system-in-dist "cl-json" (dist "ultralisp"))) (get-universal-time))
<Xach> oops
<Xach> change that from ultralisp to quicklisp
Lord_of_Life has quit [Ping timeout: 258 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<Xach> also, odd that ultralisp uses cl-json bundled with qooxlisp, which is surely out of date.
<iissaacc> yeah i feel like the best course of action is just to uninstall ultralisp
<iissaacc> thanks for that tho, copied into emacs notes
markoong has joined #lisp
markong has quit [Ping timeout: 256 seconds]
epony has quit [Quit: reconfigure-now]
epony has joined #lisp
EvW1 has joined #lisp
shangul has quit [Ping timeout: 260 seconds]
iissaacc has quit [Ping timeout: 256 seconds]
Bike has joined #lisp
cosimone has quit [Quit: Quit.]
shangul has joined #lisp
ljavorsk has quit [Ping timeout: 272 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
toorevitimirp has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
terpri__ has joined #lisp
terpri_ has quit [Ping timeout: 256 seconds]
cosimone has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
rotty has quit [Ping timeout: 246 seconds]
jeosol has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
cosimone has joined #lisp
igemnace has quit [Quit: WeeChat 2.8]
libertyprime has quit [Quit: leaving]
<phoe> beach: OK, thanks. Will announce today.
<beach> Great!
<Posterdati> hi
<beach> Hello Posterdati.
<Posterdati> beach: hello!
wsinatra has joined #lisp
<Posterdati> is anyone reviewing gsll and cffi to work under sbcl on OpenBSD?
<flip214> Is there a way to ensure that some function will not be optimized away? I'd like to keep a FILL-SEQUENCE in, even if the sequence is only dynamic extent and not used later on
<beach> Functions in the global environment will not be optimized away.
<jackdaniel> if it is a local function, you may force its escape
<jackdaniel> i.e (push #'fill-sequence *my-trashbin*)
<Bike> fill-sequence is your own function? it's unlikely the compiler is willing to optimize away a call to a possibly redefinable function. are you observing it doing so?
<flip214> I'm sorry, I don't understand you. I want to keep the _call_ of the function in, making sure that it's not eliminated as dead-code or so.
<flip214> Bike: I want to destroy a secret key in a vector; and C has a history of optimizing things (like a memset) away, so I thought I'd better ask.
<Bike> ah, right, like that bzero stuff
<Bike> to be really sure you'll probably have to check the disassembly, and then if it's still removed... well... talk to the implementation devs probably
bhartrihari has joined #lisp
vornth has joined #lisp
<flip214> so there's no cross-platform way, like a (LOCALLY (OPTIMIZE (space 0) (debug 3) (safety 100))) or so? thanks
cosimone has quit [Remote host closed the connection]
<Bike> notinline is the closest thing, i think
cosimone has joined #lisp
leo_song has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<Bike> i would be surprised if a compiler optimized away a call to a notinline function. assuming that by "dead code" you mean that the result isn't used etc, rather than that the code is unreachable
<Bike> notinline tells the compiler it can't assume anything about the function, essentially; so perhaps it has some visible side effects, so it can't be optimized away
jw4 has quit [Read error: Connection reset by peer]
cosimone has quit [Read error: Connection reset by peer]
cosimone_ has joined #lisp
jw4 has joined #lisp
liberliver has quit [Quit: liberliver]
markong has joined #lisp
markoong has quit [Ping timeout: 258 seconds]
ukari has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
EvW1 has quit [Ping timeout: 260 seconds]
ukari has quit [Ping timeout: 240 seconds]
ukari has joined #lisp
luci666 is now known as lucifer_h
dominic34 has joined #lisp
rogersm has quit [Quit: Leaving...]
ski has quit [Killed (Sigyn (Stay safe off irc))]
dominic34 has quit [Ping timeout: 256 seconds]
markoong has joined #lisp
markong has quit [Ping timeout: 246 seconds]
ski has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
sjl has joined #lisp
bhartrihari has joined #lisp
chewb has quit [Ping timeout: 272 seconds]
gabiruh has quit [Remote host closed the connection]
gabiruh has joined #lisp
boeg has quit [Ping timeout: 256 seconds]
narimiran has quit [Ping timeout: 240 seconds]
brown121407 has joined #lisp
cairn has quit [Changing host]
cairn has joined #lisp
liberliver has joined #lisp
boeg has joined #lisp
rumbler31 has joined #lisp
kaftejiman has quit [Remote host closed the connection]
ferpb has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
chewb has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
jbgg has quit [Ping timeout: 240 seconds]
tristero has joined #lisp
lonjil has quit [Ping timeout: 240 seconds]
jbgg has joined #lisp
lonjil has joined #lisp
dominic34 has joined #lisp
dxtr has quit [Quit: Reconnecting]
dxtr has joined #lisp
rgherdt has quit [Quit: Leaving]
torbo has joined #lisp
Harag has quit [Remote host closed the connection]
bsd4me has joined #lisp
ukari has quit [Ping timeout: 272 seconds]
ukari has joined #lisp
rogersm has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
karlosz has joined #lisp
brown121407 has quit [Remote host closed the connection]
ukari has quit [Ping timeout: 240 seconds]
ukari has joined #lisp
sympt__ has joined #lisp
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #lisp
refpga has joined #lisp
sympt_ has quit [Ping timeout: 265 seconds]
bitmapper has joined #lisp
brown121407 has joined #lisp
random-nick has quit [Ping timeout: 272 seconds]
liberliver has quit [Ping timeout: 240 seconds]
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
refpga has quit [Read error: Connection reset by peer]
refpga has joined #lisp
cosimone_ has quit [Quit: Quit.]
cosimone has joined #lisp
cosimone has quit [Client Quit]
rgherdt has joined #lisp
random-nick has joined #lisp
rogersm has quit [Quit: Leaving...]
shangul has quit [Ping timeout: 256 seconds]
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
ineiros has joined #lisp
cosimone has quit [Quit: Quit.]
<chewb> hello, i am learning Common Lisp using Portacle
cosimone has joined #lisp
<chewb> afair i can select previous command i inputed into SLIME REPL by clicking cursor on it and RET
<chewb> but i cant do it now, i get message "Buffer is read only|
<chewb> why?
zigpaw has quit [Ping timeout: 272 seconds]
ukari has quit [Ping timeout: 240 seconds]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
zigpaw has joined #lisp
xrash has joined #lisp
ukari has joined #lisp
gjulio_ has joined #lisp
shangul has joined #lisp
cosimone has quit [Quit: Quit.]
countvajhula has joined #lisp
dominic34 has quit [Ping timeout: 256 seconds]
srji has quit [Ping timeout: 240 seconds]
jeosol has joined #lisp
<beach> chewb: Try M-p instead.
<beach> chewb: I use M-r a lot to search for the previous form of a certain kind that I typed.
contrapunctus has joined #lisp
theseb has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
refpga has quit [Ping timeout: 256 seconds]
refpga has joined #lisp
vaporatorius__ has joined #lisp
ahungry has joined #lisp
vaporatorius has quit [Ping timeout: 240 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
refpga has quit [Ping timeout: 240 seconds]
refpga has joined #lisp
luna_is_here has quit [Ping timeout: 256 seconds]
luna_is_here has joined #lisp
ggole has quit [Quit: Leaving]
Jesin has quit [Quit: Leaving]
thecoffemaker has quit [Ping timeout: 256 seconds]
thecoffemaker has joined #lisp
<flip214> Bike: yeah, thanks... still, this is one not-so-nice part of a SSC. I thought about doing (funcall 'fill-sequence vec) - that can't be inlined or optimized away unless (setf symbol-function) etc. is gone, too - but that "feels" unclean and non-optimal
<flip214> CL is old enough that there should be a optimization setting for that ;)
<Bike> declaring notinline is basically the same as doing that funcall
<flip214> okay, thanks a lot!
<Bike> no problem
<flip214> ah, and I meant FILL when I wrote FILL-SEQUENCE
gaqwas has quit [Remote host closed the connection]
shangul has quit [Ping timeout: 240 seconds]
Jesin has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
karlosz has quit [Quit: karlosz]
refpga has quit [Ping timeout: 256 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
karlosz has joined #lisp
luna_is_here has quit [Read error: Connection reset by peer]
refpga has joined #lisp
red-dot has joined #lisp
_whitelogger has joined #lisp
Elronnd has joined #lisp
<chewb> thank you beach Alt-p works
<chewb> do you know how to quickly disable paredit?
EvW has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
<Bike> M-x disable-paredit-mode, i think?
gravicappa has quit [Ping timeout: 240 seconds]
gravicappa has joined #lisp
Harag has joined #lisp
CrazyEddy has quit [Ping timeout: 265 seconds]
narimiran has joined #lisp
dominic34 has joined #lisp
CrazyEddy has joined #lisp
moon-child has joined #lisp
jal` has joined #lisp
moon-child has left #lisp [#lisp]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
jal` has quit [Ping timeout: 240 seconds]
akoana has joined #lisp
theseb has quit [Remote host closed the connection]
terpri__ is now known as terpri
wsinatra has quit [Quit: WeeChat 2.8]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #lisp
gxt has quit [Quit: WeeChat 2.8]
Elronnd has quit [Quit: leaving]
EvW has quit [Ping timeout: 256 seconds]
zigpaw has quit [Ping timeout: 246 seconds]
aindilis has quit [Read error: Connection reset by peer]
orivej has joined #lisp
orivej_ has quit [Ping timeout: 264 seconds]
zigpaw has joined #lisp
ayuce has quit [Ping timeout: 240 seconds]
narimiran has quit [Ping timeout: 240 seconds]
RukiSama_ has joined #lisp
aindilis has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
countvajhula has quit [Ping timeout: 260 seconds]
RukiSama has quit [Ping timeout: 244 seconds]
dominic34 has quit [Ping timeout: 240 seconds]
mankaev has quit []
mankaev has joined #lisp
ym has quit [Ping timeout: 256 seconds]
ahungry has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
shka_ has quit [Ping timeout: 272 seconds]
brown121407 has quit [Ping timeout: 240 seconds]
Inline has joined #lisp
ym has joined #lisp
notzmv has quit [Ping timeout: 256 seconds]
renzhi has joined #lisp
__jrjsmrtn__ has joined #lisp
countvajhula has joined #lisp
_jrjsmrtn has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
gravicappa has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
refpga has quit [Remote host closed the connection]
cosimone has joined #lisp
grumble has quit [Quit: WASHINGTON, DC—In a move designed to make the United States seem more "bad-assed and scary in a quasi-heavy-metal manner," Congress officially changed the nation's name to the Ünited Stätes of Ämerica Monday. "Much like Mötley Crüe and Motörhead,]
grumble has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 272 seconds]
EvW1 has joined #lisp
cosimone has quit [Quit: Quit.]
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
cosimone has joined #lisp
cosimone has quit [Client Quit]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
red-dot has quit [Read error: Connection reset by peer]
red-dot has joined #lisp
ferpb has quit [Read error: Connection reset by peer]
Lord_of_Life_ has joined #lisp
iissaacc has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
pve has quit [Quit: leaving]
orivej_ has joined #lisp
orivej has quit [Ping timeout: 272 seconds]
random-nick has quit [Ping timeout: 256 seconds]
teej has joined #lisp
dominic34 has joined #lisp
kleptoflora has joined #lisp
anatrope has quit [Ping timeout: 256 seconds]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #lisp
mrcom has quit [Read error: Connection reset by peer]
dominic34 has quit [Ping timeout: 240 seconds]
edgar-rft has quit [Quit: Leaving]
sjl has quit [Ping timeout: 272 seconds]
gjulio_ has quit [Ping timeout: 258 seconds]
renzhi has quit [Ping timeout: 240 seconds]
rats has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
bsd4me has quit [Quit: Leaving]
notzmv has joined #lisp
Inline has quit [Ping timeout: 240 seconds]
markoong has quit [Ping timeout: 258 seconds]
paul0 has quit [Quit: Leaving]
orivej has quit [Ping timeout: 246 seconds]
dominic34 has joined #lisp
ukari has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
ukari has joined #lisp
rats has quit [Quit: Connection closed]
toorevitimirp has quit [Ping timeout: 258 seconds]
luna_is_here has quit [Ping timeout: 240 seconds]
rixard has quit [Read error: Connection reset by peer]
rixard has joined #lisp
ferpb has joined #lisp
vornth has quit [Ping timeout: 256 seconds]
leo_song has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
_jrjsmrtn has joined #lisp
orivej has joined #lisp
Tsu has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 256 seconds]
karlosz has quit [Ping timeout: 260 seconds]
Tsu has quit [Remote host closed the connection]