phoe changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.16, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
ym555 has quit [Quit: leaving...]
vms14 has joined #lisp
grobe0ba has quit [Ping timeout: 248 seconds]
nowhereman has joined #lisp
nowhere_man has quit [Ping timeout: 258 seconds]
vms14 has quit [Quit: WeeChat 2.3]
defaultxr has joined #lisp
libertyprime has quit [Ping timeout: 268 seconds]
<defaultxr> has anyone got sly working? sly-connect seems to do nothing when i try to connect to a slynk server created with (slynk:create-server :port 4005 :style :spawn :dont-close t) . emacs just says "[sly] Connecting to Slynk on port 4005.." and nothing else happens. the sly-events buffer says (:emacs-rex (slynk:connection-info) nil t 1) .
<pjb> slime-connect works niceley. I never tried sly.
<defaultxr> slime-connect also worked nicely for me... never had any issues with it. figured i could swap out swank:create-server for slynk:create-server and be able to call sly-connect just like slime-connect
libertyprime has joined #lisp
mbrumlow has joined #lisp
elderK has quit [Ping timeout: 245 seconds]
elderK has joined #lisp
anewuser has joined #lisp
_whitelogger has joined #lisp
elderK has quit [Quit: WeeChat 1.9]
_whitelogger has joined #lisp
Kevslinger has joined #lisp
dacoda has joined #lisp
makomo has quit [Ping timeout: 245 seconds]
<LdBeth> defaultxr: so does plain M-x sly work for you?
dacoda has quit [Ping timeout: 272 seconds]
<LdBeth> defaultxr: it works fine for me on a Mac with CCL
<LdBeth> Maybe the repl buffer just didn’t pop out
<LdBeth> Just try C-x b to *mrepl- something
wxie has joined #lisp
NEET` has joined #lisp
q9929t has joined #lisp
libertyprime has quit [Ping timeout: 248 seconds]
anlsh has quit [Ping timeout: 256 seconds]
libertyprime has joined #lisp
q9929t has quit [Quit: q9929t]
<defaultxr> LdBeth: M-x sly works, C-x b doesn't show any mrepl buffers
Lycurgus has quit [Ping timeout: 245 seconds]
sawolf has quit [Quit: Leaving]
notzmv has quit [Remote host closed the connection]
Lycurgus has joined #lisp
wxie has quit [Ping timeout: 248 seconds]
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
notzmv has joined #lisp
jack_rabbit has quit [Ping timeout: 252 seconds]
Lycurgus has quit [Quit: Exeunt]
ricekrispie2 has joined #lisp
NEET` has quit [Ping timeout: 244 seconds]
atgreen has joined #lisp
ricekrispie has quit [Ping timeout: 245 seconds]
<LdBeth> normally after (:emacs-rex
<LdBeth> (slynk:connection-info)
<LdBeth> nil t 1) thing the server would return info of CL implementation
<LdBeth> So I doubt the connection is not properly established
DavidCanHelp has joined #lisp
anewuser has quit [Quit: anewuser]
dddddd has quit [Remote host closed the connection]
linli has joined #lisp
linli has quit [Remote host closed the connection]
<ober> is there a static representation of a hash that can be done like on some lisps (hash (a 1) (b 2) (c 3) (c 4))?
zacque has joined #lisp
<krwq> ober: do you mean alist or plist?
<ober> guess a dotted a list would be apropos here
<ober> building a usage dictionary for functions. plist might be too expensive
<krwq> ober: if you care about perf then make-hash-table + gethash
<pjb> (com.informatimago.common-lisp.cesarum.utility:hashtable :test 'equal :elements '((a 1) (b 2) (c 3) (c 4))) #| --> #<hash-table :test equal size 3/60 #x302003DBE14D> |#
<ober> by has I mean the (gethash/make-hash-table)
<ober> ok thanks. that's more convinient
<pjb> (com.informatimago.common-lisp.cesarum.utility:hashtable :size 3 :test 'eql :elements '((a 1) (b 2) (c 3) (c 4))) #| --> #<hash-table :test eql size 3/31 #x302003DFE33D> |#
<ober> awesome!
nanoz has joined #lisp
<White_Flame> alexandria has plist & alist to hashtable conversions, that you can use literally
<ober> but alexandria is too short. I need length, as total chars count at my job
libertyprime has quit [Read error: Connection reset by peer]
orivej has joined #lisp
jack_rabbit has joined #lisp
<no-defun-allowed> get a better job
<no-defun-allowed> alternately: alexandria.0.dev:alist-to-hashtable or whatever its name is, I forgot
krwq has quit [Remote host closed the connection]
cantstanya has quit [Remote host closed the connection]
ober has left #lisp ["ERC (IRC client for Emacs 26.2)"]
<LdBeth> Macro expand all u code
<LdBeth> I guess then they bankrupt
ober has joined #lisp
cantstanya has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
libertyprime has joined #lisp
notzmv has quit [Ping timeout: 258 seconds]
lavaflow has joined #lisp
lavaflow_ has quit [Read error: Connection reset by peer]
notzmv has joined #lisp
gravicappa has joined #lisp
vaporatorius has quit [Read error: Connection reset by peer]
<no-defun-allowed> LdBeth: modern problems require modern solutions
zacque has quit [Remote host closed the connection]
zacque has joined #lisp
zacque has quit [Client Quit]
Lycurgus has joined #lisp
_whitelogger has joined #lisp
vlatkoB has joined #lisp
Oladon has quit [Ping timeout: 248 seconds]
nanoz has quit [Ping timeout: 272 seconds]
GoldRin has joined #lisp
zmv has joined #lisp
<beach> Good morning everyone!
<GoldRin> Good afternoon
<ck_> Good morning, beach
<DavidCanHelp> beaches be trippin'
sauvin has joined #lisp
simendsjo has joined #lisp
nirved has joined #lisp
_whitelogger has joined #lisp
Lycurgus has left #lisp ["Deus Ex"]
<dmiles> do i have this correct? i should be able to translate a .java program using JNIL+ACL to Linj.. then once in Linj run the program is SBCL
<dmiles> (the program itself makes no real use of the JRE/JDK)
<dmiles> Run the Linj program in SBCL?
<dmiles> Maybe Xach knows
<dmiles> Though as i read Linj itself would convert them back to .java
<dmiles> but i assume.. perhaps Linj could be set up to just interpret them?
zhlyg has joined #lisp
simendsjo has quit [Ping timeout: 248 seconds]
techquila has quit [*.net *.split]
phoe has quit [*.net *.split]
zotan has quit [*.net *.split]
chipolux has quit [*.net *.split]
karlosz has quit [*.net *.split]
interruptinuse has quit [*.net *.split]
swflint has quit [*.net *.split]
dtw has quit [*.net *.split]
no-defun-allowed has quit [*.net *.split]
d4ryus has quit [*.net *.split]
jackhill has quit [*.net *.split]
otwieracz has quit [*.net *.split]
vlatkoB has quit [*.net *.split]
atgreen has quit [*.net *.split]
pjb has quit [*.net *.split]
Inline has quit [*.net *.split]
moldybits has quit [*.net *.split]
datajerk has quit [*.net *.split]
dmiles has quit [*.net *.split]
iskander has quit [*.net *.split]
wilfredh has quit [*.net *.split]
mathrick has quit [*.net *.split]
PuercoPop has quit [*.net *.split]
X-Scale has quit [*.net *.split]
corvidzz has quit [*.net *.split]
vt240 has quit [*.net *.split]
mpcjanssen has quit [*.net *.split]
buffergn0me has quit [*.net *.split]
minion has quit [*.net *.split]
svillemot has quit [*.net *.split]
gko has quit [*.net *.split]
vutral has quit [*.net *.split]
nydel has quit [*.net *.split]
xantoz has joined #lisp
femi has quit [Ping timeout: 272 seconds]
karlosz has joined #lisp
donotturnoff has joined #lisp
femi has joined #lisp
karlosz is now known as 7IZAAZ20J
karlosz has joined #lisp
techquila has joined #lisp
phoe has joined #lisp
d4ryus has joined #lisp
jackhill has joined #lisp
chipolux has joined #lisp
interruptinuse has joined #lisp
swflint has joined #lisp
no-defun-allowed has joined #lisp
dtw has joined #lisp
otwieracz has joined #lisp
zotan has joined #lisp
vlatkoB has joined #lisp
pjb has joined #lisp
atgreen has joined #lisp
moldybits has joined #lisp
Inline has joined #lisp
mathrick has joined #lisp
X-Scale has joined #lisp
dmiles has joined #lisp
wilfredh has joined #lisp
mpcjanssen has joined #lisp
iskander has joined #lisp
minion has joined #lisp
corvidzz has joined #lisp
datajerk has joined #lisp
vt240 has joined #lisp
PuercoPop has joined #lisp
buffergn0me has joined #lisp
svillemot has joined #lisp
gko has joined #lisp
vutral has joined #lisp
nydel has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
<jeosol> morning guys
<GoldRin> Good morning/afternoon.
<no-defun-allowed> GoldRin: When they say it's morning, it's morning.
fouric has quit [Ping timeout: 245 seconds]
<jackdaniel> unless they shamelessly lie
<GoldRin> But if I say its afternoon, then its the afternoon?
actuallybatman has quit [Ping timeout: 272 seconds]
<jackdaniel> GoldRin: discussions about timezones has been seen (length '#1=(1 . #1#)) of times on all irc channels, they are pretty used ,)
<GoldRin> Ah...
<jeosol> heed help braining a problem to get the best way to do it. SBCL has crashed on my a few times due to memory issues.
<jeosol> So I have a large 3d array/cube, the dimensions can be high, e.g, 100x200x50. Some of the cells are inactive indicated by a 0 and active indicated by a 1. The external app I have to call takes data in compressed format
<jeosol> and assuming a fixed way to traverse the grid. What I normally save for my application on the lisp side are just the indices that contain 1s but if I export, I will need to dump everything including the 0's and 1's
<LdBeth> Sparse array?
<jeosol> With that background, let me now illustrate using a 10 element vector
<jeosol> Assuming the full vector is #(1 0 0 1 1 1 0 0 1 0): the compressed format is ("1" "2*0" "3*1" "2*1" "1" "0") with 2*0 meaning 0 appearning twice (i.e., 2 neighbor cells have 0's). What my app saves is the indices of this vector which will be
<jeosol> indices where the elements are 1, i.e., (0 3 4 5 8) and I now the maximum possible number of elements
<pjb> (* 100 200 50) #| --> 1000000 |# is not large…
PuercoPop has quit [Ping timeout: 248 seconds]
PuercoPop has joined #lisp
<jeosol> that was an example. I actually save other properties for this array, they are actually CLOS objects
wilfredh has quit [Ping timeout: 248 seconds]
<jeosol> I meant the elements of the array
7IZAAZ20J has quit [Quit: 7IZAAZ20J]
datajerk has quit [Ping timeout: 248 seconds]
ym has joined #lisp
<pjb> jeosol: if you have only bits in your array, you can (make-array '(100 200 50) :element-type 'bit :initial-element 0) Then it'll take (/ (* 100 200 50) 8) #| --> 125000 |# bytes of RAM (122 KB).
makomo has joined #lisp
mathrick has quit [Ping timeout: 248 seconds]
jack_rabbit has quit [Ping timeout: 250 seconds]
chipolux has quit [Ping timeout: 252 seconds]
<LdBeth> So it’s an array of objects
gravicappa has quit [Ping timeout: 248 seconds]
akoana has joined #lisp
<jeosol> pjb: thanks for that. I apologize if my comment meant large by size. I have fairly large array of objects. The other array describe is then used to index those objects for calculations only for the active cells.
voidlily has quit [Ping timeout: 250 seconds]
<LdBeth> jeosol: you mean elements could be nil, right
wilfredh has joined #lisp
chipolux has joined #lisp
datajerk has joined #lisp
<jeosol> initially, all elements will be 0 or 1. Normally the app can read both compressed format and the case where you write each element. The file usually contains a lot of properties all on the same grid.
<jeosol> All properties can use compressed format to save space.
<jeosol> saving all indices (either 1 or 0's) will be easier to compute i guess, match through the vector and accumulating count of similar value and reinitializing counter when there is a change from 0 to 1 or vice versa
<LdBeth> jeosol: I cannot get your meaning, doesn’t 1 means an object and 0 means a nil entry?
ldb has joined #lisp
<jeosol> Apologies if is not clear. I had to look for something that could help https://www.tes.com/teaching-resource/why-do-rivers-bend-meanders-and-ox-bow-lakes-12078681
<jeosol> the above link contains something that is analogous. assuming I am trying to model flow in the meandering river. The 3d grid will be the box but the path for the flow is only allow the river. So if we plotted the 1's,
<jeosol> it will follow the pattern of the river, with everything else as background
<jeosol> allow the river -> along the river
<LdBeth> jeosol: so you can use sparse array for that
<jeosol> That is how the 1's and 0's come about. The application array is fluid flow
mathrick has joined #lisp
voidlily has joined #lisp
donotturnoff has quit [Ping timeout: 244 seconds]
jack_rabbit has joined #lisp
<LdBeth> I think jeosol wants a sparse array of arbitrary lisp objects
<jeosol> Thanks pjb: I am studying the code.
<pjb> LdBeth: it also works for objects. Just use nil for 0 and non-nil for 1.
<jeosol> Ldbeth: technically, the solution will be the compressed format of shown above. I have code to read the compressed format and expand accordingly
<jeosol> but I wanted to write that compressed format to a file if I only saved the indices with 1's
iovec has joined #lisp
<jeosol> I realized an error in my compressed format above: it should be from #(1 0 0 1 1 1 0 0 1 0) -> ("1" "2*0" "3*1" "2*0" "1" "0"). The solution should always alternative 0's and 1's
nanoz has joined #lisp
ldb has quit [Ping timeout: 272 seconds]
shka_ has joined #lisp
<jeosol> Thanks pjb and LdBeth for your help. the code has elements and techniques I could use.
dale has quit [Quit: dale]
<dmiles> is there a backup somewhere oif common-lisp.net CVSs ?
<dmiles> i dont really think this is the whole CVS.. https://github.com/francogrex/jnil
<dmiles> or even a mirror of the old webftp/pub ?
ggole has joined #lisp
random-jellyfish has joined #lisp
random-nick has joined #lisp
elderK has joined #lisp
<random-jellyfish> what is the difference between setf and setq in common lisp?
<ggole> setq only works on variables, whereas the first argument of setf is a place
<ggole> The names are (sort of) short for set-quote and set-field
<random-jellyfish> so the first argument of setq is always a variable name?
<ggole> Yep.
ldb has joined #lisp
McParen has joined #lisp
<McParen> when I add another asd system file to the code, will this system automatically be visible to ql:quickload?
<McParen> (to the same path as the first asd file)
<no-defun-allowed> Should do, but if it's a local project I usually register-local-projects anyway.
szmer has joined #lisp
techquila has quit [Ping timeout: 252 seconds]
McParen has quit [Ping timeout: 258 seconds]
mulk has quit [Ping timeout: 244 seconds]
mulk has joined #lisp
kajo has quit [Ping timeout: 258 seconds]
ldb has quit [Quit: leaving]
datajerk has quit [Ping timeout: 272 seconds]
nowhereman has quit [Ping timeout: 272 seconds]
paule32 has joined #lisp
<paule32> hello guy's
defaultxr has quit [Ping timeout: 245 seconds]
<paule32> s
<paule32> i have problems with classes and inherited
<ck_> Tell us about your classes.
<adlai> paule32: do now worry if you have problems with multiple inheritance; i assure you, mine are greater
datajerk has joined #lisp
<paule32> this paste contain 2 classes
<paule32> hi adlai
<ck_> The initarg is "pegruppe", not "gruppe". Says so right there in the error message.
<ck_> maybe you want to make the initarg a keyword instead of a symbol, as well
<adlai> hello paule32 !
* adlai does not have much to add after what ck_ commented
<adlai> other than some general confusion about the inheritance structure. I wouldn't have an element class inheriting from a group class
<paule32> ck_: pelement -> gruppe shall inherit pegruppe
<adlai> paule32: in line 15, you forgot the colon for the initarg. it's not necessary, you can use a non-keyword symbol as an initarg, but that's probably not what you're trying to do
<oni-on-ion> that's the error
<paule32> (defvar pegruppe-1 (make-instance 'pegruppe :nummer 1 :name "Alkane"))
python476 has joined #lisp
<paule32> (defvar pelement-o (make-instance 'pelement :zeichen "O" :name "Sauerstoff" :ordzahl 8
<paule32> :gruppe pegruppe-1))
<oni-on-ion> set that to ":pegruppe pegruppe-1))" as ck_ and adlai pointing out
<oni-on-ion> or say it as (gruppe :initarg :gruppe)) on L15 if you want to use :gruppe on L18
elderK has quit [Quit: WeeChat 1.9]
<ck_> paule32: you seem a little confused. Do you want to use A) inheritance or B) have each element have their group as a slot? You're doing both. The problem in your pasted error has nothing to do with multiple (or single) inheritance though.
nirved has quit [Ping timeout: 245 seconds]
igemnace has quit [Quit: WeeChat 2.5]
nirved has joined #lisp
<szmer> is there a XML library that has searching or specifying (partial) paths to kinds of nodes you want? like lxml or BeautifulSoup in python
akoana has left #lisp ["Leaving"]
GoldRin has quit [Remote host closed the connection]
<no-defun-allowed> lquery/plump are for HTML, but i think it's able to do XML
kajo has joined #lisp
<szmer> ok, CLSS used by lquery is what I needed, thanks
<paule32> ck_: each group has it's own
<paule32> like the periode-element-system has
v88m has quit [Ping timeout: 268 seconds]
<ck_> paule32: what I'm asking you is why you have pelement inherit from pegruppe. You realize that your pelement class, right now, also has the 'nummer' slot in the way you have it set up?
<paule32> pelement -> name := element name
<paule32> pegruppe -> name := categorie
<paule32> like oxcyde, alcale, ...
<ck_> You're not answering my question.
<paule32> ehm, yes, you right, i think pegruppe shall sub class
<paule32> pegruppe is a sub class of pelement to slot gruppe
<ck_> that's not how it works
<paule32> maybe i should write "pelememnt ()"
<ck_> exactly my point
<ck_> Well done. Have fun with the project.
<paule32> thank you for your tipps
<paule32> so, this is the (not yet complete form): http://dpaste.com/3KC0NB1
gxt has quit [Ping timeout: 256 seconds]
dddddd has joined #lisp
iovec has quit [Quit: Connection closed for inactivity]
oni-on-ion has quit [Remote host closed the connection]
<paule32> does someone know, what type/material is a resistor (R) in the electro technics ?
lnostdal has quit [Remote host closed the connection]
refpga has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
_whitelogger has joined #lisp
scymtym has joined #lisp
alexanderbarbosa has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
rozenglass has quit [Remote host closed the connection]
nirved has quit [Ping timeout: 252 seconds]
karlosz has quit [Client Quit]
nirved has joined #lisp
karlosz has joined #lisp
Lycurgus has joined #lisp
orivej has joined #lisp
kajo has quit [Ping timeout: 252 seconds]
nirved has quit [Ping timeout: 258 seconds]
nirved has joined #lisp
nirved has quit [Ping timeout: 258 seconds]
nirved has joined #lisp
_whitelogger has joined #lisp
refpga has quit [Read error: Connection timed out]
refpga has joined #lisp
lucasb_ has joined #lisp
lucasb_ is now known as lucasb
cosimone has joined #lisp
nicksmaddog has joined #lisp
Kundry_Wag has joined #lisp
xkapastel has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Frobozz_ is now known as Frobozz
vms14 has joined #lisp
nicksmaddog has quit [Remote host closed the connection]
refpga has quit [Ping timeout: 245 seconds]
nicksmaddog has joined #lisp
refpga has joined #lisp
Inline has quit [Ping timeout: 248 seconds]
nicksmaddog has quit [Remote host closed the connection]
nicksmaddog has joined #lisp
nicksmaddog has quit [Client Quit]
cosimone has quit [Quit: WeeChat 2.4]
Inline has joined #lisp
kajo has joined #lisp
refpga has quit [Ping timeout: 268 seconds]
refpga has joined #lisp
FreeBirdLjj has joined #lisp
nanoz has quit [Ping timeout: 248 seconds]
vms14 has quit [Quit: WeeChat 2.3]
jack_rabbit has quit [Ping timeout: 248 seconds]
v88m has joined #lisp
ecilam has quit [Ping timeout: 248 seconds]
cosimone has joined #lisp
nanoz has joined #lisp
<Godel[m]> Hi, does anyone have experience with compiling EQL5-Android toolchain? I'm stuck at the step where ECL needs to be cross-compiled for Aarch64.
igemnace has joined #lisp
<paule32> you need ffi support
<Godel[m]> How do I check if I already have it? I'm cross-compiling ECL right now.
<Godel[m]> paule32: ^^
<aeth> #ecl might be able to help if you are having trouble compiling ECL
<aeth> Answers could take several hours on the smaller IRC channels
<aeth> Godel[m]: If you're having a compilation error or something, I'd try posting the relevant information in a pastebin and linking to that in #ecl
Arcaelyx has joined #lisp
<Godel[m]> Thanks. Yes I'm doing that.
rozenglass has joined #lisp
<aeth> jackdaniel: ^
grewal has joined #lisp
jeosol has quit [Ping timeout: 256 seconds]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #lisp
<jackdaniel> apparently it took around 10m, but yeah, 11h is average response time (problem was addressed indeed on #ecl)
<jackdaniel> thank you aeth for pointing him there
jeosol has joined #lisp
nowhereman has joined #lisp
random-jellyfish has quit [Quit: Page closed]
jeosol has quit [Ping timeout: 256 seconds]
donotturnoff has joined #lisp
defaultxr has joined #lisp
jack_rabbit has joined #lisp
linli has joined #lisp
linli has quit [Client Quit]
nowhereman has quit [Ping timeout: 245 seconds]
karlosz_ has joined #lisp
karlosz_ has quit [Client Quit]
FreeBirdLjj has quit [Remote host closed the connection]
Inline has quit [Quit: Leaving]
atgreen has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #lisp
Inline has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
Lycurgus has quit [Quit: Exeunt]
FreeBirdLjj has quit [Ping timeout: 245 seconds]
kajo has quit [Ping timeout: 248 seconds]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #lisp
Lord_of_Life_ has joined #lisp
iovec has joined #lisp
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ is now known as Lord_of_Life
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #lisp
asarch has joined #lisp
donotturnoff has quit [Ping timeout: 248 seconds]
<asarch> “—Dad, why my sister's name is Violet? —Because your mom is a designer and she used the name of the first color she saw. —Thank you dad! —You're welcome Asdf”
<asarch> How would you do the sprintf? With (format my-str "Hello from ~a~%" channel)?
kajo has joined #lisp
themsay has quit [Read error: Connection reset by peer]
themsay has joined #lisp
<moldybits> (format nil ...)?
v88m has quit [Read error: Connection reset by peer]
v88m has joined #lisp
anewuser has joined #lisp
<moldybits> (format nil "~a" 42) => "42"
<moldybits> (with-output-to-string (s) (format s "hello") (format s ", world!"))
<moldybits> => "hello, world!"
<moldybits> (let ((s (make-array 0 :element-type 'character :fill-pointer 0))) (format s "hello") (format s ", world!") s) => "hello, world!"
phoe has quit [Ping timeout: 252 seconds]
hiroaki has joined #lisp
gravicappa has joined #lisp
anewuser has quit [Quit: anewuser]
ggole has quit [Quit: Leaving]
dale has joined #lisp
<pjb> asarch: unless you want to use a pre-allocated buffer. (let ((buffer (make-array 80 :element-type 'character :fill-pointer 0 :adjustable t))) (format buffer "Hello from ~A~%" 'channel) buffer) #| --> "Hello from channel ; " |#
<pjb> Hey! My output processing splits the result on newlines and adds semicolons as if it was multiple values…
cosimone has quit [Quit: WeeChat 2.4]
<moldybits> pjb: what does adjustable mean?
oni-on-ion has joined #lisp
<pjb> moldybits: so the size of the array can be changed if needed.
<pjb> (let ((buffer (make-array 3 :element-type 'character :fill-pointer 0 :adjustable t))) (format buffer "Hello from ~A~%" 'channel) buffer) #| --> "Hello from channel ; " |#
<pjb> (let ((buffer (make-array 3 :element-type 'character :fill-pointer 0 :adjustable nil))) (format buffer "Hello from ~A~%" 'channel) buffer) #| ERROR: "Hel" is not an adjustable array. |#
<moldybits> "If adjustable is non-nil, the array is expressly adjustable (and so actually adjustable); otherwise, the array is not expressly adjustable (and it is implementation-dependent whether the array is actually adjustable)."
<moldybits> in sbcl i guess it's optional
<pjb> moldybits: it wouldn't be conforming to omit :adjustable t if that's what you want.
<pjb> moldybits: it wouldn't be conforming to omit and expect the array to adjust.
<moldybits> yeah
<asarch> Thank you pjb!
<asarch> Thank you very much! :-)
<asarch> Thank you moldybits!
<asarch> Thank you very much! :-)
asarch has quit [Quit: Leaving]
kajo has quit [Ping timeout: 257 seconds]
kajo has joined #lisp
python476 has quit [Remote host closed the connection]
donotturnoff has joined #lisp
dale has quit [Quit: dale]
Jesin has quit [Quit: Leaving]
orivej has quit [Ping timeout: 244 seconds]
Jesin has joined #lisp
varjag has joined #lisp
khisanth_ has quit [Ping timeout: 245 seconds]
dacoda has joined #lisp
khisanth_ has joined #lisp
dale has joined #lisp
ricekrispie has joined #lisp
python476 has joined #lisp
ricekrispie2 has quit [Ping timeout: 245 seconds]
hiroaki has quit [Ping timeout: 245 seconds]
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
sjl has quit [Quit: WeeChat 2.2-dev]
python476 has quit [Read error: Connection reset by peer]
python476 has joined #lisp
mathrick has quit [Ping timeout: 248 seconds]
<jackdaniel> this is interesting: https://m00natic.github.io/lisp/manual-jit.html
DavidCanHelp has quit [Quit: WeeChat 2.4]
phoe has joined #lisp
* Xach has his new quicklisp build server booted, installed with debian 9, and ready to configure
Folkol has joined #lisp
nanoz has quit [Ping timeout: 245 seconds]
cropcircle has joined #lisp
python476 has quit [Ping timeout: 246 seconds]
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
<mgsk> Any idea why unicly doesn't support ccl? https://common-lisp.net/project/cl-test-grid/library/unicly.html
cropcircle has quit [Quit: Leaving]
vlatkoB has quit [Remote host closed the connection]
<mgsk> I think uuid replaces unicly *and* is supported, so cricis averted.
<mgsk> crisis*
<jackdaniel> unicly is a mess, I was about to suggest uuid
themsay has quit [Read error: Connection reset by peer]
themsay has joined #lisp
random-nickname has joined #lisp
random-nick has quit [Ping timeout: 245 seconds]
Jesin has quit [Quit: Leaving]
Jesin has joined #lisp
mathrick has joined #lisp
gravicappa has quit [Ping timeout: 248 seconds]
dacoda has quit [Remote host closed the connection]
j`ey has joined #lisp
iovec has quit [Quit: Connection closed for inactivity]
Lycurgus has joined #lisp
<Xach> Here is a fun question prompted by https://github.com/quicklisp/quicklisp-client/pull/186 - what standard special variable settings would break what packages if they're something other than the default? the PR refers to *print-case*. *read-base* is too obvious. what are some other low-hanging breakages?
<Xach> sorry, "systems" or "projects" not packages.
notzmv has quit [Ping timeout: 246 seconds]
shka_ has quit [Ping timeout: 245 seconds]
<Lycurgus> fun perhaps but useful? breaking things is easy.
zmv has quit [Read error: Connection reset by peer]
<Xach> Lycurgus: do you have something in mind?
<Lycurgus> no, it doesn't seem like a useful query to me, every system does it's own thing with *features*
<Lycurgus> its like asking how can you break bash by setting env vars
<Xach> Ok! I remain curious.
<Lycurgus> :)
<Lycurgus> but yeah blowing shit up is fun, especially other peoples stuff apparently
<Lycurgus> just ask apple and google
<MichaelRaskin> They say that being able to reset easily increases the fun of breaking things
<MichaelRaskin> Although judging from A/G/M for some people breaking others' stuff that is hard to reset to a working state is fun…
<MichaelRaskin> I guess _something_ is bound to break if I change *print-readably* ?
<Xach> MichaelRaskin: i wonder how much
<Lycurgus> well the secret is punching down it would seem
<Lycurgus> just 1 consume is no fun, a few million is giggle
<Lycurgus> *consumer
<MichaelRaskin> You _also_ need to be pointlessly evil, though
<Lycurgus> ideally while claiming not to be
<MichaelRaskin> Well, by the time Google did _pointlessl_ evil things (as opposed to selfish), they had dropped the motto
<mgsk> gosh ccl backtraces are fugly
<j`ey> mgsk: dont crash then
<Xach> hey now, you need not crash to look at backtraces.
<Xach> sometimes it's just fun to interrupt and take a look
<mgsk> exactly j`ey
<j`ey> mgsk: better than some v8 backtraces that assert while generating the backtrace
DavidCanHelp has joined #lisp
<mgsk> ccl is giving the error `> Error: #.(NAMED-OPERATOR #<error printing NAMED-OPERATOR #x3020067E8E8D> has no slot named #:%0.` -- which makes me think that cl-adt and `#.(...)` aren't playing nicely together.
<mgsk> sbcl has no issue with it, however.
<mgsk> Any ideas on how to debug this
akoana has joined #lisp
jack_rabbit has quit [Read error: Connection timed out]
orivej has joined #lisp
aeth has quit [Ping timeout: 245 seconds]
aeth has joined #lisp
jack_rabbit has joined #lisp
DavidCanHelp has quit [Quit: WeeChat 2.4]
jack_rabbit has quit [Excess Flood]
makomo has quit [Ping timeout: 248 seconds]
kajo has quit [Ping timeout: 252 seconds]
charh has joined #lisp
ebrasca has joined #lisp
jack_rabbit has joined #lisp
dacoda has joined #lisp
mathrick has quit [Ping timeout: 250 seconds]
<paule32> hello
<paule32> how can i make a condition?
<paule32> i have this pre-code:
dacoda has quit [Ping timeout: 252 seconds]
mathrick has joined #lisp
donotturnoff has quit [Ping timeout: 268 seconds]
<moldybits> that code is wrong
<no-defun-allowed> What made you think that was a good way to structure your code?
<no-defun-allowed> (defun and-gate (a b) (logand a b))
<no-defun-allowed> Or at least, (defun and-gate (a b) (if (and (= a 1) (= b 1)) 1 0))
<j`ey> I think what you meant to say was "This is a better way of writing that"
<no-defun-allowed> I'm not sure how many mutations you have to get from there to writing in your returns (which I'm pretty sure are wrong, RETURN returns from the block named NIL) and stating every case without any logic.
techquila has joined #lisp
notzmv has joined #lisp
moei has quit [Quit: Leaving...]
jack_rabbit has quit [Read error: Connection timed out]
jack_rabbit has joined #lisp
wigust- has joined #lisp
wigust has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Max SendQ exceeded]
jack_rabbit has joined #lisp
jack_rabbit has quit [Max SendQ exceeded]
jack_rabbit has joined #lisp
jack_rabbit has quit [Max SendQ exceeded]
jack_rabbit has joined #lisp
duncan has joined #lisp
kajo has joined #lisp
mathrick has quit [Ping timeout: 250 seconds]
elderK has joined #lisp
libertyprime has quit [Ping timeout: 245 seconds]
random-nickname has quit [Read error: Connection reset by peer]
aindilis has quit [Remote host closed the connection]
aindilis has joined #lisp
rozenglass has quit [Ping timeout: 245 seconds]
mathrick has joined #lisp
libertyprime has joined #lisp
jack_rabbit has quit [Read error: Connection timed out]