<char[m]>
beach: was type-error chosen just because it seems all implementations do that already? phoe and I were wishing it would be something more specific.
<beach>
No, I think it was chosen because the interval of allowed values is a reasonable type, and WSCL does not prevent implementations from defining a subclass. That's what I would do myself. But we can't put that in WSCL because no extensions are allowed.
<char[m]>
Also are the type-errors from (one 234) not from trying to access 234 as the array?
<beach>
But it's debatable. Many errors in Common Lisp can be thought of as type errors, simply because a type in Common Lisp is any set of objects. But it becomes very artificial in some cases.
<beach>
Let me check...
<beach>
Ah that looks like a cut-and-paste error from another issue.
<beach>
I'll have a look during the day.
<beach>
Thanks.
pranavats has left #commonlisp [Disconnected: Hibernating too long]
pranavats has joined #commonlisp
bilegeek has joined #commonlisp
xlarsx has joined #commonlisp
tevo has quit [*.net *.split]
ryanbw has quit [*.net *.split]
SAL9000 has quit [*.net *.split]
hefner has quit [*.net *.split]
akonai has quit [*.net *.split]
tasty has quit [*.net *.split]
phileasfogg has quit [*.net *.split]
markasoftware has quit [*.net *.split]
copec has quit [*.net *.split]
cognemo has quit [*.net *.split]
susam has quit [*.net *.split]
overclucker has quit [*.net *.split]
hefner has joined #commonlisp
ahc has quit [Quit: Client closed]
cognemo has joined #commonlisp
markasoftware has joined #commonlisp
susam has joined #commonlisp
susam has quit [Changing host]
susam has joined #commonlisp
overclucker has joined #commonlisp
ryanbw has joined #commonlisp
tasty has joined #commonlisp
akonai has joined #commonlisp
tasty has quit [Changing host]
tasty has joined #commonlisp
tevo has joined #commonlisp
copec has joined #commonlisp
phileasfogg has joined #commonlisp
SAL9000 has joined #commonlisp
karlosz has quit [*.net *.split]
overclucker has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
overclucker has joined #commonlisp
jmes has joined #commonlisp
overclucker has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
overclucker has joined #commonlisp
<jmes>
I want to build an executable with asdf:make or equivalent but my program is initialized with some futures, therefore threads, that aren't joined until after entering the toplevel function. Do I just make one giant toplevel function to include initialization stuff or what?
<hayley>
That sounds about right.
<jmes>
i.e. I have #'main as the toplevel function for asdf:make but outside main there are some globals, some containing futures.
utis has quit [*.net *.split]
spec has quit [*.net *.split]
dcx has quit [*.net *.split]
jmercouris has quit [*.net *.split]
nocko has quit [*.net *.split]
dbotton has quit [*.net *.split]
ogamita has quit [*.net *.split]
megeve has quit [*.net *.split]
sm2n has quit [*.net *.split]
gko has quit [*.net *.split]
alethkit has quit [*.net *.split]
milesrout has quit [*.net *.split]
\f has quit [*.net *.split]
ggb has quit [*.net *.split]
mcoll has quit [*.net *.split]
hannibal_ad_port has quit [*.net *.split]
djhas-kin has quit [*.net *.split]
axvr has quit [*.net *.split]
ashpool has quit [*.net *.split]
artyn has quit [*.net *.split]
payphone has quit [*.net *.split]
srhm has quit [*.net *.split]
theothornhill has quit [*.net *.split]
whereiseveryone has quit [*.net *.split]
Schnouki has quit [*.net *.split]
contrapunctus has quit [*.net *.split]
gendl has quit [*.net *.split]
borodust has quit [*.net *.split]
etimmons has quit [*.net *.split]
neominimum has quit [*.net *.split]
stylewarning has quit [*.net *.split]
Kingsy has quit [*.net *.split]
Kingsy has joined #commonlisp
etimmons has joined #commonlisp
utis has joined #commonlisp
jmercouris has joined #commonlisp
dbotton has joined #commonlisp
ggb has joined #commonlisp
contrapunctus has joined #commonlisp
Schnouki has joined #commonlisp
whereiseveryone has joined #commonlisp
gko has joined #commonlisp
<jmes>
hayley: So I'd make #'actual-main which encloses the whole program (luckily a single file in this case)?
gko has quit [Changing host]
gko has joined #commonlisp
Schnouki has quit [Changing host]
Schnouki has joined #commonlisp
neominimum has joined #commonlisp
nocko has joined #commonlisp
nocko has joined #commonlisp
neominimum has joined #commonlisp
neominimum has quit [Changing host]
nocko has quit [Changing host]
megeve has joined #commonlisp
gendl has joined #commonlisp
stylewarning has joined #commonlisp
ogamita has joined #commonlisp
stylewarning has quit [Changing host]
stylewarning has joined #commonlisp
<hayley>
Not the whole program, but it would have to set up global variables correctly. Something like (defun actual-main () (initialize) (main))
alethkit has joined #commonlisp
artyn has joined #commonlisp
ashpool has joined #commonlisp
srhm has joined #commonlisp
hannibal_ad_port has joined #commonlisp
axvr has joined #commonlisp
mcoll has joined #commonlisp
djhas-kin has joined #commonlisp
borodust has joined #commonlisp
spec has joined #commonlisp
<jmes>
Okay, thanks, that's clear. I appreciate the help!
dcx has joined #commonlisp
sm2n has joined #commonlisp
payphone has joined #commonlisp
theothornhill has joined #commonlisp
milesrout has joined #commonlisp
\f has joined #commonlisp
xlarsx has quit [Ping timeout: 252 seconds]
epony has joined #commonlisp
akoana has quit [Quit: leaving]
seletz has joined #commonlisp
seletz has quit [Ping timeout: 252 seconds]
dipper has quit [Remote host closed the connection]
jeffrey has quit [Ping timeout: 272 seconds]
rgherdt has joined #commonlisp
aartaka has joined #commonlisp
Oladon has quit [Quit: Leaving.]
dipper has joined #commonlisp
SAL9000 has quit [Ping timeout: 252 seconds]
SAL9000 has joined #commonlisp
qhong has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
jmes` has joined #commonlisp
shka has joined #commonlisp
igemnace has quit [Remote host closed the connection]
jmes has quit [Ping timeout: 252 seconds]
dipper has quit [Remote host closed the connection]
borodust has quit [Ping timeout: 252 seconds]
<Helmholtz>
Can we write android apps using this: https://gitlab.com/eql/lqml but also have access to device API like camera and sensors?
<ixelp>
(last [...]) ERROR: Car of ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( [...]
<Shinmera>
I mean, I'm not going to, but (uiop:quit)
<beach>
Heh.
<Shinmera>
I'd hope it starts a new containerised process each time, but who knows.
<phoe>
I think it should be queried in private for testing since it responds to queries normally
<phoe>
if anything I find it useful for e.g. mentioning which CLHS page is being linked to at any given moment, because the hyperlinks themselves say little
<Shinmera>
Colleen also has an urlinfo feature but I never activated it here, presuming it to be annoying noise in most cases.
<aeth>
I think the ,() feature should be kept to smaller, more obscure channels
<ixelp>
() => NIL
<aeth>
mainly because someone will try to break it
<aeth>
however, #scheme has something similar and nobody tries to break it
<hayley>
Shinmera: It does.
<kakuhen>
Shinmera: as far as I understand, each lisp process is resource-limited to 2 seconds CPU time, has pretty strict memory limits, and spawns a new CCL process each time
ahc has joined #commonlisp
<kakuhen>
I've unsuccessfully attempted to fork bomb it via LABELS
<Shinmera>
next malicious idea would be to upload data
dipper has joined #commonlisp
<phoe>
should be fine if the whole unix container is network-isolated and killed altogether after two seconds
<kakuhen>
the machine does not have physical network access apparently; if I understand, an IRC bot communicates to a raspi over serial connection
<Shinmera>
,(truename "")
<ixelp>
(truename "") => #P"/"
<phoe>
kakuhen: nice, this is some true isolation
<kakuhen>
you get interesting results from ,(progn asdf:central-registry) ... or last time I tried anyway
<ixelp>
(progn asdf:central-registry) ERROR: There is no package named "ASDF" .
<kakuhen>
dang.... it used to leak information
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
Oddity has quit [Ping timeout: 272 seconds]
JeromeLon has quit [Quit: WeeChat 3.5]
<Helmholtz>
So , any ideas about the EQL-lqml question I asked? Can I use Android camera sdk in it?
dipper has quit [Remote host closed the connection]
<phoe>
Helmholtz: I guess? if you can use it from any C program then you should be able to use it from ECL
seletz has joined #commonlisp
seletz has quit [Ping timeout: 246 seconds]
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
domovod has quit [Quit: WeeChat 3.7.1]
pve has joined #commonlisp
seletz has joined #commonlisp
dcx has joined #commonlisp
dac has quit [Ping timeout: 252 seconds]
seletz has quit [Ping timeout: 246 seconds]
<Helmholtz>
Suppose my program depends on a C library (for example imagemagick) . I can use CFFI to use it ? or should I look for/write a CL wrapper?
<Helmholtz>
And can I somehow "embed" that external library so the user wouldn't need to install it as a depencncy?
_cymew_ has joined #commonlisp
cosimone has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
epony has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
epony has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
dipper has joined #commonlisp
seletz has joined #commonlisp
rgherdt_ has joined #commonlisp
aartaka has joined #commonlisp
rgherdt has quit [Ping timeout: 268 seconds]
seletz has quit [Ping timeout: 246 seconds]
<phoe>
Helmholtz: either use CFFI directly or wrap a lispy layer, the choice is yours
<phoe>
and you can bundle a shared library with your deployed binary
<ixelp>
GitHub - Shinmera/deploy: Deployment tools for standalone Common Lisp applications
seletz has joined #commonlisp
<dipper>
hi where can I learn other peoples practical code in product environment?
<beach>
dipper: What is it that you want to learn? I mean, there is lots of code available on sites like GitHub.
makomo has joined #commonlisp
<dipper>
I don't know maybe like some code I can understand, any advise
<beach>
It depends on your level of knowledge. You probably told us, but I forget. Do you know CLOS?
<dipper>
oh I just complete the practical common lisp
<dipper>
have 4yr programming experience
<beach>
Now I remember your telling us that. So let me think...
<beach>
I think maybe one of Shinmera's libraries.
<Shinmera>
So many to pick from
<dipper>
I know oop but I think clos is same programming architect
<phoe>
there are substantial differences between CLOS and other OOP implementations, with "methods are properties of functions, not classes" being IMO the most prominent one
<phoe>
so it might be worthwhile to spend some time and adjust to this
<beach>
Shinmera: How about picking a relatively simple one to start with and see what kind of questions emerge?
<dipper>
oh thank you marked' phoe have any book?
<phoe>
PCL should be a good intro, so you can stick with it
tyson2 has quit [Remote host closed the connection]
Mandus has quit [Ping timeout: 248 seconds]
IPmonger has joined #commonlisp
IPmonger has quit [Remote host closed the connection]
Mandus has joined #commonlisp
thuna` has joined #commonlisp
makomo has quit [Ping timeout: 252 seconds]
makomo has joined #commonlisp
Bung has quit [Quit: Leaving]
mfiano has quit [Ping timeout: 252 seconds]
redsith has joined #commonlisp
admich has joined #commonlisp
Fare has quit [Ping timeout: 255 seconds]
mfiano has joined #commonlisp
Guest8 has joined #commonlisp
Guest8 has quit [Client Quit]
redsith has quit [Remote host closed the connection]
morganw` has joined #commonlisp
tyson2 has joined #commonlisp
morganw has quit [Ping timeout: 252 seconds]
Brucio-61 has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
igemnace has quit [Ping timeout: 252 seconds]
super_toner has quit [Quit: Leaving]
admich has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
Fare has joined #commonlisp
igemnace has joined #commonlisp
epony has quit [Ping timeout: 252 seconds]
akoana has joined #commonlisp
epony has joined #commonlisp
Brucio-61 has quit [Ping timeout: 248 seconds]
scymtym has quit [Ping timeout: 276 seconds]
Brucio-61 has joined #commonlisp
cosimone` has joined #commonlisp
cosimone has quit [Ping timeout: 252 seconds]
sm2n has quit [Ping timeout: 255 seconds]
sm2n has joined #commonlisp
redsith has joined #commonlisp
Everything has joined #commonlisp
seletz has joined #commonlisp
seletz has quit [Ping timeout: 248 seconds]
gateway2000_ has quit [Ping timeout: 250 seconds]
FareTower has joined #commonlisp
redsith` has joined #commonlisp
redsith` has quit [Remote host closed the connection]
redsith has quit [Ping timeout: 252 seconds]
aartaka has quit [Ping timeout: 252 seconds]
redsith has joined #commonlisp
aartaka has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
redsith has quit [Remote host closed the connection]
cosimone` has quit [Remote host closed the connection]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
cosimone has joined #commonlisp
pranavats has joined #commonlisp
redsith has joined #commonlisp
redsith has quit [Remote host closed the connection]
redsith has joined #commonlisp
Fare has quit [Remote host closed the connection]
Everything has quit [Quit: leaving]
Brucio-61 has quit [Remote host closed the connection]
morganw`` has joined #commonlisp
morganw` has quit [Ping timeout: 252 seconds]
Brucio-61 has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
morganw`` has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
zagura__ has joined #commonlisp
morganw has joined #commonlisp
Krystof has joined #commonlisp
rgherdt_ has quit [Remote host closed the connection]
jmdaemon has joined #commonlisp
ttree has joined #commonlisp
Guest7625 has quit [Quit: WeeChat 3.7.1]
epony has quit [Ping timeout: 252 seconds]
epony has joined #commonlisp
tyson2 has joined #commonlisp
Posterdati has quit [Read error: Connection reset by peer]
jeffrey has quit [Ping timeout: 248 seconds]
jeffrey has joined #commonlisp
zagura has quit [Quit: Meh...]
zagura__ is now known as zagura
redsith has quit [Remote host closed the connection]
Posterdati has joined #commonlisp
seletz has joined #commonlisp
bilegeek has joined #commonlisp
seletz has quit [Ping timeout: 248 seconds]
_cymew_ has joined #commonlisp
frodef has joined #commonlisp
Oladon has joined #commonlisp
FareTower has quit [Ping timeout: 255 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
pve has quit [Quit: leaving]
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
epony has quit [Ping timeout: 252 seconds]
zyni-moe has joined #commonlisp
easye has joined #commonlisp
zyni-moe has quit [Client Quit]
waleee has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #commonlisp
_cymew_ has quit [Ping timeout: 252 seconds]
jeffrey has quit [Quit: Client quit]
jeffrey has joined #commonlisp
morganw has quit [Read error: Connection reset by peer]
morganw` has joined #commonlisp
zagura has quit [Ping timeout: 252 seconds]
zagura has joined #commonlisp
Krystof has quit [Ping timeout: 252 seconds]
morganw` has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
asarch has joined #commonlisp
igemnace has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
Oladon has quit [Quit: Leaving.]
jeffrey has quit [Quit: Client quit]
thonkpod_ has quit [Ping timeout: 246 seconds]
thonkpod_ has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
random-nick has quit [Ping timeout: 248 seconds]
akoana has quit [Quit: leaving]
dstein64- has joined #commonlisp
<thuna`>
Is it possible to read a single bit?
<thuna`>
At the same time, how many bits does read-byte read? It doesn't seem to be specified in clhs
dstein64 has quit [Ping timeout: 260 seconds]
dstein64- is now known as dstein64
shka has quit [Ping timeout: 248 seconds]
<Josh_2>
I think technically it is possible but your distribution will probably just read a byte
<Josh_2>
if you try to make a stream with element-type (unsigned-byte 1) it'll read 8 bits I think
<Bike>
thuna`: it will read as many bits as there are in the stream-element-type of the stream.
<Bike>
(which may not be exactly what you asked for, as josh said)
beach` has joined #commonlisp
<thuna`>
Hm, the element-type is bit but it's still reading a byte, but maybe I need (unsigned-byte 1) instead?
<thuna`>
No, that's not it either
<Bike>
look at (stream-element-type stream)
<Bike>
your implementation probably won't let you read one bit at a time
<thuna`>
Oh, it's (unsigned-byte 8)
beach has quit [Ping timeout: 250 seconds]
<thuna`>
So then does my implementation (sbcl) not have bit streams?
seletz has joined #commonlisp
<Bike>
Probably not. I kind of doubt any implementation does. It's not supported by any file system I know of, so they'd have to work in terms of bytes and then layer bits on top ofo that.
gateway2000 has joined #commonlisp
seletz has quit [Ping timeout: 252 seconds]
bitmapper has joined #commonlisp
<Josh_2>
Which you could do yourself I suppose
<thuna`>
I could, of course. Just wanted to check if it already existed or not