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
mindCrime has quit [Ping timeout: 260 seconds]
euandreh has quit [Quit: WeeChat 3.0]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaftejiman has joined #lisp
kaftejiman has quit [Remote host closed the connection]
kaftejiman has joined #lisp
euandreh has joined #lisp
euandreh has quit [Client Quit]
euandreh has joined #lisp
euandreh has quit [Client Quit]
euandreh has joined #lisp
euandreh has quit [Client Quit]
mister_m has quit [Quit: b]
mister_m has joined #lisp
euandreh has joined #lisp
euandreh has quit [Client Quit]
euandreh has joined #lisp
euandreh has quit [Quit: WeeChat 3.0]
euandreh has joined #lisp
judson_ has joined #lisp
galex-713 has quit [Remote host closed the connection]
galex-713 has joined #lisp
quazimodo has joined #lisp
pfdietz has quit [Quit: Ping timeout (120 seconds)]
<charles`> Can someone help me understand ~/.cache/common-lisp/ ? Does that allow me to compile a system once, then next time I load it, asdf will just load the already compiled version?
<waleee-cl> charles`: yup
quazimodo has quit [Ping timeout: 272 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akoana has joined #lisp
judson_ has joined #lisp
surabax has quit [Quit: Leaving]
<charles`> So should I be able to use quicklisp to install a system, then restart lisp, then load using asdf without quicklisp or recompilation?
<aeth> That sounds right, but you could test it.
<aeth> For the most part, Quicklisp is used because it will download something if it hasn't already been download it.
<Xach> charles`: there's a catch, though
<aeth> s/hasn't already been downloaded it/hasn't already been downloaded/
<Xach> charles`: if you don't load quicklisp at all, it's possible that the directory it's found in is not known to asdf, and it won't necessarily load
<Xach> charles`: but if quicklisp is loaded, asdf will find it and load it
<charles`> I can see the compiled files in ~/.cache/common-lisp/
lucasb has quit [Quit: Connection closed for inactivity]
<charles`> Do I need to configure asdf to look at ~/.cache to find them? is ~/.cache an asdf thing or quicklisp thing. I can't find ~/.cache in asdf manual
<Xach> charles`: ~/.cache/common-lisp/ is an asdf thing.
wxie has joined #lisp
<charles`> I see, I found it
<aeth> It should be something along the lines of (uiop:merge-pathnames* #P"common-lisp/" (uiop:xdg-config-home))
<Xach> It is in the manual
<aeth> In practice, ~/.cache/common-lisp/ except on Windows
Fare has joined #lisp
<charles`> If my compiled files are in cache, why does asdf still need quicklisp to find them? It can find the main project, but can't find the systems that were pulled in by quicklisp (but are still in cache)
dbotton has joined #lisp
<aeth> charles`: My guess is Quicklisp adds some directories, like ~/quicklisp/local-projects/, that aren't default directories in ASDF.
<Xach> There's no need to guess.
<Xach> Finding systems to load, and loading their cached compiled fasls, are very distinct operations.
<Xach> If the system cannot be found, its cached fasls cannot be loaded.
<Xach> Quicklisp augments "find a system" part when it is loaded.
<charles`> so I need to keep the .asd files around even if the actual code i already compiled
<Xach> charles`: yes, but there are exceptions there too, like monofasls. that gets into some territory i don't know much about.
<Alfr> charles`, you'll likely also need to keep whole system around, e.g. sbcl will refuse to load fasls not output with the exact same build.
ech has joined #lisp
<charles`> I'm not using sbcl :)
<charles`> I'm interested in this monofasl business
mindCrime has joined #lisp
<Xach> charles`: the output is a single file you can load and your whole system is loaded.
<charles`> including, dependency systems?
<charles`> from the manual, it seems so
<Xach> that's how i understand it
<charles`> This is awsome, CL is just perfect
<Alfr> charles`, you want monolithic-compile-bundle-op I think. You can also dump a (executable) image of a loaded system, if you prefer that.
<charles`> Yes, I think so
emaczen has joined #lisp
<Alfr> s|a loaded system|loaded systems and with a custom entry point/function|
kaftejiman has quit [Remote host closed the connection]
ralt has quit [Quit: Connection closed for inactivity]
ech has quit [Ping timeout: 268 seconds]
rtypo has quit [Ping timeout: 256 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aeth_ has joined #lisp
aeth has quit [Ping timeout: 256 seconds]
aeth_ is now known as aeth
judson_ has joined #lisp
<emaczen> What is the state of OSX development with CCL?
Dizidentu has quit [K-Lined]
judson_ has quit [Client Quit]
judson_ has joined #lisp
Jeanne-Kamikaze has quit [Ping timeout: 264 seconds]
sm2n_ has joined #lisp
orivej has joined #lisp
HiRE has quit [Ping timeout: 246 seconds]
copec has quit [Ping timeout: 264 seconds]
Codaraxis_ has joined #lisp
gabot has quit [Ping timeout: 246 seconds]
eschatologist has quit [Ping timeout: 264 seconds]
pyc_ has joined #lisp
theBlackDragon has quit [Ping timeout: 246 seconds]
pyc has quit [Ping timeout: 246 seconds]
gabot has joined #lisp
rozengla` has joined #lisp
python47` has joined #lisp
snits has quit [Ping timeout: 246 seconds]
eschatologist has joined #lisp
leo_song_ has joined #lisp
perrier-jouet has quit [Ping timeout: 264 seconds]
leo_song has quit [Ping timeout: 264 seconds]
python476 has quit [Ping timeout: 264 seconds]
rozenglass has quit [Ping timeout: 264 seconds]
sm2n has quit [Ping timeout: 264 seconds]
theBlackDragon has joined #lisp
copec has joined #lisp
Codaraxis__ has quit [Ping timeout: 246 seconds]
<dbotton> What is the term used in the Lisp world for an interface in lisp for a c api? In the Ada world we call it a binding for example a binding to the win32 api.
snits has joined #lisp
<Xach> dbotton: it's also called a binding
<dbotton> Thanks
<plisp> what planet do you think we're from ;)
HiRE has joined #lisp
<dbotton> Land of lisp
<Alfr> dbotton, also called a foreign function interface, covering more than only functions though.
<dbotton> Xach what is considered the appropriate level of stability for a project to be in quickslip?
<Xach> dbotton: it should compile
<Xach> i do not reject anything on quality or maturity or stability grounds. if you want it to be part of quicklisp, and it builds, it will very likely become part of quicklisp.
<Alfr> plisp, isn't planet lisp a blog?
<Xach> there are a few exceptions but they are uncommon
<Xach> oh, it also should not be single-implementation
<Xach> and the license must permit redistribution as quicklisp does
<Xach> "in the manner" quicklisp does, that is
<dbotton> So far I am checking my clog project against ecl and sbcl
sm2n_ is now known as sm2n
<plisp> Alfr: looks like it is
<Xach> dbotton: what does clog do?
<dbotton> It is is a gui and web framework
<dbotton> You program the web in a VB style of programing
<Xach> if it's really hard for me to install prerequisite foreign libraries that can be a stumbling block
<dbotton> Everything is done with websockets
miasuji has joined #lisp
<dbotton> Only clack is needed
miasuji has quit [Remote host closed the connection]
<dbotton> Since it is a "live" connection to a browser window (or a browser control say in an Xcode project on Mac etc)
<dbotton> It replaces the need for most gui and web work frameworks
<dbotton> I have used the Ada version I wrote for years
<dbotton> For gui's to embedded systems, websites etc
<Xach> cool
<dbotton> http://office.botton.com:8080 wrote a game demo I have up for the moment - all code is LISP not html or javascript
<dbotton> That is the source
wxie has quit [Quit: wxie]
perrier-jouet has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Xach> very cool
<dbotton> Still trying to improve my lisp
<dbotton> Only three months or so now... anything you can suggest always welcome.
<dbotton> I hope the api not too far from something lispy
<dbotton> As I go I'll improve on that end as well
Dizidentu has joined #lisp
akoana has left #lisp ["Leaving"]
amerigo has quit [Quit: Connection closed for inactivity]
<dbotton> I hope to generate some hype for Common Lisp too with it
<dbotton> I really am enjoying the language and tools
Dizidentu has quit [K-Lined]
<Xach> must be cool to use something that is at least 3x more popular than ada
<Xach> (that is a joke, i do not know if it is 3x more popular.)
<dbotton> At one time (when I got in to Ada) it was more popular :)
Dizidentu has joined #lisp
<dbotton> A number of factors push Ada to just be a very very niche "product" so despite my love of the language that bought me here
<dbotton> Both are almost as old as each others and total opposites
<dbotton> Still can't figure why I never looked in to lisp
<dbotton> I've written projects in just about all else
wxie has joined #lisp
<charles`> dbottom: I'm also working on a websocket based web toolkit
judson_ has joined #lisp
<charles`> s/dbottom/dbotton/
<dbotton> Have a place to see it?
<charles`> Do you mean a demo or documentation?
<dbotton> Any of the above
<charles`> there is documentation on github: github.com/interactive-ssr
jeosol has joined #lisp
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
<dbotton> I'll take a deeper look soon
<dbotton> CLOG's goal is for you to "feel" like you are programing in Visual Basic
<charles`> we definitely have different goals
<dbotton> :)
ak5 has quit [Remote host closed the connection]
<dbotton> CLOG as a gui is also interesting for teaching
<dbotton> As it is a "parallel" gui
<dbotton> You have to learn to deal with tasking from the start etc
<dbotton> That tutorial uses mouse and touch events
wxie has quit [Quit: wxie]
mrcom has quit [Ping timeout: 265 seconds]
<charles`> interesting, what http server are you using for clack websocket-driver
<charles`> looks like hunchentoot?
<dbotton> yes
<charles`> I had trouble with that on chrome with large messages.
<dbotton> Working well in my tests so far, clog-connections is fairly decoupled, so should be easy to switch
<dbotton> Could by since the msgs I send are tiny
<dbotton> If have suggestions always open to try other things later
<charles`> Will your messages be tiny if the user wants to upload a file?
<dbotton> I would use http for that not websockets
<charles`> wise choice
<dbotton> In the Ada version I have a long-post version not using websockets at all
<dbotton> Even an automatic fall back if websockets not available
mrcom has joined #lisp
<dbotton> (Once upon a time that was the case)
ak5 has joined #lisp
sm2n_ has joined #lisp
pyc has joined #lisp
earenndil has joined #lisp
pyc_ has quit [Ping timeout: 256 seconds]
livoreno has quit [Ping timeout: 256 seconds]
moon-child has quit [Read error: Connection reset by peer]
fengshaun has quit [Read error: Connection reset by peer]
tomaw_ has quit [Read error: Connection reset by peer]
karlosz has quit [Ping timeout: 260 seconds]
fengshaun has joined #lisp
tomaw has joined #lisp
dilated_dinosaur has quit [Ping timeout: 256 seconds]
sm2n has quit [Ping timeout: 256 seconds]
dilated_dinosaur has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
euandreh has quit [Quit: WeeChat 3.0]
euandreh has joined #lisp
pfdietz has joined #lisp
notzmv has joined #lisp
asarch has joined #lisp
<dbotton> You should already with what is there in the CLOG project be able to write a Web App, use ecl to embedded in an Android app and iOS using a browser control, then use sbcl or another to take the same app and embed in an Xcode project, and MS “new” app whatever they call them this month, and a GTK app with a webkit window on Linux.
luckless_ has quit [Remote host closed the connection]
judson_ has joined #lisp
<asarch> One stupid question: how do you open a binary file with WITH-OPEN-FILE?
<asarch> :element-type '(unsigned-byte 8)?
karlosz has joined #lisp
luckless has joined #lisp
mrcom has quit [Ping timeout: 265 seconds]
dbotton has quit [Quit: Leaving]
<earenndil> yeah
earenndil is now known as moon-child
<moon-child> if you just want everything in a vector: (with-open-file (fp fn :direction :input :if-does-not-exist :error :element-type '(unsigned-byte 8)) (let ((buf (make-array (file-length fp) :element-type '(unsigned-byte 8)))) (read-sequence buf fp) buf))
<loke[m]> moon-child: What you said is correct, but the idea of using FILE-LENGTH to determine the amount of data to read is problematic.
<loke[m]> The only use of FILE-LENGTH should be for display purposes.
mrcom has joined #lisp
<asarch> Bingo! And how do you write binary data into it? WRITE? PRINT? FORMAT?
ex_nihilo has joined #lisp
<moon-child> loke[m]: what's wrong with using file-length for that purpose? And what would be better?
<pillton> asarch: write-sequence
<asarch> Thank you!
<asarch> :-)
<loke[m]> moon-child: You read until the call to READ-SEQUENCE returns an end of file status.
<loke[m]> You can use FILE-LENGTH to determine the initial size of the array, then make the array adjustable, and read until there is nothing else to read.
Alfr_ has joined #lisp
Alfr has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
<beach> Good morning everyone!
<Oladon> In case anyone has lost the unlocking devices for their automobile, I just found them in my code. :)
<Oladon> Morning, beach!
<emaczen> morning beach
<moon-child> loke[m]: oh yea fair enough
Fare has joined #lisp
Stanley00 has joined #lisp
quazimodo has quit [Ping timeout: 256 seconds]
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #lisp
emaczen has quit [Ping timeout: 240 seconds]
igemnace has quit [Ping timeout: 272 seconds]
thmprover has quit [Quit: [Exit, pursued by bear]]
<asarch> I'm doing a small web server with Caveman2 in order to send files from my cellphone to my laptop, and in the POST request, the content of the file is a type of RAW-BODY: #<CIRCULAR-STREAMS:CIRCULAR-INPUT-STREAM {1007C409E3}>, how could I send it to a WRITE-SEQUENCE?
<asarch> I cannot find the CIRCULAR-INPUT-STREAM function
quazimodo has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrcom has quit [Ping timeout: 265 seconds]
judson_ has joined #lisp
gioyik_ has quit [Quit: WeeChat 3.0]
<loke[m]> If you want to copy an input stream to an output stream, you can use UIOP:COPY-STREAM-TO-STREAM.
mrcom has joined #lisp
ak5 has quit [Quit: WeeChat 3.0]
zmv has joined #lisp
<asarch> Ok
mikecheck has quit [Ping timeout: 246 seconds]
mikecheck has joined #lisp
Codaraxis__ has joined #lisp
Codaraxis_ has quit [Ping timeout: 260 seconds]
mikecheck has quit [Ping timeout: 246 seconds]
mikecheck has joined #lisp
pillton has quit [Quit: ERC (IRC client for Emacs 27.1)]
waleee-cl has quit [Quit: Connection closed for inactivity]
quazimodo has quit [Ping timeout: 264 seconds]
sun294712564 has joined #lisp
sun294712564 has quit [Client Quit]
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
xantoz has joined #lisp
<v3ga> so are sly-stickers useful when debugging? or whats the best way to go about stepping through a function or procedure with sbcl/sly?
<charles`> you can place a sticker to "set a breakpoint" and enable break on stickers
<charles`> then it will break when it reaches your sticker without having to add (break) and recompile
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<v3ga> charles`: ahh ok, I see now. that's how they're used... ok i'll write something longer and play with it
<charles`> I really wish you could start single stepping after encountering a break, but I haven't figured that out yet
judson_ has joined #lisp
<loke[m]> charles` you can. Just press s in SLIME.
<v3ga> also with step....i'm using the gentle introduction to symbolic comp book. they're using a different lisp implementation but surrounding a function with (step ...) doesn't give the same feedback as the book.
<v3ga> thats really what I was looking for when I discovered stickers
<charles`> when, I do that it steps into some system function
<charles`> (step ... ) especially doesn't work well with event driven development
karlosz has quit [Quit: karlosz]
<v3ga> yeah i do get that much, maybe i'm misinterpreting what the book shows. i was expecting even for this small function for it to go through each bit. ah well. it's late, maybe i'm senile for the night
rixard_ has quit [Read error: Connection reset by peer]
rixard has joined #lisp
mankaev has quit [Read error: Connection reset by peer]
shka_ has joined #lisp
mankaev has joined #lisp
aeth has quit [Ping timeout: 264 seconds]
aeth has joined #lisp
j0nd0e has joined #lisp
andreyorst` has joined #lisp
andreyorst` has quit [Remote host closed the connection]
jprajzne has joined #lisp
andreyorst` has joined #lisp
cabaire has joined #lisp
cabaire has quit [Client Quit]
ralt has joined #lisp
Alfr has joined #lisp
Alfr_ has quit [Ping timeout: 260 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lowryder has quit [Ping timeout: 240 seconds]
lowryder has joined #lisp
python47` has quit [Remote host closed the connection]
frgo has quit []
frgo has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
rogersm has joined #lisp
Blukunfando has quit [Ping timeout: 265 seconds]
rogersm has quit [Quit: Leaving...]
j0nd0e` has joined #lisp
j0nd0e has quit [Ping timeout: 256 seconds]
narimiran has joined #lisp
vutral_ has joined #lisp
rgherdt_ has joined #lisp
xanderle has joined #lisp
nostoi has joined #lisp
Cymew has joined #lisp
_whitelogger has joined #lisp
Nilby has joined #lisp
random-nick has joined #lisp
nostoi has quit [Quit: Verlassend]
aartaka has joined #lisp
aartaka_d has joined #lisp
pve has joined #lisp
aartaka has quit [Ping timeout: 246 seconds]
wxie has joined #lisp
<flip214> wasn't there a way to do performance comparisons across the various implementation via some web interface? paste a few lines, get a performance table back?
<flip214> Or is that on cl.net?
heisig has joined #lisp
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 268 seconds]
anticrisis has quit [Quit: Leaving]
mrcom has quit [Ping timeout: 265 seconds]
asarch has quit [Quit: Leaving]
sauvin has joined #lisp
davd33 has joined #lisp
asarch has joined #lisp
<asarch> What is a #<VECTOR-INPUT-STREAM {10053AD8A3}>?
<edgar-rft> asarch: sounds like some sort of input-stream buffer
<loke[m]> asarch probably a custom GREY-STREAMS implementation.
<loke[m]> Probably a grey-streams implementation.
<Nilby> (documentaion 'flexi-streams:vector-input-stream 'structure) => "A binary input stream that gets its data from an associated vector of octets."
<asarch> Wow!
<asarch> Thank you!
<asarch> Thank you very much! :-)
<Nilby> You're welcome. Many things can be learned from the documentation function.
<Nilby> and apropos
liberliver has joined #lisp
<asarch> (documentaion 'flexi-streams:vector-input-stream 'structure) => ; Evaluation aborted on #<SB-INT:SIMPLE-READER-PACKAGE-ERROR "The symbol ~S is not external in the ~A package." {1004943783}>.
<asarch> :-(
<phoe> flexi-streams:vector-input-stream doesn't seem to be external
<phoe> but, (documentation 'flexi-streams::vector-input-stream 'structure) works on my machine
<Nilby> oh my bad, I did it on vectpr-stream
<Nilby> hasty with the completion results
<phoe> (documentation 'flexi-streams::vector-stream 'structure) also works on my machine
<edgar-rft> I'm seriously wondering what's faster, reading the source code or fiddle out the correct cl:documentation syntax.
<phoe> M-.
<edgar-rft> true :-)
<phoe> that's the fastest
<phoe> and the docstring is also there, unless the code contains docstrings set in another location
<Nilby> in reality I only typed: "doc vector-input-stream" , but I know y'all can't do that
<edgar-rft> wrong, we *can* type that, but it will probably not have the same effect :-)
<Nilby> true, and I even actually typed "doc M-S-,"
<Nilby> and highlighted the thing
<Nilby> if I was really doing irc in fully loaded client it should be just one keystroke
<Nilby> on genera you can mouse over anything and do all that
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
varjag has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
Oddity- has joined #lisp
<asarch> :help i-need-somebody
<asarch> :help not-just-anybody
Oddity has quit [Ping timeout: 246 seconds]
<Nilby> lyrics-apropos ?
aeth has quit [Ping timeout: 264 seconds]
<asarch> Yeah! :-)
<asarch> Well, have a nice day guys
<asarch> See you later
<asarch> (sb-ext:bed)
asarch has quit [Quit: Leaving]
aeth has joined #lisp
vutral_ has quit [Quit: Connection closed for inactivity]
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
edgar-rft has quit [Quit: Leaving]
orivej has joined #lisp
rtypo has joined #lisp
Aurora_v_kosmose has joined #lisp
mindCrime has quit [Ping timeout: 260 seconds]
surabax has joined #lisp
mindCrime has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
liberliver has quit [Ping timeout: 246 seconds]
tassleoff has joined #lisp
trocado has quit [Ping timeout: 264 seconds]
liberliver has joined #lisp
OlCe has quit [Read error: Connection reset by peer]
mindCrime has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
mindCrime has joined #lisp
j0nd0e` has quit [Ping timeout: 260 seconds]
mrios22 has joined #lisp
podge has joined #lisp
OlCe has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
Codaraxis__ has quit [Remote host closed the connection]
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #lisp
tassleoff has quit [Ping timeout: 248 seconds]
arbv has quit [Quit: ZNC - https://znc.in]
davd33 has quit [Ping timeout: 272 seconds]
mindCrime has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 260 seconds]
aartaka has joined #lisp
madage has quit [Ping timeout: 268 seconds]
aartaka_d has quit [Ping timeout: 256 seconds]
mrcom has joined #lisp
frgo has quit [Remote host closed the connection]
xificurC has joined #lisp
frgo has joined #lisp
madage has joined #lisp
zaquest has quit [Quit: Leaving]
zaquest has joined #lisp
pfdietz has quit [Quit: Connection closed]
ech has joined #lisp
rogersm has joined #lisp
ech has quit [Ping timeout: 268 seconds]
madage has quit [Ping timeout: 268 seconds]
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #lisp
madage has joined #lisp
paul0 has quit [Read error: Connection reset by peer]
notzmv` has joined #lisp
paul0 has joined #lisp
notzmv has quit [Read error: Connection reset by peer]
Dizidentu has quit [Quit: Connection closed]
v88m has joined #lisp
trocado has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
Bike has joined #lisp
mankaev has quit [Ping timeout: 256 seconds]
jeosol has quit [Quit: Connection closed]
__jrjsmrtn__ has quit [Quit: Bye !]
madnificent has quit [Quit: ZNC 1.8.2 - https://znc.in]
mankaev has joined #lisp
madnificent has joined #lisp
__jrjsmrtn__ has joined #lisp
dim has quit [Quit: ZNC - http://znc.sourceforge.net]
dim has joined #lisp
mgsk_ has quit [Quit: ZNC 1.7.0 - https://znc.in]
mgsk_ has joined #lisp
mrios22 has quit [Read error: Connection reset by peer]
fiddlerwoaroof has quit [Quit: Gone.]
fiddlerwoaroof has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 272 seconds]
rlp10 has quit [Remote host closed the connection]
rlp10 has joined #lisp
Stanley00 has quit [Remote host closed the connection]
Stanley00 has joined #lisp
Stanley00 has quit [Ping timeout: 246 seconds]
galex-713 has joined #lisp
shka_ has quit [*.net *.split]
mikecheck has quit [*.net *.split]
perrier-jouet has quit [*.net *.split]
euandreh has quit [*.net *.split]
skapata has quit [*.net *.split]
Lord_of_Life has quit [*.net *.split]
luna_is_here has quit [*.net *.split]
slyrus1 has quit [*.net *.split]
beach has quit [*.net *.split]
penguwin has quit [*.net *.split]
cg505 has quit [*.net *.split]
elflng has quit [*.net *.split]
ane has quit [*.net *.split]
[d] has quit [*.net *.split]
jackhill has quit [*.net *.split]
Xach has quit [*.net *.split]
flazh has quit [*.net *.split]
Ziemas has quit [*.net *.split]
vaporatorius__ has quit [*.net *.split]
dwts has quit [*.net *.split]
mgsk has quit [*.net *.split]
Jesin has quit [*.net *.split]
renzhi has quit [*.net *.split]
parjanya has quit [*.net *.split]
samebchase has quit [*.net *.split]
phoe6245 has quit [*.net *.split]
specbot has quit [*.net *.split]
datajerk has quit [*.net *.split]
IPmonger has quit [*.net *.split]
dieggsy has quit [*.net *.split]
matijja has quit [*.net *.split]
jasom has quit [*.net *.split]
phantomics has quit [*.net *.split]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #lisp
mrios22 has joined #lisp
wsinatra has joined #lisp
shka_ has joined #lisp
perrier-jouet has joined #lisp
[d] has joined #lisp
euandreh has joined #lisp
Xach has joined #lisp
vaporatorius__ has joined #lisp
Ziemas has joined #lisp
beach has joined #lisp
penguwin has joined #lisp
luna_is_here has joined #lisp
Lord_of_Life has joined #lisp
skapata has joined #lisp
slyrus1 has joined #lisp
cg505 has joined #lisp
elflng has joined #lisp
ane has joined #lisp
jackhill has joined #lisp
mikecheck has joined #lisp
jasom has joined #lisp
mgsk has joined #lisp
dwts has joined #lisp
renzhi has joined #lisp
Jesin has joined #lisp
parjanya has joined #lisp
samebchase has joined #lisp
phoe6245 has joined #lisp
datajerk has joined #lisp
IPmonger has joined #lisp
matijja has joined #lisp
specbot has joined #lisp
dieggsy has joined #lisp
phantomics has joined #lisp
flazh has joined #lisp
v88m has quit [Read error: Connection reset by peer]
thecoffemaker has quit [Ping timeout: 264 seconds]
v88m has joined #lisp
galex-713 has quit [Ping timeout: 260 seconds]
thecoffemaker has joined #lisp
mgsk has quit [Ping timeout: 246 seconds]
mgsk has joined #lisp
solideogloria[m] has quit [Ping timeout: 244 seconds]
arichiardi[m] has quit [Ping timeout: 240 seconds]
exit70[m] has quit [Ping timeout: 258 seconds]
ey[m]1 has quit [Ping timeout: 258 seconds]
keizerrijk[m] has quit [Ping timeout: 240 seconds]
ey[m]2 has quit [Ping timeout: 240 seconds]
jonas[m]2 has quit [Ping timeout: 240 seconds]
backinaweek[m] has quit [Ping timeout: 240 seconds]
infra_red[m] has quit [Ping timeout: 240 seconds]
chipk[m] has quit [Ping timeout: 240 seconds]
jdormit[m] has quit [Ping timeout: 240 seconds]
ThaEwat has quit [Ping timeout: 240 seconds]
dieggsy has quit [Ping timeout: 246 seconds]
ecm has quit [Ping timeout: 244 seconds]
kaisyu[m] has quit [Ping timeout: 244 seconds]
quanta[m] has quit [Ping timeout: 258 seconds]
ey[m] has quit [Ping timeout: 258 seconds]
Lolicon[m] has quit [Ping timeout: 260 seconds]
dmiles[m] has quit [Ping timeout: 258 seconds]
cairn has quit [Ping timeout: 258 seconds]
eymebolofscrumpe has quit [Ping timeout: 240 seconds]
anotherone9999[m has quit [Ping timeout: 258 seconds]
even4void[m] has quit [Ping timeout: 258 seconds]
MrtnDk[m] has quit [Ping timeout: 258 seconds]
stargazesparkle has quit [Ping timeout: 268 seconds]
deselby has quit [Ping timeout: 240 seconds]
ms[m] has quit [Ping timeout: 240 seconds]
katco has quit [Ping timeout: 240 seconds]
loke[m] has quit [Ping timeout: 258 seconds]
susam has quit [Ping timeout: 258 seconds]
Gnuxie[m] has quit [Ping timeout: 244 seconds]
galex-713 has joined #lisp
malaclyps_ has quit [Ping timeout: 244 seconds]
santiagopim[m] has quit [Ping timeout: 244 seconds]
etimmons has quit [Ping timeout: 258 seconds]
renzhi has quit [Ping timeout: 246 seconds]
dmiles[m] has joined #lisp
backinaweek[m] has joined #lisp
chipk[m] has joined #lisp
exit70[m] has joined #lisp
arichiardi[m] has joined #lisp
stargazesparkle has joined #lisp
davd33 has joined #lisp
ljavorsk has quit [Ping timeout: 240 seconds]
cairn has joined #lisp
kaftejiman has joined #lisp
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 264 seconds]
keizerrijk[m] has joined #lisp
solideogloria[m] has joined #lisp
keizerrijk[m] has quit [Ping timeout: 244 seconds]
jeosol has joined #lisp
chipk[m] has quit [Ping timeout: 240 seconds]
exit70[m] has quit [Ping timeout: 260 seconds]
arichiardi[m] has quit [Ping timeout: 240 seconds]
stargazesparkle has quit [Ping timeout: 258 seconds]
backinaweek[m] has quit [Ping timeout: 244 seconds]
dmiles[m] has quit [Ping timeout: 244 seconds]
solideogloria[m] has quit [Ping timeout: 246 seconds]
attila_lendvai has joined #lisp
dbotton has joined #lisp
galex-713_ has quit [Ping timeout: 256 seconds]
cairn has quit [Ping timeout: 258 seconds]
puchacz has joined #lisp
makomo has joined #lisp
zacts has joined #lisp
galex-713 has joined #lisp
xificurC has quit [Quit: Ping timeout (120 seconds)]
jeosol has quit [Quit: Ping timeout (120 seconds)]
jonas[m]2 has joined #lisp
ey[m]2 has joined #lisp
eymebolofscrumpe has joined #lisp
ecm has joined #lisp
kaisyu[m] has joined #lisp
ey[m]1 has joined #lisp
ey[m] has joined #lisp
Lolicon[m] has joined #lisp
infra_red[m] has joined #lisp
deselby has joined #lisp
ms[m] has joined #lisp
quanta[m] has joined #lisp
ThaEwat has joined #lisp
susam has joined #lisp
katco has joined #lisp
jdormit[m] has joined #lisp
anotherone9999[m has joined #lisp
Gnuxie[m] has joined #lisp
MrtnDk[m] has joined #lisp
malaclyps_ has joined #lisp
etimmons has joined #lisp
santiagopim[m] has joined #lisp
villanella has joined #lisp
dieggsy has joined #lisp
tassleoff has joined #lisp
galex-713 has quit [Ping timeout: 244 seconds]
galex-713 has joined #lisp
cairn has joined #lisp
solideogloria[m] has joined #lisp
even4void[m] has joined #lisp
keizerrijk[m] has joined #lisp
backinaweek[m] has joined #lisp
galex-713 has quit [Ping timeout: 256 seconds]
exit70[m] has joined #lisp
notzmv`` has joined #lisp
stargazesparkle has joined #lisp
zmv has quit [Read error: Connection reset by peer]
notzmv` has quit [Read error: Connection reset by peer]
chipk[m] has joined #lisp
arichiardi[m] has joined #lisp
VincentVega has joined #lisp
dmiles[m] has joined #lisp
galex-713 has joined #lisp
<Gnuxie[m]> ey: I think the bridge broke, but yes you can't rely on TCO if you want your code to be portable
galex-713 has quit [Ping timeout: 246 seconds]
mrcom has quit [Ping timeout: 265 seconds]
lucasb has joined #lisp
v88m has quit [Ping timeout: 272 seconds]
mrcom has joined #lisp
galex-713 has joined #lisp
galex-713 has quit [Client Quit]
galex-713 has joined #lisp
mmmattyx has joined #lisp
villanella has quit [Ping timeout: 240 seconds]
Vultyre has joined #lisp
aeth has quit [Ping timeout: 260 seconds]
zacts has quit [Quit: leaving]
aeth has joined #lisp
HDurer has quit [Ping timeout: 240 seconds]
dbotton has quit [Quit: Leaving]
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 264 seconds]
attila_lendvai has quit [Ping timeout: 240 seconds]
notzmv`` has left #lisp ["ERC (IRC client for Emacs 27.1)"]
notzmv has joined #lisp
v88m has joined #lisp
galex-713_ has quit [Ping timeout: 272 seconds]
notzmv has quit [Remote host closed the connection]
notzmv has joined #lisp
alexm_ has joined #lisp
livoreno has joined #lisp
alexm_ has quit [Client Quit]
sjl has joined #lisp
skapata has quit [Ping timeout: 246 seconds]
mrios22 has quit [Ping timeout: 256 seconds]
Fare has joined #lisp
skapata has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
<varjag> i guess this been asked before, but… is there any cl atm that runs on m1
galex-713 has joined #lisp
HDurer has joined #lisp
narimiran has quit [Quit: leaving]
narimiran has joined #lisp
narimiran has quit [Client Quit]
narimiran has joined #lisp
zacts has joined #lisp
<phoe> afaik sbcl over rosetta
<Xach> varjag: rainer joswig (@lispm) has written about it a bit on twitter
<varjag> aha… thanks
narimiran has quit [Quit: leaving]
ukari has quit [Remote host closed the connection]
narimiran has joined #lisp
ukari has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 26.3)]
<charles`> I've read that armedbear runs on m1 because jvm
ukari has quit [Remote host closed the connection]
aeth has quit [Ping timeout: 256 seconds]
ukari has joined #lisp
andreyorst` has quit [Quit: andreyorst`]
aeth has joined #lisp
<phoe> that too
<puchacz> what is m1
<sjl> the new Apple machines
<puchacz> ah, the arm ones?
<puchacz> tks
<sjl> stas' macbook got funded despite the paypall issues so presumably SBCL will eventually run there without rosetta
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 260 seconds]
villanella has joined #lisp
Lycurgus has joined #lisp
frodef` has quit [Remote host closed the connection]
sauvin_ has joined #lisp
Lycurgus has quit [Quit: Exeunt]
frodef` has joined #lisp
Yardanico has quit [Remote host closed the connection]
sauvin has quit [Ping timeout: 256 seconds]
lowryder has quit [Ping timeout: 256 seconds]
dilated_dinosaur has quit [Ping timeout: 256 seconds]
tassleoff has quit [Quit: Connection closed]
Yardanico has joined #lisp
dilated_dinosaur has joined #lisp
lowryder has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life_ is now known as Lord_of_Life
troydm has quit [Ping timeout: 272 seconds]
mmmattyx has quit [Quit: Connection closed for inactivity]
waleee-cl has joined #lisp
notzmv has quit [Ping timeout: 264 seconds]
troydm has joined #lisp
notzmv`` has joined #lisp
cage_ has joined #lisp
orivej has joined #lisp
liberliver has quit [Quit: liberliver]
troydm has quit [Ping timeout: 240 seconds]
notzmv`` has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: leaving]
notzmv``` has joined #lisp
cantstanya has quit [Remote host closed the connection]
rpg has joined #lisp
cantstanya has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
notzmv``` is now known as notzmv
notzmv has quit [Changing host]
notzmv has joined #lisp
podge has quit [Quit: Textual IRC Client: www.textualapp.com]
luni has joined #lisp
troydm has joined #lisp
Lord_of_Life has joined #lisp
dbotton has joined #lisp
Krystof has joined #lisp
n3t has joined #lisp
wsinatra has quit [Quit: WeeChat 3.0]
<n3t> Hello. I'm looking for general (i.e. not only CL) LISP-related Freenode channels. Where should I go?
<jackdaniel> n3t: ##lisp, #lispcafe
<jackdaniel> also, for specific lisps: this channel, #scheme, #racket, #clojure
<n3t> jackdaniel: thank you!
<jackdaniel> sure
<jackdaniel> also, #emacs, if you have elisp questions, however it is more editor-channel
<n3t> ack
ggoes has quit [Quit: WeeChat 2.3]
ggoes has joined #lisp
VincentVega has quit [Quit: Connection closed]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #lisp
jeosol has joined #lisp
v88m has quit [Ping timeout: 246 seconds]
hineios has joined #lisp
tassleoff has joined #lisp
v88m has joined #lisp
mrcom has quit [Read error: Connection reset by peer]
puchacz has quit [Quit: Ping timeout (120 seconds)]
tassleoff has quit [Quit: Ping timeout (120 seconds)]
jeosol has quit [Quit: Ping timeout (120 seconds)]
samlamamma has joined #lisp
puchacz has joined #lisp
jeosol has joined #lisp
<samlamamma> You can't get the direct superclasses given some class, right? Like #'compute-direct-superclasses doesn't exist in the standard
anticrisis has joined #lisp
<jackdaniel> samlamamma: how about (c2mop:class-direct-superclasses (find-class 'integer)) ;?
<jackdaniel> you don't compute them
<jackdaniel> because they are given
<jackdaniel> (also, for completness, #'c2mop:class-direct-subclasses - of course)
<samlamamma> Oh hey, cool
<jackdaniel> shush, I want warm (-15°C here)
<samlamamma> -1C here, I'm honestly disappointed
asarch has joined #lisp
Codaraxis__ has joined #lisp
samlamamma has left #lisp ["ERC (IRC client for Emacs 27.1)"]
mindCrime has joined #lisp
narimiran has quit [Read error: Connection reset by peer]
narimiran has joined #lisp
Achylles has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
edgar-rft has joined #lisp
lowryder has quit [Ping timeout: 264 seconds]
lowryder has joined #lisp
rtypo has quit [Ping timeout: 272 seconds]
rogersm has quit [Quit: Leaving...]
srandon111 has joined #lisp
Achylles has quit [Quit: Leaving]
Fare has quit [Ping timeout: 264 seconds]
zaquest has quit [Read error: Connection reset by peer]
zaquest has joined #lisp
<dbotton> Clear
<Oladon> Hrm. My build script has mysteriously stopped working.
Steeve has joined #lisp
Fare has joined #lisp
<dbotton> (Oh my I guess typed that in to wrong window :)
euandreh has quit [Quit: WeeChat 3.0]
euandreh has joined #lisp
Jesin has quit [Quit: Leaving]
<edgar-rft> that might explain the mystery
rumbler31 has joined #lisp
davd33 has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 264 seconds]
rtypo has joined #lisp
amb007 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
rumbler31 has joined #lisp
wsinatra has joined #lisp
Jesin has joined #lisp
cage_ has quit [Quit: Leaving]
<leo_song_> one of my friend tested the amd64 version of sbcl on m1, the performance is good
luni has quit [Quit: Connection closed]
ech has joined #lisp
srandon111 has quit [Ping timeout: 264 seconds]
rumbler31 has quit [Remote host closed the connection]
sauvin_ is now known as Sauvin
mindCrime has quit [Excess Flood]
mindCrime has joined #lisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #lisp
shka_ has quit [Ping timeout: 246 seconds]
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
aartaka has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
Volt_ has joined #lisp
amb007 has joined #lisp
<phoe> Xach: I'll actually ask here again to avoid offtopic
karlosz has joined #lisp
<phoe> is it feasible/possible to upgrade Quicklisp's fallback ASDF from 2.26?
dbotton_ has quit [Quit: This computer has gone to sleep]
rpg has quit [Read error: Connection reset by peer]
garf_beans has joined #lisp
<Xach> phoe: it's feasible
<Xach> phoe: i don't want to push past any implementation's bundled 3.x though.
<Xach> so whoever has the oldest 3.x will set the floor
Volt__ has joined #lisp
Volt_ has quit [Read error: Connection reset by peer]
Volt__ is now known as Volt_
<aeth> How do you update ASDF?
<phoe> load a newer one
<aeth> Quickload it?
<Xach> aeth: that's one option. (load "asdf.lisp") is another. you could mix a compile-file into there too.
<ralt> Xach: what's the reasoning behind not having anything newer than any implementation?
<aeth> This seems to keep the version the same even though it loads (if you turn silent off): (list (asdf:asdf-version) (progn (ql:quickload :asdf :silent t) (asdf:asdf-version)))
<aeth> So it's not as easy to upgrade as UIOP...
<Xach> ralt: I am not interested in pushing an implementation's version past where the implementation maintainers have chosen.
<aeth> There are a bunch of fixes from 2020 for package-local-nicknames in newer ASDF versions than most (any?) implementations seem to provide. e.g. https://github.com/fare/asdf/search?q=nickname&type=commits
<aeth> (There might be others.)
narimiran has quit [Ping timeout: 256 seconds]
hnOsmium0001 has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 246 seconds]
notzmv has quit [Ping timeout: 264 seconds]
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
<Xach> You can quickload asdf if you download asdf sources and put it someplace asdf can find it.
<phoe> I have local-projects/asdf with the version I want checked out
<aeth> So I guess if you use something fixed in 2020, you have to get everyone to upgrade ASDF, and you have to have your CI check out the ASDF repo into local-projects
v88m has quit [Ping timeout: 246 seconds]
euandreh has quit [Ping timeout: 240 seconds]
dbotton_ has joined #lisp
heisig has quit [Quit: Leaving]
dbotton_ has quit [Client Quit]
aartaka_d has quit [Ping timeout: 264 seconds]
frodef` has quit [Quit: ERC (IRC client for Emacs 26.3)]
frodef has joined #lisp
aindilis has quit [Ping timeout: 272 seconds]
judson_ has joined #lisp
zulu-inuoe has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
<Xach> Bike: does clasp include asdf?
Fare has joined #lisp
rtypo has quit [Quit: WeeChat 3.0]
theBlackDragon has quit [Ping timeout: 260 seconds]
rtypo has joined #lisp
theBlackDragon has joined #lisp
JSambrook_KJ7RDV has quit [Remote host closed the connection]
garf_beans has quit [Quit: Leaving]
<Xach> weird, ssl failure when cloning from gitlab.common-lisp.net
<Xach> (not right away, partway through cloning abcl)
Nilby has quit [Ping timeout: 272 seconds]
Vultyre has quit [Quit: Leaving]
<Xach> did not repeat
theBlackDragon has quit [Ping timeout: 272 seconds]
theBlackDragon has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wsinatra has quit [Quit: WeeChat 3.0]
judson_ has joined #lisp
puchacz has quit [Quit: Connection closed]
euandreh has joined #lisp
rumbler31 has joined #lisp
pillton has joined #lisp
rumbler31 has quit [Ping timeout: 264 seconds]
<phantomics> a question: why does entering numbers in scientific notation always yield a float? Like 10e10 returns a float when the number can be expressed as an integer. Is there a way to enter numbers in e-notation yielding ints when possible?
<aeth> You can do (round 10d10) but you'd need enough precision in the original, e.g. 10e10 (equivalent to 10f10 by default) won't give you the exact answer
<aeth> You have to write it out the long way, e.g. (* 10 (expt 10 10))
<aeth> you could write a reader macro to simplify that, though
gaqwas has quit [Ping timeout: 256 seconds]
ech has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 260 seconds]
pve has quit [Quit: leaving]
ym has quit [Ping timeout: 272 seconds]
ym has joined #lisp
<phoe> phantomics: not in the standard Lisp reader
quazimodo has joined #lisp
dvdmuckle has quit [Quit: Bouncer Surgery]
Codaraxis has joined #lisp
<phantomics> I see, thanks aeth and phoe
grobe0ba has quit [Ping timeout: 240 seconds]
<_death> phantomics: when writing numbers in scientific notation, you deal with real values.. that some of them can also be represented as integers is incidental.. if these translate to a different type, it would be inconvenient because usually a programmer's choice of whether to use floats or integers is explicit
dvdmuckle has joined #lisp
villanella has quit [Ping timeout: 260 seconds]
Codaraxis__ has quit [Ping timeout: 264 seconds]
makomo has quit [Ping timeout: 240 seconds]
v88m has joined #lisp
aindilis has joined #lisp
<Bike> Xach: it does yes
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
grobe0ba has joined #lisp
trocado has quit [Ping timeout: 260 seconds]
akoana has joined #lisp
<aeth> _death: well, I mean... 9.8e10 is an integer and 9.8e0 isn't, but it's not like you couldn't have scientific notation that results in a rational (bignum/bignum, rather than an integer) or error if it's not an integer, or have some rounding rule, or...
<tinga> I'm trying to run an existing project and it complains that ASDF package doesnt exist, so I added (load "/usr/lib/sbcl/contrib/asdf.fasl") to the init file, now it complains that package QL doesnt exist. I suspect it might be quicklisp but while (load "/usr/share/common-lisp/source/quicklisp/quicklisp.lisp") pointed me to run (quicklisp-quickstart:install), which I did, it now still complains about QL not existing.
devon has joined #lisp
<tinga> What should I be doing?
<tinga> (This is using sbcl, which is the recommended application of the project.)
<_death> aeth: 9.8e10 is not an integer in Lisp.. it is an integer in math, but some languages choose to support multiple representations for a single mathematical value..
<aeth> _death: I mean a mathematical integer. The fact that some words are overloaded with math words with separate meanings can be confusing at times. In Scheme land, they don't do that (except with vector), but then you get the confusion of 9.8 being an integer? so when you're a programmer you really want an exact-integer? instead when you want an integer... and so on.
Fare has quit [Ping timeout: 264 seconds]
<aeth> 9.8e10 results in a mathematical integer so 9.8?10 could produce an integer.
<_death> aeth: I'm not sure what you're arguing for..
<aeth> _death: Floating points aren't reals, either. FORTRAN kind of pretends they are.
<aeth> Anything that can be a float can also become a rational, as long as it's either an exact operation (like 9.8 * 10^10 is) or has a specified rounding precision.
rpg has joined #lisp
<aeth> CL has both RATIONAL and RATIONALIZE to do this, with the latter generally producing more intuitive results when working on base-2 (rather than base-10) floats.
skapata has quit [Remote host closed the connection]
<_death> all I'm saying is that it would be inconvenient if 9.8e10 is an integer while 9.81e10 is not
sjl has quit [Ping timeout: 265 seconds]
<phoe> (setf *read-default-float-format* 'rational) ;)
<aeth> _death: You said earlier that scientific notation deals with reals, which isn't true in programming.
<scymtym> while phoe is joking, SBCL actually has http://www.sbcl.org/manual/index.html#Decimal-Syntax-for-Rationals
<aeth> The only reason why stuff like the scientific notation literals, SQRT, etc., don't produce rationals is that you'd need some global or extra parameter for precision. Floats have fixed precision.
<_death> aeth: what's not true about it?
<aeth> scymtym: hah
<aeth> scymtym: looks like you can 10e10 into a rational after all
<phoe> 10r10*
<aeth> phoe: but I already followed your (setf *read-default-float-format* 'rational)
Fare has joined #lisp
<aeth> _death: mathematical real numbers (not the type CL:REAL) are infinite, whereas floating point are fixed-length. They are not reals. You can't even get all reals on a magic computer with infinite precision and infinite RAM: you can only get computable numbers.
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
<_death> (sorry, think 9.8e1 and 9.81e1)
<aeth> The main difference between a RATIONAL and a FLOAT is the way the printer treats them: 258/25 vs 10.32
<phoe> aeth: except mine doesn't work
<aeth> Well, besides rational being infinite precision
<aeth> phoe: in SBCL, it does
<aeth> I literally copied and pasted it
<phoe> ...wait a second
<aeth> (setf *read-default-float-format* 'rational) => RATIONAL
<aeth> 10.32 => 258/25
<aeth> 10e10 => 100000000000
<aeth> (float 258/25) => 10.32f0
<aeth> It works. Mostly. It still prints rationals as rationals, instead of as the default floating point type.
<_death> aeth: you can always argue yourself into a hole with infinite pedantry
<phoe> ......oh shit
<phoe> I did *not* expect this to work
<aeth> phoe: welcome to Lisp :-p
<aeth> It almost comes with a built-in CAS
<phantomics> Interesting
* phoe - a bit more enlightened today
<aeth> _death: Actually, exactly the opposite. Every other field has infinite pedantry. Mathematics is precise. The only confusing thing when applying mathematics in a computer science concept is that a lot of the terms have two meanings (like math's real numbers vs. CL:REAL)
<phantomics> In that cast, if I want to read e-numbers as either float or decimal, depending on whether the output is a whole number, I can just check if the output from nEn has a fractional part that's bigger than the float epsilon, and if it isn't I evaluate the same number as nRn
<_death> yeah, I'm gonna go now
<aeth> _death: And in this case, it actually has an application. The application is that CL:RATIONALs can be used as "exact" floating points with just a little bit of work.
<aeth> Well, more like, instead of floating points to approximate reals in a different way.
<aeth> Someone probably has already written a SQRT* that will call SQRT if a float, but keep rationals as rationals to the desired level of precision. (Note: This isn't ISQRT, which rounds down)
<aeth> phantomics: Memory's cheap so just do it twice.
<aeth> phantomics: And then choose which one to keep
rgherdt_ has quit [Ping timeout: 246 seconds]
Steeve has quit [Quit: end]
<Xach> Bike: what version?
gaqwas has quit [Ping timeout: 264 seconds]
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
exit70[m] has left #lisp ["User left"]
<devon> Looking in vain for WITH-OPEN-LZMA-FILE
kpoeck has joined #lisp
<Xach> devon: call it and then write code in the debug loop!
<kpoeck> xach: clasp ships with asdf "3.3.3.5"
hineios8 has joined #lisp
quazimodo has quit [Ping timeout: 256 seconds]
v88m has quit [Ping timeout: 256 seconds]
aeth has quit [Ping timeout: 256 seconds]
hineios has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
hineios8 is now known as hineios
orivej has joined #lisp
quazimodo has joined #lisp
aeth has joined #lisp
<Xach> kpoeck: thanks. how can i find that out for myself? i looked for things named asdf and none of them seemed to be asdf. (maybe i looked wrong)
jonatack has quit [Ping timeout: 256 seconds]
<kpoeck> In our build script it refers to the asdf version: https://github.com/clasp-developers/clasp/blob/master/wscript#L320
jonatack has joined #lisp
<kpoeck> to test I just did (require :asdf) in a clasp repl and asdf:*ASDF-VERSION*
<kpoeck> Is that what your meant?
<kpoeck> you meant
<Xach> kpoeck: thanks, i thought there might be an asdf.lisp or similar. thank you for the link to the script.
Fare has quit [Ping timeout: 260 seconds]
hiroaki has quit [Ping timeout: 272 seconds]
<kpoeck> once built there is src/lisp/modules/asdf/build/asdf.lisp
<kpoeck> well after ./waf update_dependencies