jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
damke_ has joined #lisp
DVSSA has joined #lisp
Kundry_Wag has joined #lisp
damke has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Remote host closed the connection]
rumbler31 has quit [Ping timeout: 256 seconds]
fisxoj has joined #lisp
comborico1611 has quit [Quit: Konversation terminated!]
gigetoo has joined #lisp
DVSSA has quit [Ping timeout: 276 seconds]
jdz has quit [Ping timeout: 246 seconds]
jdz has joined #lisp
vtcoo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kundry_W_ has joined #lisp
Kundry_W_ has quit [Ping timeout: 276 seconds]
vtcoo has joined #lisp
xantoz has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 276 seconds]
fouric has joined #lisp
xantoz has joined #lisp
mathZ has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
<Xach> CLISP does one thing, everything else sensible does what you'd expect on unix.
jealousmonk has joined #lisp
bms_ has joined #lisp
DVSSA has joined #lisp
bms_ has quit [Quit: Leaving]
vtcoo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DVSSA has quit [Ping timeout: 240 seconds]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
xantoz has quit [Ping timeout: 240 seconds]
dented42 has joined #lisp
xantoz has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
damke_ has quit [Ping timeout: 263 seconds]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pixel_Outlaw has joined #lisp
AxelAlex has joined #lisp
dented42 has joined #lisp
wxie has joined #lisp
Pixel_Outlaw is now known as Porta_Potty
rpg has joined #lisp
Porta_Potty is now known as Pixel_Outlaw
DVSSA has joined #lisp
fikka has joined #lisp
Kundry_Wag has joined #lisp
smokeink has quit [Remote host closed the connection]
trocado has joined #lisp
smokeink has joined #lisp
Kundry_W_ has joined #lisp
DVSSA has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
pagnol has quit [Ping timeout: 260 seconds]
EvW has quit [Ping timeout: 265 seconds]
fisxoj has quit [Quit: fisxoj]
Kundry_W_ has quit [Ping timeout: 265 seconds]
damke_ has joined #lisp
Kundry_Wag has joined #lisp
ryanbw has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 256 seconds]
damke_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
dddddd has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chens has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
DVSSA has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d4ryus1 has joined #lisp
DVSSA has quit [Ping timeout: 264 seconds]
fisxoj has joined #lisp
d4ryus has quit [Ping timeout: 240 seconds]
xantoz has quit [Ping timeout: 264 seconds]
fisxoj has quit [Client Quit]
xantoz has joined #lisp
vtcoo has joined #lisp
fisxoj has joined #lisp
damke has joined #lisp
Kundry_Wag has joined #lisp
damke_ has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
pierpa_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
dented42 has joined #lisp
dented42 has quit [Client Quit]
fikka has quit [Ping timeout: 264 seconds]
dented42 has joined #lisp
megalography has joined #lisp
damke has joined #lisp
dented42 has quit [Client Quit]
damke_ has quit [Ping timeout: 264 seconds]
karswell has quit [Read error: Connection reset by peer]
xantoz has quit [Ping timeout: 240 seconds]
DVSSA has joined #lisp
xantoz has joined #lisp
karswell has joined #lisp
orivej has joined #lisp
DVSSA has quit [Ping timeout: 260 seconds]
rpg has joined #lisp
rpg has quit [Client Quit]
shifty has quit [Ping timeout: 240 seconds]
Misha_B has quit [Ping timeout: 246 seconds]
vtcoo has quit [Read error: Connection reset by peer]
Lord_Nightmare has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
Mutex7 has quit [Remote host closed the connection]
k-hos has quit [Read error: No route to host]
Lord_Nightmare has joined #lisp
k-hos has joined #lisp
nika has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 256 seconds]
mathZ has joined #lisp
DVSSA has joined #lisp
DVSSA has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
fikka has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 264 seconds]
Pixel_Outlaw has quit [Remote host closed the connection]
BitPuffin has joined #lisp
fisxoj has quit [Quit: fisxoj]
megalography has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
marusich has joined #lisp
didi has quit [Remote host closed the connection]
deng_cn has joined #lisp
deng_cn has quit [Client Quit]
DVSSA has joined #lisp
schoppenhauer has quit [Ping timeout: 256 seconds]
DVSSA has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #lisp
megalography has joined #lisp
<drmeister> Does anyone use Python and Pandas? Does Pandas do anything with data frames that you wouldn't do in Common Lisp with a LOOP macro over an array?
<drmeister> I'm going to be talking to some people later in the week about writing some complex computational chemistry code and they had started doing it in Python with Pandas. I watched a couple of talks on Pandas and it looks like it's a bunch of C code to carry out standard operations (sum, average, stdev, whatnot) on tables of values. Stuff that one would normally do with a LOOP.
tomsen has joined #lisp
fikka has quit [Ping timeout: 246 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 263 seconds]
fikka has joined #lisp
<koenig> drmeister: Pandas can manipulate dataframes in ways that you'd think about relational database tables.
<koenig> So for example, if you have two dataframes that have a common column, you can "join" the dataframes together based on rows where the keys match.
<pierpa_> When I googled "python panda" I was expecting to have to wade through pages and pages of zoological links. Incredibly, instead the first link is the right one!
<koenig> You can also subselect dataframes into new dataframes that match only part of the data.
<koenig> For example, select all rows out of the dataframe where the value in a specified column is > 0.01 and <=0.50.
<koenig> Stuff like that. It's a reasonably useful abstraction for working with data because you can express what you want to happen with the data in a single statement rather than writing a few lines of code to step-by-step loop through code. All the looping to do the selection process happens in the (faster) C code.
DVSSA has joined #lisp
xantoz has quit [Ping timeout: 256 seconds]
xantoz has joined #lisp
DVSSA has quit [Ping timeout: 248 seconds]
vap1 has joined #lisp
vaporatorius__ has quit [Ping timeout: 240 seconds]
Bike has quit [Quit: Lost terminal]
BlueRavenGT has quit [Read error: Connection reset by peer]
zacts has joined #lisp
smokeink has quit [Remote host closed the connection]
smokeink has joined #lisp
elderK has joined #lisp
<elderK> Hey guys, I have a quick question for you:
<elderK> How often do you check types to ensure that the functions you write, are receiving the correct kinda thing?
<elderK> Or do you largely not care and just have unit tests in place to make sure your stuff works?
<elderK> I've been tinkering with Lisp on and off for several years. It was a personal thing, a long time ago, to become proficient in CL. Unfortunately, it's always been pushed back due to life :P
<elderK> So, there are tons of little questions like this lingering in my mind.
DVSSA has joined #lisp
mathrick has quit [Ping timeout: 276 seconds]
fittestbits1 has quit [Quit: Leaving.]
fittestbits has joined #lisp
<onion> elderK: "psilord | ANd, remember, in CL, a specification of a type is NOT telling the compiler to enforce that type. It is a promise from you to the compiler that you won't put anythign in there except that type :)"
megalography has quit [Ping timeout: 256 seconds]
<bjorkintosh> a promise?
<bjorkintosh> what sort of voter is CL??
DVSSA has quit [Ping timeout: 240 seconds]
dieggsy has joined #lisp
<elderK> onion: I was meaning through the use of functions such as check-type.
<onion> it might be easier to make sure to send the right kind of thing than to make sure upon reception
<pillton> elderK: I would guess that most people only specify types in order to improve performance.
<onion> active and passive strategies; or, offensive and defensive programming. balance
xantoz has quit [Ping timeout: 240 seconds]
<elderK> onion: That doesn't really answer my question :P
<elderK> Like, do you just assume that your functions will be called correctly? Or, do you have some kind of mechanism to check? That mechanism could just be unit tests you run after build instead of littering your code with check-type, etc.
<elderK> I mean, eventaully, a condition will be thrown or something if you do something that isn't supported by some type.
<elderK> (Unless, of course, as you said: You've specified types and are on your honor not to break that :P)
<onion> it will answer a lot more than just that one question js
<elderK> ?
xantoz has joined #lisp
<onion> nah listen. thats called 'defensive programming'. but kid-proofing something too much reduces its practicality
<onion> so i am saying to strike a balance between defense and offense
<onion> if you cant understand this then you dont have to worry about the question in the first place ^_^
<elderK> Offensive would fail fast if something came in that was unexpected.
<onion> taking care of the offensive means there are no unexpecting things being sent out.............
<elderK> So you're relying that whoever calls your code, doesn't send in bogus stuff.
<onion> so thats what im saying.. make sure to not send bad data . malicious programmers are super-rare btw
<drmeister> Is this a bug in cl-unicode?
<elderK> Why didn't you just say, No, generally, we don't check types :P
<drmeister> Nope - not that link - hang on.
<onion> yeah. programmers especially for lisp are generally smart enough not to do something unexpected unless purposely doing so, for ex. in testing
mathrick has joined #lisp
<drmeister> binary-props* is an accessor
<onion> idk , sorry =)
<elderK> onion: Fair enough :)
<onion> sometimes we do though, but not for those reasons
ninegrid has quit [Remote host closed the connection]
<drmeister> It's being passed an integer code-point
<elderK> onion: So, to alter the question: When is it appropriate to use functions such as check-type?
<onion> afaik type-safe CL code is generally for optimization rather than safety. generally
* elderK nods
<elderK> It's surprisingly difficult to snap out of the "typed" mindset.
<onion> yeah.. ive got that issue right now
<onion> im literally busy showing off some haskell DSL that is only type declarations
<pillton> elderK: Note that check-type is a macro.
<elderK> I've been doing a lot of C++ template stuff recently - the typeness of everything starts to get under your skin.
<elderK> Ah, I wasn't aware of that, pillton.
<elderK> There's so much to learn and so little time :( I need to spend a good chunk of time studying other CL - and working on a project as a vehicle to exercize what I learn.
Kundry_Wag has joined #lisp
orivej_ has quit [Ping timeout: 240 seconds]
pierpa_ has quit [Quit: Page closed]
<elderK> Other questions, too, like when it should you write a CFFI binding all by hand instead of using the Groveller? I've heard that some people prefer not to use the groveller as it adds a C compiler as a dependency.
<elderK> And things like, how do you merge the GC'd world of Lisp with the manual-manage world of C libraries? Do you make use of finalizers? Do you expect people to manually release the resources? Do you wrap it with a convenient macro like, with-....?
<pillton> CL isn't required to have a garbage collector.
Kundry_Wag has quit [Ping timeout: 256 seconds]
<elderK> I guess that's true. Although, to pull that off, wouldn't you need some hellasmart dataflow analysis and stuff?
fikka has quit [Ping timeout: 256 seconds]
mathZ has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
fikka has joined #lisp
<onion> CL without GC...
shka_ has joined #lisp
<elderK> There's a lot in CL that would work just fine without a GC. I mean, I've seen CL -> C compilers :P
<onion> with a GC in the runtime no doubt ?
<elderK> And like Scheme, many functions will be able to be compiled such that they require no allocations and stuff.
<onion> objective-c 2.0 is a C runtime with GC
<elderK> I'm not saying you could entirely get rid of the GC. But, there's a *lot* of stuff you could do in CL without a GC.
<elderK> onion: I'm well aware.
<onion> indubitably
<elderK> hehe
<elderK> Indubitably, Captain! :P
<onion> our local mr. aeth knows a lot of GC-averting CL tricks =)
<elderK> :D
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #lisp
DVSSA has joined #lisp
pillton has quit [Ping timeout: 248 seconds]
DataLinkDroid is now known as DataLinkDroid_
pillton has joined #lisp
dieggsy has quit [Read error: Connection reset by peer]
dieggsy has joined #lisp
DVSSA has quit [Ping timeout: 256 seconds]
wigust has joined #lisp
xantoz has quit [Ping timeout: 260 seconds]
xantoz has joined #lisp
megalography has joined #lisp
nowhereman_ has joined #lisp
sjl has joined #lisp
sauvin_ has joined #lisp
Karl_Dscc has joined #lisp
megalography has quit [Ping timeout: 248 seconds]
oleo has quit [Quit: Leaving]
asarch has joined #lisp
nowhere_man has quit [Ping timeout: 256 seconds]
<beach> Good morning everyone!
sjl has quit [Ping timeout: 260 seconds]
<elderK> Morning beach!
mishoo_ has joined #lisp
DVSSA has joined #lisp
megalography has joined #lisp
asarch has quit [Quit: Leaving]
DataLinkDroid_ is now known as DataLinkDroid
d4ryus1 is now known as d4ryus
DataLinkDroid is now known as DataLinkDroid_af
DataLinkDroid_af is now known as DataLinkDroidafk
bms_ has joined #lisp
wxie has quit [Quit: Bye.]
DVSSA has quit [Ping timeout: 246 seconds]
DataLinkDroidafk is now known as DataLinkDroid
damke has joined #lisp
pillton has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 264 seconds]
shifty has joined #lisp
flamebeard has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
wxie has joined #lisp
nowhere_man has joined #lisp
nowhereman_ has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
sauvin_ has quit [Remote host closed the connection]
Bronsa has joined #lisp
DVSSA has joined #lisp
dieggsy has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
DVSSA has quit [Ping timeout: 265 seconds]
slyrus has joined #lisp
jealousmonk has quit [Quit: Leaving]
Murii has quit [Read error: Connection reset by peer]
<Shinmera> elderK: I write C bindings by hand. I provide both a low-level package with the direct functions and structs, and a wrapper that puts everything into class instances with automatically managed memory and all.
Murii has joined #lisp
vap1 has quit [Ping timeout: 240 seconds]
shrdlu68 has joined #lisp
sauvin_ has joined #lisp
sauvin_ is now known as bocaneri
hiroaki has quit [Ping timeout: 240 seconds]
shrdlu68 has quit [Ping timeout: 256 seconds]
shrdlu68 has joined #lisp
DataLinkDroid is now known as DataLinkDroid_
fikka has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
heisig has joined #lisp
shrdlu68 has quit [Ping timeout: 264 seconds]
hiroaki has joined #lisp
varjag has joined #lisp
red-dot has quit [Read error: Connection reset by peer]
red-dot has joined #lisp
shrdlu68 has joined #lisp
DVSSA has joined #lisp
Bronsa has quit [Ping timeout: 240 seconds]
Mutex7 has joined #lisp
DVSSA has quit [Ping timeout: 240 seconds]
gilberth has joined #lisp
<gilberth> Hi there, is any body using CCL + SLIME + Cocoa and has experienced problems with SLIME suddendly quit working?
shka_ has quit [Ping timeout: 256 seconds]
JenElizabeth has quit [Ping timeout: 256 seconds]
nika has quit [Remote host closed the connection]
nika has joined #lisp
vlatkoB has joined #lisp
mishoo_ has quit [Quit: (save-lisp-and-die)]
ym has quit [Quit: Leaving]
<beach> Hello gilberth. Long time no see.
<gilberth> Hello beach.
DVSSA has joined #lisp
<beach> gilberth: I showed your video of your CLIM implementation to the people in #clim. I hope that was OK.
parjanya has quit [Ping timeout: 246 seconds]
chens has quit [Remote host closed the connection]
<gilberth> That is OK. It's my decade old idea of asynchronous update, I never was able to communicate on the original mcclim mailing list.
<beach> I wish you would hang out in #clim and help out jackdaniel with McCLIM maintenance and improvement. But I guess that's just wishful thinking. :)
<pierpa> /join clim
<pierpa> Uff
<gilberth> beach: I have my own CLIM. What I wish for is that we chould agree on the API for things, that are not in CLIM2.
DVSSA has quit [Ping timeout: 268 seconds]
<beach> Sounds good to me.
<gilberth> Also I wish for, that we separate Silica from CLIM. I have a pretty solid implementation of the Silica for Cocoa (and PDF and SVG), when we could draw a line there, jackdaniel could potentially share my Mac implementation with his CLIM implementation.
mflem has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
SAL9000_ has joined #lisp
<gilberth> Actually my dream is, that the Silica becomes the de facto standard to address a window system in Common Lisp, given CLIM or no CLIM.
<bjorkintosh> what a coincidence. I was just looking at clim-demo:demodemo
thallia has quit [Ping timeout: 260 seconds]
<beach> gilberth: That sounds like a good plan. The CLIM II specification does not separate Silica from the rest as I recall.
DataLinkDroid_ is now known as DataLinkDroid
<beach> So, we would then have to dig up some Silica spec, or just write one.
SAL9000 has quit [Remote host closed the connection]
<gilberth> beach: But we could do that. I have three domains in mind: Silica, which is just the window system and graphics (think X11), clim-asylum, which is native gadgets like a push button, and CLIM for real, which is presentation types and stuff.
<beach> gilberth: Is your Silica code available?
<gilberth> beach: I am very sorry: Not yet.
_whitelogger has joined #lisp
trocado has quit [Ping timeout: 240 seconds]
<loke> Hello gilberth
chens has joined #lisp
dddddd has joined #lisp
DVSSA has joined #lisp
thallia has joined #lisp
<jackdaniel> gilberth: happy to share some effort. right now I'm groking and cleaning backend/mirror/sheet parts of the code - it is basically the silica part
<jackdaniel> let me clarify: you think about separating silica as being abstraction layer between CLIM and the host Windowing system, do I understand correctly
<jackdaniel> ?
<beach> I should dig up some Silica documentation.
<beach> jackdaniel: I think that is correct.
marusich has quit [Ping timeout: 276 seconds]
marusich has joined #lisp
gilberth has left #lisp [#lisp]
damke_ has joined #lisp
Mutex7 has quit [Remote host closed the connection]
damke has quit [Ping timeout: 265 seconds]
thodg has quit [Ping timeout: 240 seconds]
makomo_ has joined #lisp
<elderK> Shinmera: Thanks for the info!
sword` has joined #lisp
<elderK> Shinmera: That's how I usually try to do it, too. But, so far, I lack decent understanding to do the automagical release of stuff.
sword has quit [Read error: Connection reset by peer]
<elderK> I will do some study of other bindings.
<elderK> Writing a simple binding for a library sounds like a decent way to cement knowledge of ASDF, CFFI, and basic Lisp.
<Shinmera> I don't think writing a bindings library to learn lisp is a good idea
<elderK> What would you recommend?
<bjorkintosh> elderK, how well do you know lisp?
milanj has joined #lisp
<Shinmera> Write pure lisp applications and libraries.
<bjorkintosh> there's always pcl and little schemer :-)
<Shinmera> Learning from existing lisp code.
<elderK> I know how to define classes and structures, how to define macros. I know about packages and ASDF.
<bjorkintosh> whoa! you're all set then!
<elderK> I've been using CL and Scheme on and off for years.
<elderK> I've just never done anything serious :P
<elderK> This isn't to say that I can do all of it idiomatically :P
<elderK> That's what I hope to learn :)
<elderK> There are things I'm unsure of how to implement in CL. Like, I do a lot of parsing stuff and state machines.
<elderK> I know how to do that reasonably well in C.
<elderK> But I get the feeling a giant 2D matrix representing state transitions isn't the way it's done here :P
<elderK> So, I'd like to learn how to do parsing the Lisp way.
<Shinmera> I just write 'em by hand myself.
<elderK> I'd also like to learn more about functional data structures. Like, implementing a nice referentially transparent AVL tree or something.
<bjorkintosh> elderK, you mean idomatic lisp?
<Shinmera> But there are several parser generators too.
<elderK> Yeah.
<elderK> I'd like to do it by hand rather than use a generator.
<elderK> If only to ensure I understand the theory as well as practice. Try to cement it in my brain :) Once I'm golden there, I'll use generators maybe.
<elderK> :)
<elderK> I've been studying "Practical Parsing Techniques" for awhile now and I'm itching to play with its ideas.
Kundry_Wag has joined #lisp
<elderK> I'd also like to do it several ways. Like, say, recursive descent vs. LL(1) LUT driven.
Kundry_Wag has quit [Ping timeout: 246 seconds]
hhdave has joined #lisp
_cosmonaut_ has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
terpri has quit [Ping timeout: 248 seconds]
zooey has quit [Ping timeout: 268 seconds]
zooey has joined #lisp
thallia has quit [Ping timeout: 264 seconds]
<elderK> :( Aw.
<elderK> I didn't mean to scare you all away :P
<elderK> I'd appreciate any references you feel would be useful.
<elderK> Or code you think I should study :)
Posterdati has quit [Ping timeout: 256 seconds]
thallia has joined #lisp
nika has quit [Ping timeout: 248 seconds]
<bjorkintosh> elderK, are you familiar with PAIP? https://github.com/norvig/paip-lisp
nika has joined #lisp
thallia has quit [Ping timeout: 264 seconds]
thallia has joined #lisp
tomlukeywood has joined #lisp
<elderK> bjorkintosh: I've heard of it but have never read it.
<elderK> I must also shamefully admit I have never completed SICP.
<elderK> or LiSP. Although I made good progress through SICP and LiSP.
<bjorkintosh> they're not the easiest books to read.
<elderK> :) One of the things I have been meaning to do, is do SICP and complete it this time, same with LiSP.
<bjorkintosh> PAIP is free. look at the link I posted with it.
<elderK> It's hard finding time - University takes much of it.
<elderK> Thank you, bjorkintosh.
<elderK> Oh wow! PAIP is free now?
<elderK> :D
<antoszka> Well, you won't get the dead-tree form for free :)
<elderK> :P That's fine. I'm legally blind so dead-tree isn't that useful to me anymore.
<elderK> :P Digital all the way. Zoomability FTW
<elderK> :)
energizer has quit [Ping timeout: 265 seconds]
nowhereman has joined #lisp
<elderK> Is this a good book even for those not super-concerned with AI?
nowhereman is now known as Guest92986
nowhere_man has quit [Ping timeout: 260 seconds]
<bjorkintosh> elderK, take a look at the contents and see.
_cosmonaut_ has quit [Ping timeout: 256 seconds]
<shrdlu68> elderK: Yep. The AI in that book is GOFAI stuff, not the modern ML stuff.
<elderK> GOFAI?
<bjorkintosh> good old fashioned AI
<bjorkintosh> it's more inductive. a dead end, really.
<elderK> I see compilery things in the index. SOLD! :)
<shrdlu68> Good old-fashioned AI. Herbert Simon, Allen Newell, Terry Winograd, et al. stuff.
<elderK> Well, the AI stuff might be interesting anyway. I'm currently working through a 3rd year AI paper. It's all neural networks and such.
<elderK> Might be interesting to see the other line as it were :)
sjl has joined #lisp
wxie has quit [Quit: Bye.]
<elderK> Thank you for the recommendations :)
JenElizabeth has joined #lisp
<bjorkintosh> yep. it contains lots of commonlisp code.
<bjorkintosh> lots of parsing.
<elderK> Awesome :D :)
Kundry_Wag has joined #lisp
JenElizabeth has quit [Read error: Connection reset by peer]
sjl has quit [Ping timeout: 264 seconds]
JenElizabeth has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
aoh has quit [Ping timeout: 268 seconds]
_cosmonaut_ has joined #lisp
nmajo has quit [Ping timeout: 240 seconds]
<elderK> Goodnight all :)
elderK has quit [Quit: WeeChat 1.9]
tomlukeywood has quit [Quit: tomlukeywood]
igemnace has joined #lisp
nmajo has joined #lisp
shrdlu68_ has joined #lisp
shrdlu68 has quit [Remote host closed the connection]
shrdlu68_ is now known as shrdlu68
Guest92986 has quit [Ping timeout: 246 seconds]
tomlukeywood has joined #lisp
smokeink has quit [Ping timeout: 240 seconds]
Guest92986 has joined #lisp
makomo_ has quit [Ping timeout: 246 seconds]
porky11 has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
damke has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
damke_ has quit [Ping timeout: 264 seconds]
smokeink has joined #lisp
wxie has joined #lisp
tomlukeywood has quit [Quit: tomlukeywood]
lnostdal has quit [Quit: https://quanto.ga/]
lnostdal has joined #lisp
smokeink has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 246 seconds]
m00natic has joined #lisp
mathrick has quit [Ping timeout: 264 seconds]
scottj has quit [Quit: leaving]
raynold has quit [Quit: Connection closed for inactivity]
Kundry_Wag has joined #lisp
wxie has quit [Remote host closed the connection]
fikka has joined #lisp
fluke` has joined #lisp
razzy has joined #lisp
nydel has quit [Read error: Connection reset by peer]
pillton has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
Kundry_Wag has joined #lisp
terpri has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
Bronsa has joined #lisp
sjl has joined #lisp
nika has quit [Remote host closed the connection]
nika has joined #lisp
sjl has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
chens has quit [Remote host closed the connection]
nika has quit [Ping timeout: 264 seconds]
araly has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
<araly> hello, I'm trying to get into lisp, but I don't really understand how to set up emacs with smile, would here be a place to ask ?
<araly> slime*
mepian has quit [Quit: Shutting down...]
pierpa has joined #lisp
tomsen has quit [Ping timeout: 265 seconds]
<jackdaniel> araly: check out portacle for pre-configured environment https://portacle.github.io/
<patrixl> +1 for portacle, it's how I started out too, helped me learned the basics (using Practical Common Lisp) until I was ready for more
quazimodo has quit [Ping timeout: 256 seconds]
Guest92986 has quit [Ping timeout: 268 seconds]
<araly> I'm gonna try that thanks
quazimodo has joined #lisp
markong has joined #lisp
basilc has joined #lisp
milanj has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 256 seconds]
araly has quit [Quit: leaving]
Bronsa has quit [Ping timeout: 276 seconds]
capitaomorte has joined #lisp
capitaomorte has left #lisp [#lisp]
capitaomorte has joined #lisp
pagnol has joined #lisp
ismdeep has joined #lisp
damke_ has joined #lisp
oxo1o1o1o_ has quit [Remote host closed the connection]
fikka has joined #lisp
damke has quit [Ping timeout: 263 seconds]
ismdeep has quit [Remote host closed the connection]
Bike has joined #lisp
Bike is now known as Bicyclidine
ismdeep has joined #lisp
ismdeep has quit [Remote host closed the connection]
ismdeep has joined #lisp
ismdeep has quit [Client Quit]
milanj has quit [Quit: This computer has gone to sleep]
milanj has joined #lisp
Kundry_Wag has joined #lisp
porky11 has quit [Quit: Leaving]
tomsen has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
BlueRavenGT has joined #lisp
orivej has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
EvW has joined #lisp
tomsen has quit [Quit: leaving]
milanj has quit [Quit: This computer has gone to sleep]
pierpa has quit [Ping timeout: 260 seconds]
mepian has joined #lisp
mepian has joined #lisp
mepian has quit [Changing host]
pierpa has joined #lisp
Guest92986 has joined #lisp
Bike has joined #lisp
DVSSA has quit [Ping timeout: 264 seconds]
milanj has joined #lisp
EvW has quit [Ping timeout: 265 seconds]
vap1 has joined #lisp
vaporatorius has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
sjl has joined #lisp
sjl has quit [Ping timeout: 252 seconds]
sjl has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
sjl has quit [Ping timeout: 260 seconds]
agspathis has joined #lisp
JuanDaugherty has quit [Ping timeout: 240 seconds]
DVSSA has joined #lisp
<Xach> Shinmera: is there an easy way to get a report from the results of run-package-benchmarks?
<Shinmera> I didn't write the suite system, but let me have a look...
<Xach> a benchmark:report
<Xach> ok
wxie has joined #lisp
DVSSA has quit [Ping timeout: 256 seconds]
Bronsa has joined #lisp
<Shinmera> There's no report type, as far as I'm aware.
oleo has joined #lisp
<Xach> Oh, hah. I see who contributed it.
<Xach> my new coworkers! i'll ask when they wake up...
<Shinmera> Heh
warweasle has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 246 seconds]
rumbler31 has joined #lisp
zbir has joined #lisp
damke_ has joined #lisp
kdridi has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
kdridi has quit [Read error: Connection reset by peer]
trocado has joined #lisp
kdridi has joined #lisp
Bronsa has quit [Ping timeout: 240 seconds]
DVSSA has joined #lisp
Quetzal2 has joined #lisp
agspathis has left #lisp ["ERC (IRC client for Emacs 27.0.50)"]
Kundry_Wag has quit [Remote host closed the connection]
wxie has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
krasnal has joined #lisp
jjkola has joined #lisp
<jjkola> hi
flamebeard has quit [Quit: Leaving]
fikka has quit [Ping timeout: 276 seconds]
DVSSA has quit [Ping timeout: 256 seconds]
<beach> Hello jjkola.
k-stz has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
makomo_ has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
kdridi has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
kdridi has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 263 seconds]
EvW has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
EvW has quit [Ping timeout: 252 seconds]
fluke` has quit [Remote host closed the connection]
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
fikka has joined #lisp
rippa has joined #lisp
Cymew has quit [Remote host closed the connection]
JuanDaugherty has joined #lisp
capitaomorte has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
Bronsa has joined #lisp
heisig has quit [Quit: Leaving]
DVSSA has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 276 seconds]
al-damiri has joined #lisp
Kundry_Wag has joined #lisp
tomlukeywood has joined #lisp
sellout- has joined #lisp
scymtym has quit [Ping timeout: 276 seconds]
BlueRavenGT has quit [Ping timeout: 240 seconds]
sellout-1 has quit [Ping timeout: 256 seconds]
AxelAlex has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Remote host closed the connection]
fikka has joined #lisp
mflem has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
ninegrid has joined #lisp
scymtym has joined #lisp
tomlukeywood has quit [Quit: tomlukeywood]
JuanDaugherty has quit [Quit: Ex Chat]
fikka has joined #lisp
mathrick has joined #lisp
trocado has quit [Ping timeout: 276 seconds]
AxelAlex has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 256 seconds]
damke has joined #lisp
fikka has joined #lisp
EvW has joined #lisp
damke_ has quit [Ping timeout: 265 seconds]
jmercouris has joined #lisp
<jmercouris> I'm trying to figure out why running my server works in a standalone program, but not in Slime
<jmercouris> I'm not sure where to even begin debugging this
<jmercouris> Is there a way to see where a Lisp process is stuck?
<jmercouris> I'll make a request to my server, and it will just hang on responding
DVSSA has quit [Ping timeout: 268 seconds]
<dlowe> is your server running in another thread?
<dlowe> does it use SIGIO to determine connections?
<jmercouris> that's the thing, I don't believe it is
<jmercouris> you might be wondering why I don't know that
<jmercouris> it is because it is part of another user's package
<dlowe> Using sbcl?
<jmercouris> I am using SBCL yeah
Guest92986 has quit [Ping timeout: 260 seconds]
<dlowe> (sb-thread:list-all-threads)
<jmercouris> I look at the start-standard-server function where #+sbcl is, and it just makes a socket and a handler function for that socket
<dlowe> I mean, if it's stuck in the main thread, you should be able to break into it with C-c C-c at the SLIME repl
<dlowe> and it should drop you in the debugger
<dlowe> some frameworks will handle all exceptions in a request handler, so there might be a configuration option to not do that
<jmercouris> it doesn't appear that there is a new thread started when I start the server
<jmercouris> if I look at the therad count, it is the same
<dlowe> is this server's source online?
<jmercouris> s/therad/thread
<jmercouris> yeah, the server's source is online, I am looking at it
<dlowe> could you perhaps share it with us?
holycow has joined #lisp
<jmercouris> yeah one moment please
<dlowe> a tarball, really?
<jmercouris> well, that's the only way yeah
<jmercouris> I was going to upload my fork to github, but I haven't gotten around to that yet
<jmercouris> I can do that if you like
<jmercouris> my fork only features very MINOR changes
bms_ has quit [Quit: Leaving]
marusich has quit [Quit: Leaving]
<dlowe> (I'm not blaming you)
<dlowe> *xml-rpc-debug* variable
<dlowe> When T the XML-RPC client and server part will be more verbose about their protocol
TCZ has joined #lisp
<dlowe> that seems useful in the docs
<jmercouris> yeah, I've done that
<jmercouris> it just shows the XML and stuff like that
<dlowe> huh. it uses straight bsd sockets
<jmercouris> I'll try setting it in slime and see if it even gets to the recieving part
<jmercouris> yeah the server is just setting a handler on a socket
<jmercouris> which is why I am very confused
<dlowe> try starting the server in its own thread.
<dlowe> (sb-thread:start-thread "XML-RPC" (lambda () (s-xml-rpc:start-server ...)))
<dlowe> you might have to look up the details on that call
<jmercouris> ok, I'll give that a try, one moment
_cosmonaut_ has quit [Ping timeout: 240 seconds]
<jmercouris> just for reference it is make-thread
<dlowe> it's not something I use a lot
<jmercouris> neither I, I just writing it in chat log for someone in the future
<jmercouris> still freezes even though it's in a separate thread
<jmercouris> I've got this: (sb-thread:make-thread (lambda () (s-xml-rpc:start-xml-rpc-server :port 8081)))
<jmercouris> when I say *freezes* I mean, the client recieves no response from the server and just waits perpetually
<jmercouris> my prompt is still functional
<jmercouris> let me turn on the debug as you suggested
<jmercouris> alright, so nothing happens at all when debug is turned on
<jmercouris> let me see if something happens when debug is turned on in a standalone sbcl
Kundry_Wag has joined #lisp
<jmercouris> interesting, freezing in the standalone sbcl now
<jmercouris> maybe it is because of the therading
nsrahmad has joined #lisp
<jackdaniel> dlowe: Xach: regarding possibilities to write portable reader extension – yet another approach going around this problem is putting an artificial reader on top of the actual REPL
<jackdaniel> if we can put linedit there then there is nothing hard to put an ordinary lisp function
<jackdaniel> just a thought
<dlowe> as opposed to the natural organic repl, grown from seed in only the finest metacircles?
<jackdaniel> exactly :-)
raynold has joined #lisp
<jmercouris> unbelievable, the threadin causes freezing in the standalone repl
<jmercouris> I can't even imagine how that is possible
Karl_Dscc has joined #lisp
<jackdaniel> threading causing problems? I can see where it comes from
<jackdaniel> hint: threading :-)
<dlowe> I suspect the server's event loop is causing issues
<jmercouris> I want to turn of debugging variables as well
<dlowe> jackdaniel: you're missing a lot of context.
<jmercouris> to eliminate any suspects
<jackdaniel> I know, it was a joke from my side (hoped it will be obvious)
<jmercouris> Alright, yes, the threading is definitely causing it to freeze somehow
varjag has joined #lisp
<jmercouris> maybe it doesn't like running on something that isn't the main thread
<jmercouris> because when I run it in a standalone sbcl, there is only *one* thread
<dlowe> what is swank:*communication-style*
<jmercouris> :spwan
<jmercouris> s/:spwan/:spawn
<jmercouris> I'm going to try (setf swank:*communication-style* :fd-handler)
<dlowe> hm. I see, so it uses sb-sys:add-fd-handler
<jmercouris> what does that mean? add file descriptor handler?
<jmercouris> is that what fd means in this context?
<dlowe> yeah
<dlowe> so s-xml-rpc seems to use add-fd-handler itself
<dlowe> this suggests that using :fd-handler is indeed the asnwer http://slime-devel.common-lisp.narkive.com/MOMoufl6/slime-sbcl-and-add-fd-handler
<jmercouris> is there a disadvantage to using fd-handler?
<jmercouris> will I experience other issues?
<dlowe> well, try it first
<jmercouris> well, it does work
<jmercouris> but now I don't get the standard out
<jmercouris> ah no wait, I do
<jmercouris> but with a massive delay
<dlowe> that's called buffering
<jmercouris> Right, how can I flush that to the repl so I can see it?
<jmercouris> maybe I should change this source to use threads...
<jmercouris> not right now, but in the future
<jmercouris> dlowe: thanks for helping me troubleshoot, this problem has been bothering me for like 3 weeks
<jmercouris> perhaps even longer
fikka has quit [Ping timeout: 268 seconds]
<bjorkintosh> 3 decades maybe?
hhdave has quit [Ping timeout: 256 seconds]
<jmercouris> the software is not even 2 decades old, so no, not 3 decades :)
pierpa has quit [Ping timeout: 260 seconds]
pierpa_ has joined #lisp
pierpa_ is now known as pierpa
Kundry_Wag has quit [Remote host closed the connection]
nsrahmad has quit [Quit: Leaving]
TCZ has quit [Quit: Leaving]
onion has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
shrdlu68 has quit [Ping timeout: 263 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
<Xach> Crud! No lispworks.com??
* Xach panics slightly
Kundry_Wag has joined #lisp
tomlukeywood has joined #lisp
<jackdaniel> down for me too
fikka has quit [Ping timeout: 276 seconds]
justinmcp has quit [Remote host closed the connection]
<bjorkintosh> to the wayback machine!
* Xach switches to clhs.lisp.se
<pierpa> Works for me
kdridi has quit [Remote host closed the connection]
<pierpa> Works intermittently
khisanth__ has quit [Ping timeout: 264 seconds]
<Xach> hmm
<bjorkintosh> oh the hyperspec is the reason.
fikka has joined #lisp
kotrcka has quit [Quit: leaving]
Cymew has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
justinmcp has joined #lisp
m00natic has quit [Remote host closed the connection]
<pierpa> It is not as loved as the clhs, but franz too have their version of the spec at https://franz.com/support/documentation/ansicl.94/ansicl.htm
* dlowe should go back to finishing his spec cleanup.
<bjorkintosh> perhaps the hyperspec should be a quickloadable slime extension!
<Xach> bjorkintosh: (ql:quickload "clhs")
fikka has quit [Ping timeout: 240 seconds]
<bjorkintosh> aha! so no need to panic then?!
<Xach> I prefer the website and l1sp.org (usually)
tomlukeywood has quit [Quit: tomlukeywood]
Cymew has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
jealousmonk has joined #lisp
fikka has joined #lisp
energizer has joined #lisp
khisanth__ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
LiamH has joined #lisp
ckonstanski has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
nowhere_man has joined #lisp
fikka has joined #lisp
Younder has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
parjanya has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
moei has quit [Quit: Leaving...]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_W_ has joined #lisp
nydel has joined #lisp
shka_ has joined #lisp
EvW has joined #lisp
fikka has joined #lisp
parjanya has quit [Read error: Connection reset by peer]
Younder has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
Misha_B has joined #lisp
xor-xor has joined #lisp
scymtym has quit [Ping timeout: 252 seconds]
zbir has quit [Ping timeout: 246 seconds]
<Misha_B> Is there anything in common lisp similar to python's type hints? where a parameter or return value is typed
fikka has joined #lisp
vap1 has quit [Quit: Leaving]
<_death> you can declare types in common lisp
<pierpa> Are these meant for performance, type checjing, both?
<dlowe> Misha_B: You can declare types of functions and you might get a warning when violating them. You might also get compiler optimizations.
fikka has quit [Ping timeout: 246 seconds]
<dlowe> If you want to check types, you call check-type on values.
AxelAlex has quit [Ping timeout: 256 seconds]
Kundry_W_ has quit [Remote host closed the connection]
AxelAlex has joined #lisp
fikka has joined #lisp
<beach> Misha_B: Why are you asking?
AX31_A13X has joined #lisp
xor-xor has quit [Ping timeout: 256 seconds]
AxelAlex has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
<Misha_B> I'm just curious, I think it would be good to have a option to give a requirements for using some functions, for example if a function only works with a string parameter, it would be nice to be able to say that it will only accept strings.
<beach> Misha_B: You can do that. Are you learning Common Lisp?
<Misha_B> yeah, I'm still quite new though
damke has quit [Ping timeout: 265 seconds]
<beach> clhs declare
fikka has joined #lisp
<Misha_B> thanks, although that link seems to be dead. I found a spec on clhs.lisp.se
nmajo has quit [Ping timeout: 248 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
Kundry_Wag has joined #lisp
jmercouris has quit [Ping timeout: 268 seconds]
milanj has quit [Quit: This computer has gone to sleep]
jmercouris has joined #lisp
nowhereman has joined #lisp
nowhereman is now known as Guest32161
onion has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Remote host closed the connection]
onion is now known as whoman
whoman is now known as onion
<beach> Oh, right, we were just told that the LispWorks site was down. Sorry!
dyelar has joined #lisp
fikka has joined #lisp
nowhere_man has quit [Ping timeout: 264 seconds]
python476 has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
bocaneri has quit [Remote host closed the connection]
Bronsa has quit [Ping timeout: 240 seconds]
nmajo has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
orivej has joined #lisp
peterhil has quit [Remote host closed the connection]
fikka has joined #lisp
AX31_A13X has quit [Ping timeout: 240 seconds]
peterhil has joined #lisp
peterhil has quit [Remote host closed the connection]
pierpa has joined #lisp
failproofshark has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Remote host closed the connection]
milanj has joined #lisp
jjkola has quit [Quit: Ex-Chat]
fikka has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
AxelAlex has joined #lisp
AxelAlex has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 256 seconds]
milanj has quit [Quit: This computer has gone to sleep]
fikka has joined #lisp
shka_ has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 246 seconds]
fikka has joined #lisp
<rme> I say this a lot, but remember that in standard CL, declare is a promise that you, the programmer, make to the compiler.
fikka has quit [Ping timeout: 240 seconds]
BitPuffin has quit [Remote host closed the connection]
<phoe> so if you use this function (foo x) which has (declare (string x)) inside it, with anything other than a string, the behaviour is no longer defined - unless your code is safe, AFAIR.
<phoe> Meaning that optimize safety 3 is proclaimed.
<Misha_B> ah, so declare is for optimization rather than type checks
<dlowe> sbcl will emit a warning. Sometimes. You can't rely on it, really.
<dlowe> however, the optimizer will do the right thing after a call to check-type too, which is nice.
shka_ has joined #lisp
<dlowe> I'm working on a whole-image type checker, but it's slow going.
<phoe> Misha_B: declare is a promise you make to the compiler.
DVSSA has joined #lisp
<phoe> if you would rather want the program to make a promise to the programmer, use CHECK-TYPE or ASSERT TYPEP instead.
<dlowe> Misha_B: you probably have never heard this before, but declare is a promise you make to the compiler.
fikka has joined #lisp
<phoe> geez
mingus has quit [Read error: Connection reset by peer]
<phoe> this was repeated three times now, right
<phoe> sorry
<dlowe> :D
mingus has joined #lisp
<dlowe> the perils of multiple people answering a question.
<phoe> dlowe: you mean multithreading?
<dlowe> ask not questions of the lispers, for they will tell you T, NIL, #f, 42, STANDARD-ERROR, and declare is a promise you make to the compiler.
<phoe> uh wai
<phoe> t
<phoe> what is standard-error
wigust has quit [Ping timeout: 276 seconds]
<dlowe> wrong lisp, let's say I meant SERIOUS-CONDITION
fikka has quit [Ping timeout: 264 seconds]
<phoe> (deftype silly-condition () '(and condition (not serious-condition)))
moei has joined #lisp
DVSSA has quit [Ping timeout: 276 seconds]
shka_ has quit [Ping timeout: 256 seconds]
kdridi has joined #lisp
BlueRavenGT has joined #lisp
jealousmonk has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
fikka has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
vtomole has joined #lisp
vlatkoB has quit [Remote host closed the connection]
basilc has left #lisp [#lisp]
Kundry_Wag has joined #lisp
<onion> cl-bench is good for a CL benchmark ?
fikka has quit [Ping timeout: 248 seconds]
warweasle has quit [Quit: smsi]
jealousmonk has joined #lisp
scymtym has joined #lisp
<jackdaniel> it is not bad if you are into this kind of things
<jackdaniel> best benchmark is the application you are writing
<jackdaniel> and there are two values: too slow and acceptable ,)
<jackdaniel> that said, if you find any problems with cl-bench we are open for patches
<onion> well i just want to see how my computer does with ECL vs. SBCL , but i have a feeling that SBCL can interop with C just as well as ECL
<phoe> onion: depends on what you mean by interop
<phoe> both can use CFFI to interface with dynamic libraries that use C calling convention
<onion> phoe: i want to use C for all the C things, like SDL2 and for having control over the memory and performance of certain aspects of an idea i have, then CL for the rest
<phoe> but ECL can be compiled as a module into C applications - C can call Lisp and Lisp can call C in it.
<phoe> onion: ooooh, SDL2
<jackdaniel> ECL can interface with C software at various levels
<phoe> #lispgames might be of help here, too
<Shinmera> There's already cl-sdl2
<jackdaniel> one is via DFFI (slower, using libffi), second is via dlopen and the third is by inlining calls to C functions
<jackdaniel> cl-bench won't tell you about C interop performance at all though
<stacksmith> Damnations! Does anyone have an easy fix to stop Emacs from opening restarts in random places - like a 2cm-wide pane I have set up for a file selector - and it does not resize? Sometimes emacs is just determined to show everything there no matter how many times I try!
<jackdaniel> onion: if you are interested in raw benchmark results, here aare results from my last execution: https://common-lisp.net/project/ecl/static/files/misc/benchmarks/2016-05-bench-all.html
<onion> Symbol "*INTEXP-MAXIMUM-EXPONENT*" not found in the SB-EXT package.
<dlowe> stacksmith: I seem to remember that there is, actually
<jackdaniel> stacksmith: there is no easy way to do that. I usually install clim debugger
<dlowe> haha
<jackdaniel> which opens a new window for errors
<jackdaniel> without messing my frames
<jackdaniel> in emacs
<onion> Shinmera: ive got mega problems with threading and repl with SDL[2], so i want to build my own lisp binary that starts up with SDL window already, and connect to that with slime
<dlowe> stacksmith: M-: (set-window-dedicated-p (get-buffer-window (current-buffer)))
megalography has quit [Ping timeout: 264 seconds]
<onion> jackdaniel: cool thanks for the links, digesting
<jackdaniel> stacksmith: (ql:quickload 'clim-debugger) (clim-debugger:install-debugger) ; will do
<stacksmith> I I'll give it a shot in a bit, I don't like to fuck everything at once.
<jackdaniel> for clim debugger (not as good as slime's right now, but it is OK)
<Bike> onion: intexp maximum exponent was removed, like, a while ago
<dlowe> stacksmith: do my thing and it will actually do what you asked for
<dlowe> and not some weird other thing like jackdaniel is proposing
<onion> jackdaniel: what are the colors ?
moei has quit [Read error: Connection reset by peer]
<stacksmith> dlowe: oh, thanks, I was furiously clicking and missed it!
<onion> Bike: heh i see. cl-bench is too old for me then
<Bike> oh, i see, this code still refers to intexp maximum exponent
<Bike> it should not
<jackdaniel> purple means terrible, red means bad, yellow means acceptable, green means good
<onion> hmm
moei has joined #lisp
comborico1611 has joined #lisp
<jackdaniel> dlowe: installing alternative debugger is hardly weird
<stacksmith> dlowe: my emacs does not recognize set-window-dedicated-p
<jackdaniel> for instance slime installs its own debugger to replace the one proposed by the implementation
fikka has joined #lisp
<stacksmith> jackdaniel: it's not a good time when I can't see an error message and don't want to lose hours of work....
milanj has joined #lisp
<dlowe> stacksmith: are you trying to use it via M-x?
maxz has joined #lisp
<stacksmith> yeah
<dlowe> that's not what I typed.
DVSSA has joined #lisp
tomlukeywood has joined #lisp
slyrus1 has joined #lisp
damke has joined #lisp
fikka has quit [Ping timeout: 246 seconds]
<onion> jackdaniel: ok i see. got cl-bench going here
<stacksmith> Oh, you are right. My x finger is twitchy.
damke_ has quit [Ping timeout: 264 seconds]
fittestbits has left #lisp [#lisp]
fikka has joined #lisp
<stacksmith> dlowe: it says 'Wrong number of arguments: set-window-dedicated-p, 1
Cymew has joined #lisp
sjl has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
<onion> hmm ECL much faster than SBCL on bignums
<onion> terrible on GC... much faster on CLOS/methodcalls.. hmm
tomlukeywood has quit [Quit: tomlukeywood]
<onion> sbcl is not so good with defmethod and methodcalls compared with ECL, both latest. hmm =)
<dlowe> stacksmith: add a t on the end inside the last paren
<jackdaniel> as a rule of a thumb: if you are after speed use sbcl
<jackdaniel> if you are interested in interop both ways (C <-> CL) go with ECL
<jackdaniel> that includes so builds and embedding in C app runtime
semz has joined #lisp
<dlowe> I belive uses the GNU bignum library, which has hand-optimized assembly and is hard to compete with.
<onion> jackdaniel: hmm. if i stick to CL, both options are available
dtornabene has joined #lisp
<onion> ECL being terrible with GC is probably the worst news
<jackdaniel> sure, writing portable applications is best
dyelar has quit [Quit: Leaving.]
<jackdaniel> in my experience ECL is not terrible with GC
<onion> BOEHM-GC 6.075 0.945 -- yeah i just meant in the benchmark
sjl has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 240 seconds]
<onion> as i would have my "core" data in C without GC
<jackdaniel> cl-bench tests how some singular operations perform many times
<jackdaniel> that's hardly a typical use case
<jackdaniel> that's why I said that the best benchmark is your actual application
<rme> You are already being misled by the pretty colors on the report. You have to know understand what the benchmarks are measuring.
<stacksmith> dlowe, it's not helping. I really hate Emacs. What a giant pile of doody.
<stacksmith> It's possible I made that shitty window permanent...)
<jackdaniel> for instance program like this: (defun main () (loop (sleep 1) (print "hi"))) will perform quite similar on any Lisp :)
energizer has quit [Remote host closed the connection]
<drdo> stacksmith: call tech support
<onion> jackdaniel: yeah, for sure =)
<semz> Is there a CL that's known to work (without much trouble) on musl libc? The only I found so far is ECL, which appears to have issues with SLIME.
<semz> Usually I'd go with SBCL, but cross compiling that seems... involved
<onion> rme: also true, i try to leave room for that lack of knowledge as well
<jackdaniel> what do you mean by issues with slime?
<semz> The connection often breaks for no discernible reason
<jackdaniel> ECL works fine with musl and uclibc according to what people say
<jackdaniel> as of connection: do you use up to date ECL and up to date Slime?
<jackdaniel> either way musl libc or glibc shouldn't make any difference with ECL-Slime interop
jealousmonk has quit [Quit: Leaving]
<jackdaniel> I'm off to bed, good night \o
jmercouris has quit [Ping timeout: 248 seconds]
<onion> gn
<onion> what is the best way to 'browse' all of CL? clhs, slime, or ?
SuperJen has joined #lisp
dented42 has joined #lisp
JenElizabeth has quit [Read error: Connection reset by peer]
wmannis has joined #lisp
<Xach> onion: I found reading cltl2 from start to finish was interesting and easier to read than the hyperspec
<Xach> onion: but it is important to note it is not CL, but a pre-CL
<onion> despite its name ?
<rme> Well, pre-ANSI CL at any rate.
<Xach> it is easier to read because the prose is a little more lively. i appreciate the dry prose of the spec as spec.
Mutex7 has joined #lisp
<onion> ahh, and me as well having trouble getting the 'human feel' from clhs
<onion> i've always thought it would be better if it were just code, the spec
* onion opens cltl2
<Xach> an opinion shared by a notable onion hater
<Xach> paul graham brought up the idea of arc's code being its spec, and mccarthy said "isn't it easier to understand 'inverts a matrix' than the code to invert a matrix"
<onion> hmmm =)
<comborico1611> Indeed.
Misha_B has quit [Ping timeout: 265 seconds]
<semz> jackdaniel: Updating Slime from 2.15 to 2.20 seems to have done the job somehow. I have no idea what's going on but oh well, thanks.
fikka has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
<stacksmith> I've had many ideas like that to avoid documenting code...
<onion> for a spec it would make sense to have some reference implementation stuff, like opengl, and like SICL
Naergon has joined #lisp
damke_ has joined #lisp
pootler has joined #lisp
<semz> Implementations from scratch are really valuable imo, and having a reference implementation discourages them
<semz> iirc a few oversights in CL were found that way
<onion> ah=)
<Xach> MIT loop is an example of that situation
<Xach> that is german for "WITH loop"
<onion> i wonder about a hyper-minimal CL impl
<onion> hah
<Xach> onion: there has been some discussion along those lines in the distant past
damke has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Bike> cl is pretty maximal.
<onion> CL has a lot of special forms and cases beyond the simplicity of 'just lisp' ofc
<onion> maximal? complete, all-encompassing ?
<Bike> special operators aren't the problem. that's just the evaluation semantics being a bit involved. you can do weirder shit with call/cc.
<Xach> (i wish i had an easy way to migrate off livejournal!)
<Bike> what makes "minimal" difficult is things like format.
<onion> Xach: interesting =)
<onion> Bike: and loop, and possibly clos ?
<Bike> yes.
<Shinmera> The compiler is a big thing that's easy to underestimate.
<onion> numeric tower i can see also being part of the "bigger" parts
<onion> yea, the compiler im thinking is most of a implementation
<onion> an*
<onion> which actually clears a lot of my insecurities or unsurities about fully investing 100% to CL
<Bike> honestly, the basic semantics aren't hard. you can write a dumb implementation in a page except for lambda list parsing and declare special.
megalography has joined #lisp
<Bike> not that those are unnecessary parts or anything.
<Shinmera> Bike: What about fasl semantics
<Bike> i was thinking of an evaluator. compile-file does make it more difficult, yes.
<Bike> though load time stuff is mostly a graph traversal
pierpa has quit [Ping timeout: 260 seconds]
Guest32161 has quit [Ping timeout: 248 seconds]
Guest32161 has joined #lisp
pootler has quit [Quit: Mutter: www.mutterirc.com]
pierpa has joined #lisp
vtomole has quit [Ping timeout: 260 seconds]
<rumbler31> dlow: what does M-: (set-window-dedicated-p (get-buffer-window (current-buffer))) do? emacs apropos doesn't help me here
<Shinmera> rumbler31: It makes it so that the window of your currently selected buffer won't be replaced or split.
pioneer42 has joined #lisp
Quetzal2 has quit [Read error: Connection reset by peer]
nowhere_man has joined #lisp
Guest32161 has quit [Ping timeout: 260 seconds]
<rumbler31> ah, that had been bugging me
Kundry_Wag has joined #lisp
<jeosol> Hi guys, is there a way to free resources held in CL slime session. I'm running SBCL. I have some lparallel threads with status running -- these were from some terminated jobs.
python476 has quit [Ping timeout: 268 seconds]
Kundry_Wag has quit [Ping timeout: 256 seconds]
<Bike> well, you can use sb-thread: list-all-threads and destroy-thread for dangerzone.
<jeosol> @bike: dangerzone?
<jeosol> do you mean unpredictability?
<Bike> yes. it's kind of a rough way of doing things.
<Bike> of course if the threads aren't actually doing anything it's probably fine.
<jeosol> I see the threads with first command ...
<jeosol> I run new commands and it just hangs, normally, I will quit, reload and start over again
<stacksmith> rumbler31: In my case it locked the very window I did not want because it's not resizable and about 20 characters wide, - to the task of outputting restarts and messages from slime.
Bike has quit [Ping timeout: 260 seconds]
DVSSA has quit [Ping timeout: 264 seconds]
DVSSA has joined #lisp
Tristam has quit [Ping timeout: 256 seconds]
rumbler31 has quit [Ping timeout: 240 seconds]
Karl_Dscc has quit [Remote host closed the connection]
schemer_scm has joined #lisp
k-stz has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
energizer has joined #lisp
shifty has joined #lisp
bjorkintosh has quit [Quit: Leaving]
JuanDaugherty has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
damke has joined #lisp
Tristam has joined #lisp
bjorkintosh has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
Bronsa has joined #lisp
Bicyclidine is now known as Bike
hiroaki has quit [Ping timeout: 276 seconds]
hhdave has joined #lisp
JuanDaugherty has quit [Quit: Ex Chat]
megalography has quit [Ping timeout: 264 seconds]
trocado has joined #lisp
megalography has joined #lisp
schemer_scm has quit [Quit: Leaving]
bjorkintosh has quit [Quit: Leaving]
rumbler31 has joined #lisp
hhdave has quit [Quit: hhdave]
rumbler31 has quit [Ping timeout: 265 seconds]
LiamH has quit [Quit: Leaving.]
krasnal has quit [Ping timeout: 240 seconds]
ryanbw has quit [Quit: WeeChat 2.0.1]
ryanbw has joined #lisp
DVSSA has quit [Read error: Connection reset by peer]
DVSSA has joined #lisp
maxz` has joined #lisp
maxz has quit [Ping timeout: 248 seconds]
varjag has quit [Remote host closed the connection]
varjag has joined #lisp
fisxoj has joined #lisp
varjag has quit [Remote host closed the connection]
markong has quit [Ping timeout: 245 seconds]
quazimodo has joined #lisp
pillton has quit [Remote host closed the connection]
schemer_scm has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
nowhereman has joined #lisp
nowhereman is now known as Guest10775
schemer_scm has quit [Quit: Leaving]
nowhere_man has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 264 seconds]
learning has joined #lisp
rumbler31 has joined #lisp
sjl has joined #lisp
eSVG has joined #lisp
DVSSA has quit [Ping timeout: 256 seconds]
sjl has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Ping timeout: 256 seconds]
fisxoj has quit [Quit: fisxoj]
failproofshark has quit [Quit: leaving]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]